Hi,
using the TI 15.4 stack, I'm trying to get a simple payload from the collector (in this case, Linux with CoP) to a sensor.
So far, I have modified the appC_sendToggleLedMsgToAppServer function to add extra data (changed length, and added some data to the buffer :
<Buffer 05 00 0a 0d 06 01 00 55 55>, note the extra 55 55).
Looking in the sensor function dataIndCB (sensor.c in the sensor project), in the Smsgs_cmdIds_toggleLedReq case, I don't actually see the extra 55 55 in pDataInd.
I've tried going down the stack, but can't see where the data from the radio would be inserted (or not, as in this case!).
There are lots of examples on extending sensor messages to the controller, but couldn't find anything for controller -> sensor.
To sum it up, I need some pointers on how to modify the sensor code for the led toggle example in order to read the extra payload data.
TIA