jfjlaros / simpleRPC

Simple RPC implementation for Arduino.
MIT License
50 stars 17 forks source link

Feature/xxxx wifi101 #10

Closed chrisflesher closed 3 years ago

chrisflesher commented 3 years ago

Pull Request Details

This is the arduino side needed to support WiFi101 ethernet devices.

Breaking Changes

There are no breaking changes, this PR just adds an example .ino file. The WiFiClient class inherits from the Arduino Client class which inherits from the Stream class to provide read, write and available methods needed by the Interface class.

Other Relevant Information

This is not working fully yet, need to add matching code in the arduino-simple-rpc repo. The basic strategy there is to set the device name to be something like socket://192.168.1.151:10000 instead of /dev/ttyACM0 and then use the pyserial serial_for_url function call instead of Serial constructor. This is working in jfjlaros/arduino-simple-rpc PR #4

chrisflesher commented 3 years ago

Scrapping this PR in favor of a different one