In IEEE 802.15.4 specifications, the 0x0040 bitmask for FCF means intrapan message, i.e. to further reduce the ota packet, use same pan-id for source and destination (802.15.4 addressing field reduced to |common panid | source | dest | ).<br>
Theoretically, it should be sufficient to mask out that bit from 802.15.4 FCF and create the right addressing field. But I do not how the MACA handles and manages FCFs and packets (a lot of options are intentionally left undocumented!).<br>
<br><div class="gmail_quote">2009/11/18 David Kopf <span dir="ltr"><<a href="mailto:dak664@embarqmail.com">dak664@embarqmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Looking at those pcaps, the 13224 has an extra bit set in the frame control field, 0xc841 vs. 0xc801 for the Raven.<br>
Not sure what that bit means, but the raven has ffff ffff cdab in the header while the 13224 just has ffff ffff, no src PAN field.<br>
In the Raven I think all that is automatically handled by the radio chip.<br>
<br>
----- Original Message ----- From: "Jon Smirl" <<a href="mailto:jonsmirl@gmail.com" target="_blank">jonsmirl@gmail.com</a>><br>
To: "Contiki developer mailing list" <<a href="mailto:contiki-developers@lists.sourceforge.net" target="_blank">contiki-developers@lists.sourceforge.net</a>>; "mc1322x" <<a href="mailto:mc1322x@devl.org" target="_blank">mc1322x@devl.org</a>><br>
Sent: Tuesday, November 17, 2009 5:14 PM<br>
Subject: [Contiki-developers] Broadcast PAN on Router solicitation<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
My Raven LCD sends a RS (router solicitation) with destination PAN<br>
0xFFFF and source PAN 0xABCD.<br>
The 6lowpan data field is 30 byt<br></div><div class="im">
In attached raven pcap packet 12.<br>
Same packet in expanded for is in packet 4.<br>
This RS works.<br>
<br>
In my port to the mc13224 I can't get the RS packet right.<br>
The equivalent undecoded packet is 4.<br>
Source and destination PAN are both 0xABCD<br>
The 6lowpan data field is 32 bytes.<br>
The extra two bytes in the data field appear to be there because of<br>
the missing destination PAN.<br>
In the decoded packet (11) this two byte difference causes the unknown<br>
option to be added.<br>
<br>
I can't figure out where in the code the destination PAN gets set to<br>
0xFFFF before association. The bug is probably cause by some<br>
structure needing a __packed__ attribute on ARM7. But I haven't been<br>
able to locate where in the code the 0xFFFF is set.<br>
<br>
-- <br>
Jon Smirl<br>
<a href="mailto:jonsmirl@gmail.com" target="_blank">jonsmirl@gmail.com</a><br>
<br>
</div></blockquote>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
</blockquote>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
_______________________________________________<br>
Contiki-developers mailing list<br>
<a href="mailto:Contiki-developers@lists.sourceforge.net" target="_blank">Contiki-developers@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/contiki-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/contiki-developers</a><br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
mc1322x mailing list<br>
<a href="mailto:mc1322x@devl.org" target="_blank">mc1322x@devl.org</a><br>
<a href="http://devl.org/cgi-bin/mailman/listinfo/mc1322x" target="_blank">http://devl.org/cgi-bin/mailman/listinfo/mc1322x</a><br>
</blockquote></div><br>