[Tinyos-help] Error and Warning while trying to get packet address

2012-08-28 Thread Modi, Jenis Ashokkumar
Hi All, I am trying to get packet address using AMPacket.source(&packet) in apps/RadioCountToLeds application. Here is my RadioCountToLeds.h code: #ifndef RADIO_COUNT_TO_LEDS_H #define RADIO_COUNT_TO_LEDS_H typedef nx_struct radio_count_msg { nx_uint16_t counter; nx_am_addr_t senderId; } rad

Re: [Tinyos-help] Error and Warning while trying to get packet address

2012-08-29 Thread Modi, Jenis Ashokkumar
Sent: Tuesday, August 28, 2012 12:53 PM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Error and Warning while trying to get packet address Hi All, I am trying to get packet address using AMPacket.source(&packet) in apps/RadioCountToLeds application. Here is my RadioCountToLed