OS Embed Indicate
Call does not work.
{
"mType": "iqrfEmbedOs_Indicate",
"data": {
"msgId": "testEmbedOs",
"req": {
"nAdr": 1,
"param": {
"control": 3
}
},
"returnVerbose": true
}
}
There is already support in JS driver:
iqrf.PNUM_OS, '8F', 0 );\r\n};\r\n\r\n// --------------\r\n/* Function: iqrf.embed.os.Indicate_Request\r\nEncodes DPA request indicate the node.\r\n\r\nParameters:\r\n control - number: Indication control bits.\r\n\r\nReturns:\r\n iqrf.DpaRawHdpMessage: DPA request object.\r\n*/\r\niqrf.embed.os.Indicate_Request = function ( control )\r\n{\r\n return new iqrf.DpaRawHdpMessage( iqrf.PNUM_OS, '07', iqrf.ToHexStringByte( control ) );\r\n};\r\n\r\n/* Function: iqrf.embed.os.Indicate_Response\r\nDecodes DPA response from indicating the node.\r\n\r\nParameters:\r\n response - iqrf.DpaRawHdpMessage: DPA response object.\r\n*/\r\niqrf.embed.os.Indicate_Response = function ( response )\r\n{\r\n iqrf.CheckResponsePnumPcmdDlen( response, iqrf.PNUM_OS, '87', 1 );\r\n};\r\n\r\n//############################################################################################\r\n", "notes": "Indicate added", "version": 2.01, "versionFlags": 0, "standardID": 2, "name": "Embed: OS"
Maybe issue with "version": 2.01?