PARAMS_PANID is now defined in contiki-conf and no longer in params.h to be able
to change framer panid
This commit is contained in:
parent
46010cbbd6
commit
86a6d88799
|
@ -99,6 +99,10 @@ typedef unsigned long off_t;
|
|||
/* Logging adds 200 bytes to program size. RS232 output slows down webserver. */
|
||||
//#define LOG_CONF_ENABLED 1
|
||||
|
||||
/* Network Panid */
|
||||
#define IEEE802154_CONF_PANID 0xABCD
|
||||
#define PARAMS_PANID IEEE802154_CONF_PANID
|
||||
|
||||
/* RADIOSTATS is used in rf230bb, clock.c and the webserver cgi to report radio usage */
|
||||
/* It has less overhead than ENERGEST */
|
||||
#define RADIOSTATS 0
|
||||
|
|
|
@ -36,7 +36,6 @@ extern uint8_t eemem_mac_address[8];
|
|||
extern uint8_t eemem_server_name[16];
|
||||
extern uint8_t eemem_domain_name[30];
|
||||
#endif
|
||||
|
||||
#ifdef SERVER_NAME
|
||||
#define PARAMS_SERVERNAME SERVER_NAME
|
||||
#else
|
||||
|
@ -57,11 +56,6 @@ extern uint8_t eemem_domain_name[30];
|
|||
#else
|
||||
#define PARAMS_CHANNEL 26
|
||||
#endif
|
||||
#ifdef IEEE802154_PANID
|
||||
#define PARAMS_PANID IEEE802154_PANID
|
||||
#else
|
||||
#define PARAMS_PANID 0xABCD
|
||||
#endif
|
||||
#ifdef IEEE802154_PANADDR
|
||||
#define PARAMS_PANADDR IEEE802154_PANADDR
|
||||
#else
|
||||
|
@ -79,7 +73,7 @@ extern uint8_t eemem_domain_name[30];
|
|||
#if UIP_CONF_LL_802154
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN}
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x01}
|
||||
#define PARAMS_EUI64ADDR {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x03}
|
||||
#define PARAMS_EUI64ADDR {0x00, 0x21, 0x2e, 0xff, 0xff, 0x00, 0x26, 0x6c}
|
||||
//#define PARAMS_EUI64ADDR {0x00, 0x21, 0x2e, 0xff, 0xff, 0x00, 0x1E, 0xFB}
|
||||
#else
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0xNN, 0xNN, 0xff, 0xfe, 0xNN, 0xNN, 0xNN}
|
||||
|
|
Loading…
Reference in a new issue