config panid over defines

This commit is contained in:
harald 2014-02-21 07:59:04 +01:00
parent 1f586c7735
commit 51f179eacf
2 changed files with 4 additions and 2 deletions

View file

@ -38,7 +38,8 @@
#define PLATFORM_HAS_BATTERY 1
/* Some platforms have weird includes. */
#undef IEEE802154_CONF_PANID
// #undef IEEE802154_CONF_PANID
// #define IEEE802154_CONF_PANID 0xAAAA
/* Disabling RDC for demo purposes. Core updates often require more memory. */
/* For projects, optimize memory and enable RDC again. */

View file

@ -14,7 +14,8 @@
*/
// default settings
#define CHANNEL_802_15_4 26 // default frequency (11-26)
#define IEEE802154_PANID 0xABCD // default panid
#define IEEE802154_CONF_PANID 0xABCD // default panid
// end default settings
#define CONTIKI_CONF_RANDOM_MAC 0 //adds 78 bytes