diff --git a/core/dev/nullradio.c b/core/dev/nullradio.c index c2b978f2b..7f17d5638 100644 --- a/core/dev/nullradio.c +++ b/core/dev/nullradio.c @@ -28,7 +28,7 @@ send(const void *payload, unsigned short payload_len) } /*---------------------------------------------------------------------------*/ static int -read(void *buf, unsigned short buf_len) +radio_read(void *buf, unsigned short buf_len) { return 0; } @@ -63,17 +63,45 @@ off(void) return 0; } /*---------------------------------------------------------------------------*/ +static radio_result_t +get_value(radio_param_t param, radio_value_t *value) +{ + return RADIO_RESULT_NOT_SUPPORTED; +} +/*---------------------------------------------------------------------------*/ +static radio_result_t +set_value(radio_param_t param, radio_value_t value) +{ + return RADIO_RESULT_NOT_SUPPORTED; +} +/*---------------------------------------------------------------------------*/ +static radio_result_t +get_object(radio_param_t param, void *dest, size_t size) +{ + return RADIO_RESULT_NOT_SUPPORTED; +} +/*---------------------------------------------------------------------------*/ +static radio_result_t +set_object(radio_param_t param, const void *src, size_t size) +{ + return RADIO_RESULT_NOT_SUPPORTED; +} +/*---------------------------------------------------------------------------*/ const struct radio_driver nullradio_driver = { init, prepare, transmit, send, - read, + radio_read, channel_clear, receiving_packet, pending_packet, on, off, + get_value, + set_value, + get_object, + set_object }; /*---------------------------------------------------------------------------*/