On Aug 8, 2006, at 12:17 PM, Bor-rong Chen wrote:
Hi
Has anyone seen destpan field in TOSMsg being something other than
65535 (0xffff)?
From packets logged from one of our application by a modified
version of TOSBase, I'm seeing some packets with pMsg->destpan set
to various values. Many of them have 255 (0xff00), others having
rather random values such as 58082, 21967, 19936 ...
I'm running TinyOS 1.1.15 and this network has both MicaZ and
TmoteSky motes.
As far as I can tell, pMsg->destpan is only set in tos/lib/
CC2420Radio/CC2420RadioM.nc and is always set to TOS_BCAST_ADDR in
Send.send():
// destination PAN is broadcast
pMsg->destpan = TOS_BCAST_ADDR;
Ideally this value should always be TOS_BCAST_ADDR (0xffff) but for
some reason it is not the case when I try to diagnose our network
with TOSBase. Has anyone seen this before? Any idea what is causing
this?
A memory access bug that's overwriting some part of the packet?
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help