Commit 84de9c1b authored by Hynek Syrovátka's avatar Hynek Syrovátka 🇨🇿
Browse files

* FRC command values added

* Comment text fixed
parent 7317abb4
......@@ -22,6 +22,17 @@ namespace( 'iqrf.light' );
// IQRF Standards Light PNUM value
iqrf.light.PNUM = '71';
// FRC commands
/* Const: iqrf.light.STD_LIGHT_ONOFF_FRC
FRC command to return 2-bits light On/Off state.
*/
iqrf.light.STD_LIGHT_ONOFF_FRC = 0x10;
// FRC commands
/* Const: iqrf.light.STD_LIGHT_ALARM_FRC
FRC command to return 2-bits light alarm state.
*/
iqrf.light.STD_LIGHT_ALARM_FRC = 0x11;
/* Function: iqrf.light.Enumerate_Request
Encodes DPA request to enumerate lights.
......@@ -40,7 +51,7 @@ Parameters:
response - iqrf.DpaRawHdpMessage: DPA response object.
Returns:
number: Number of implemented binary lights.
number: Number of implemented lights.
*/
iqrf.light.Enumerate_Response = function ( response )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment