request_switch/5 is an Erlang function exported by "sytela_xbee" module. This function requests particular device to change a system state. The State parameter is an atom and supports the following predefined values: •dio_5_off - to power off a switch •dio_5_on - to power on a switch •dio_7_off - to turn on-board led or connected lighting on •dio_7_on - to turn on-board led or connected lighting on |
|
|