Updates library tosr0x to support WIFI in addition to serial communication
Quick and dirty update that requires at least some polishing, but it works.
Tested on a module of 4 relays using serial, and on a module of 2 realays
and 1 relay (LazyBone) using WIFI
comment to indicate not sure if LazyBone supports parameter 0 to select ALL relays
Handle some error conditions for socket connections.
Change name of send_relay_command method to make it more descriptive
Handle errors when send_relay_command uses the socket
send_relay_command as critical section to enable tosr0x methods to be
called from differet threads
Implements timeouts and adds some error management for socket operations
Consolidates access to relay module through send_relay_command() method
Implemnts Minimum time between commands (otherwise Lazybone fails)
Intent to treat access to relay module (WR/RD) as an atomic operation
adjust send_relay_command() for teh case of serial
log errors during execution of send_relay_command() in the case of serial
Resolve README conflict.
Merge branch 'alexroche-master'