[mc1322x] [Contiki-developers] Broadcast PAN on Router solicitation

Mariano Alvira mar at devl.org
Wed Nov 18 07:34:41 EST 2009


On Wed, Nov 18, 2009 at 07:21:49AM -0500, Mariano Alvira wrote:
> On Tue, Nov 17, 2009 at 11:13:23PM -0500, Jon Smirl wrote:
> > On Tue, Nov 17, 2009 at 10:29 PM, David Kopf <dak664 at embarqmail.com> wrote:
> > 
> > There are comments several places in the code that say the PAN is FFFF
> > until the node is associated. But I can find no place in the code that
> > initializes the PAN FFFF.

...and Raven is pulling the src PAN from the radio.

cpu/avr/radio/mac/sicslowmac.c, around line 453:

  /* Set the source PAN ID to the global variable. */
  params.src_pid = ieee15_4ManagerAddress.get_src_panid();

That could be were the 0xFFFF on Raven is coming from. 

In contiki who is suppose to maintain the panid for the node: the
value in the radio or the value in mac_src_pan_id?

-Mar.




More information about the mc1322x mailing list