Fixup osd examples, contiki prints panid and channel on boot
This commit is contained in:
parent
3de5c47802
commit
1c8b438bca
|
@ -130,14 +130,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -126,14 +126,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -212,14 +212,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -392,14 +392,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("Starting Embedd-VM Example Server\n");
|
PRINTF("Starting Embedd-VM Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -502,14 +502,6 @@ PROCESS_THREAD(plugtest_server, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -113,14 +113,6 @@ PROCESS_THREAD(er_example_server, ev, data)
|
||||||
PROCESS_PAUSE();
|
PROCESS_PAUSE();
|
||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -81,14 +81,6 @@ PROCESS_THREAD(plugtest_server, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -688,14 +688,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
|
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -742,14 +742,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
|
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -109,14 +109,6 @@ PROCESS_THREAD(er_example_server, ev, data)
|
||||||
PROCESS_PAUSE();
|
PROCESS_PAUSE();
|
||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -81,14 +81,6 @@ PROCESS_THREAD(plugtest_server, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -688,14 +688,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
|
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -378,14 +378,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -351,14 +351,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -70,14 +70,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -403,14 +403,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -113,14 +113,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
static struct etimer loop_periodic_timer;
|
static struct etimer loop_periodic_timer;
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -946,14 +946,6 @@ PROCESS_THREAD(rest_server_example, ev, data)
|
||||||
|
|
||||||
|
|
||||||
PRINTF("Starting Erbium Example Server\n");
|
PRINTF("Starting Erbium Example Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
|
@ -502,14 +502,6 @@ PROCESS_THREAD(plugtest_server, ev, data)
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
PRINTF("ETSI IoT CoAP Plugtests Server\n");
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
PRINTF("RF channel: %u\n", RF_CHANNEL);
|
|
||||||
#endif
|
|
||||||
#ifdef IEEE802154_PANID
|
|
||||||
PRINTF("PAN ID: 0x%04X\n", IEEE802154_PANID);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
PRINTF("uIP buffer: %u\n", UIP_BUFSIZE);
|
||||||
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
PRINTF("LL header: %u\n", UIP_LLH_LEN);
|
||||||
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
PRINTF("IP+UDP header: %u\n", UIP_IPUDPH_LEN);
|
||||||
|
|
Loading…
Reference in a new issue