diff --git a/examples/cc2530dk/sniffer/stub-rdc.c b/examples/cc2530dk/sniffer/stub-rdc.c index 603552c97..063a43659 100644 --- a/examples/cc2530dk/sniffer/stub-rdc.c +++ b/examples/cc2530dk/sniffer/stub-rdc.c @@ -52,6 +52,14 @@ send(mac_callback_t sent, void *ptr) } /*---------------------------------------------------------------------------*/ static void +send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *list) +{ + if(sent) { + sent(ptr, MAC_TX_OK, 1); + } +} +/*---------------------------------------------------------------------------*/ +static void input(void) { } @@ -83,6 +91,7 @@ const struct rdc_driver stub_rdc_driver = { "stub-rdc", init, send, + send_list, input, on, off, diff --git a/examples/sensinode/energy-scan/stub-rdc.c b/examples/sensinode/energy-scan/stub-rdc.c index 605153d1b..c131d953d 100644 --- a/examples/sensinode/energy-scan/stub-rdc.c +++ b/examples/sensinode/energy-scan/stub-rdc.c @@ -52,6 +52,14 @@ send(mac_callback_t sent, void *ptr) } /*---------------------------------------------------------------------------*/ static void +send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *list) +{ + if(sent) { + sent(ptr, MAC_TX_OK, 1); + } +} +/*---------------------------------------------------------------------------*/ +static void input(void) { } @@ -83,6 +91,7 @@ const struct rdc_driver stub_rdc_driver = { "stub-rdc", init, send, + send_list, input, on, off, diff --git a/examples/sensinode/sniffer/stub-rdc.c b/examples/sensinode/sniffer/stub-rdc.c index 603552c97..063a43659 100644 --- a/examples/sensinode/sniffer/stub-rdc.c +++ b/examples/sensinode/sniffer/stub-rdc.c @@ -52,6 +52,14 @@ send(mac_callback_t sent, void *ptr) } /*---------------------------------------------------------------------------*/ static void +send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *list) +{ + if(sent) { + sent(ptr, MAC_TX_OK, 1); + } +} +/*---------------------------------------------------------------------------*/ +static void input(void) { } @@ -83,6 +91,7 @@ const struct rdc_driver stub_rdc_driver = { "stub-rdc", init, send, + send_list, input, on, off,