[Tinyos-help] A possible bug in BaseStation application, TinyOS 2.1.0
Philip Levis
pal at cs.stanford.edu
Thu Jun 25 09:12:54 PDT 2009
On Jun 19, 2009, at 1:24 PM, Dongzhen Piao wrote:
> I'm using CC1000 radio module. Here's what I found in
> CC1000SendReceiveP.nc file:
>
> Starting from line 629 >>
>
> /* Abstract packet layout */
>
> command void Packet.clear(message_t *msg) {
> memset(msg, 0, sizeof(message_t));
> }
>
> <<
>
> So I guess this 'memset' function is clearing everything.
Sounds like a bug in the CC1000 stack. I'll try to fix it today.
Phil
More information about the Tinyos-help
mailing list