[mc1322x] Broadcast PAN on Router solicitation
Jon Smirl
jonsmirl at gmail.com
Tue Nov 17 17:14:21 EST 2009
My Raven LCD sends a RS (router solicitation) with destination PAN
0xFFFF and source PAN 0xABCD.
The 6lowpan data field is 30 bytes.
In attached raven pcap packet 12.
Same packet in expanded for is in packet 4.
This RS works.
In my port to the mc13224 I can't get the RS packet right.
The equivalent undecoded packet is 4.
Source and destination PAN are both 0xABCD
The 6lowpan data field is 32 bytes.
The extra two bytes in the data field appear to be there because of
the missing destination PAN.
In the decoded packet (11) this two byte difference causes the unknown
option to be added.
I can't figure out where in the code the destination PAN gets set to
0xFFFF before association. The bug is probably cause by some
structure needing a __packed__ attribute on ARM7. But I haven't been
able to locate where in the code the 0xFFFF is set.
--
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raven.pcap
Type: application/cap
Size: 1202 bytes
Desc: not available
URL: <http://devl.org/pipermail/mc1322x/attachments/20091117/1a300a7e/attachment.pcap>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc13224.pcap
Type: application/cap
Size: 1446 bytes
Desc: not available
URL: <http://devl.org/pipermail/mc1322x/attachments/20091117/1a300a7e/attachment-0001.pcap>
More information about the mc1322x
mailing list