The Samraksh Company |
00 : ignore the first 00
FF FF : destination address is the broadcast address.
FF FF : link source address
1A : message length
00 : group id
EF : handler id. This is the AM_RADAR_RADIO_MESSAGE id in WirelessCollect.h
1B B3 : counter.
0A DD 0B 07 : first nx_uint16_t I and Q sample, repeated for SAMPLES_PER_PKT.
typedef nx_struct radar_radio_msg {
ns_uint16_t nodeid;
nx_uint16_t counter;
nx_uint16_t sample[2*SAMPLES_PER_PKT];
} radar_radio_msg_t;
sendmsg->nodeid = TOS_NODE_ID;
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »