Adopt IEEE802154_DEFAULT_CHANNEL in examples that use it
This commit is contained in:
parent
d128898420
commit
d8cdc5f802
@ -107,8 +107,8 @@ PROCESS_THREAD(er_example_server, ev, data)
|
|||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
#ifdef IEEE802154_DEFAULT_CHANNEL
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
PRINTF("RF channel: %u\n", IEEE802154_DEFAULT_CHANNEL);
|
||||||
#endif
|
#endif
|
||||||
#ifdef IEEE802154_PANID
|
#ifdef IEEE802154_PANID
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
||||||
|
@ -82,8 +82,8 @@ PROCESS_THREAD(plugtest_server, ev, data)
|
|||||||
|
|
||||||
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
#ifdef IEEE802154_DEFAULT_CHANNEL
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
PRINTF("RF channel: %u\n", IEEE802154_DEFAULT_CHANNEL);
|
||||||
#endif
|
#endif
|
||||||
#ifdef IEEE802154_PANID
|
#ifdef IEEE802154_PANID
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#define PROJECT_ERBIUM_CONF_H_
|
#define PROJECT_ERBIUM_CONF_H_
|
||||||
|
|
||||||
/* Custom channel and PAN ID configuration for your project. */
|
/* Custom channel and PAN ID configuration for your project. */
|
||||||
/* #define RF_CHANNEL 26 */
|
/* #define IEEE802154_CONF_DEFAULT_CHANNEL 26 */
|
||||||
/* #define IEEE802154_CONF_PANID 0xABCD */
|
/* #define IEEE802154_CONF_PANID 0xABCD */
|
||||||
|
|
||||||
/* IP buffer size must match all other hops, in particular the border router. */
|
/* IP buffer size must match all other hops, in particular the border router. */
|
||||||
|
Loading…
Reference in New Issue
Block a user