config panid over defines
This commit is contained in:
parent
1f586c7735
commit
51f179eacf
2 changed files with 4 additions and 2 deletions
|
@ -38,7 +38,8 @@
|
||||||
#define PLATFORM_HAS_BATTERY 1
|
#define PLATFORM_HAS_BATTERY 1
|
||||||
|
|
||||||
/* Some platforms have weird includes. */
|
/* 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. */
|
/* Disabling RDC for demo purposes. Core updates often require more memory. */
|
||||||
/* For projects, optimize memory and enable RDC again. */
|
/* For projects, optimize memory and enable RDC again. */
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
// default settings
|
// default settings
|
||||||
#define CHANNEL_802_15_4 26 // default frequency (11-26)
|
#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
|
// end default settings
|
||||||
|
|
||||||
#define CONTIKI_CONF_RANDOM_MAC 0 //adds 78 bytes
|
#define CONTIKI_CONF_RANDOM_MAC 0 //adds 78 bytes
|
||||||
|
|
Loading…
Reference in a new issue