add mote id in the payload.
@@ -155,6 +155,10 @@ void uinject_task_cb(void) {
numCellsUsed = msf_getPreviousNumCellsUsed();
pkt->payload[0] = numCellsUsed;
+ packetfunctions_reserveHeaderSize(pkt,sizeof(uint16_t));
+ pkt->payload[1] = (uint8_t)(idmanager_getMyID(ADDR_16B)->addr_16b[0]);
+ pkt->payload[0] = (uint8_t)(idmanager_getMyID(ADDR_16B)->addr_16b[1]);
+
if ((openudp_send(pkt))==E_FAIL) {
openqueue_freePacketBuffer(pkt);
} else {
