More specifically, an address-of operator and a typecast:
(uint8_t*)&(msg->data)
Or alternatively, the
(uint8_t *)msg + offsetof(message_t, data)
Used in CC2420PacketP.nc

BR Flemming Nyboe
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to