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

Mariano Alvira mar at devl.org
Wed Nov 18 07:21:49 EST 2009


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.

...in fact, isn't it initialized to 0xABCD?

core/net/sicslowmac.c, around line 80:

    static uint16_t mac_src_pan_id = IEEE802154_PANID;

and from core/net/frame802154.h, around line 68:

   #ifdef IEEE802154_CONF_PANID
   #define IEEE802154_PANID           IEEE802154_CONF_PANID
   #else
   #define IEEE802154_PANID           0xABCD
   #endif

-Mar.



More information about the mc1322x mailing list