Hi Inderjit,
I think that it works when you have uint8_t* p; because for some reason you
have longer message than the length of TOS_Msg. Then only when you have
defined the pointer, you have enough space.
You have a check for valid length, and you compare with this expression
MSG.length > TOSH_D
Hi,
I have a weird problem. I am running Tmote Sky with TinyOS 1.x app. I am
transmitting serial data with following function:
command result_t Comm.transmit(const COMM_Msg msg)
{
TOS_Msg tosMsg;
uint8_t* p;
//Valid msg type if sent by rfm?
if(msg.destAddr != COMM_SERIAL &&
(msg.type != COMM_MS