Merge branch 'develop' into contrib/coap-lwm2m-dtls
This commit is contained in:
commit
7d5fe004f0
@ -52,6 +52,9 @@
|
||||
/* Delay between the SFD finishes arriving and it is detected in software */
|
||||
#define RADIO_DELAY_BEFORE_DETECT 0
|
||||
|
||||
/* Disable TSCH frame filtering */
|
||||
#define TSCH_CONF_HW_FRAME_FILTERING 0
|
||||
|
||||
#define PLATFORM_HAS_LEDS 1
|
||||
#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_LIGHT 1
|
||||
|
@ -65,9 +65,11 @@ AUTOSTART_PROCESSES(&nullnet_example_process);
|
||||
void input_callback(const void *data, uint16_t len,
|
||||
const linkaddr_t *src, const linkaddr_t *dest)
|
||||
{
|
||||
LOG_INFO("Received %u from ", *(unsigned *)data);
|
||||
LOG_INFO_LLADDR(src);
|
||||
LOG_INFO_("\n");
|
||||
if(len == sizeof(unsigned)) {
|
||||
LOG_INFO("Received %u from ", *(unsigned *)data);
|
||||
LOG_INFO_LLADDR(src);
|
||||
LOG_INFO_("\n");
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS_THREAD(nullnet_example_process, ev, data)
|
||||
|
@ -67,9 +67,11 @@ AUTOSTART_PROCESSES(&nullnet_example_process);
|
||||
void input_callback(const void *data, uint16_t len,
|
||||
const linkaddr_t *src, const linkaddr_t *dest)
|
||||
{
|
||||
LOG_INFO("Received %u from ", *(unsigned *)data);
|
||||
LOG_INFO_LLADDR(src);
|
||||
LOG_INFO_("\n");
|
||||
if(len == sizeof(unsigned)) {
|
||||
LOG_INFO("Received %u from ", *(unsigned *)data);
|
||||
LOG_INFO_LLADDR(src);
|
||||
LOG_INFO_("\n");
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS_THREAD(nullnet_example_process, ev, data)
|
||||
|
Loading…
Reference in New Issue
Block a user