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
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 ArduinoClient
class which inherits from theStream
class to provideread
,write
andavailable
methods needed by theInterface
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 likesocket://192.168.1.151:10000
instead of/dev/ttyACM0
and then use the pyserialserial_for_url
function call instead ofSerial
constructor. This is working injfjlaros/arduino-simple-rpc
PR #4