Added ble_radio_notification files to my project in SDK11, but they wont compile.
Added ble_radio_notification files to my project in SDK11, but they wont compile.
Most of the bugs are fixed in SDK12, but you still need to include nrf_nvic.h:
#include "nrf_nvic.h"
This is a bug in the ble_radio_notification files. Sd_nvic_ functions have been moved to nrf_nvic.h, so include this in ble_radio_notification.h.
nrf_radio_notification_distance_t is no longer defined. Change to uint8_t instead (used by sd_radio_notification_cfg_set).
Here are the fixed files:
ble_radio_notification.c
ble_radio_notification.h
This is pertinent to the radio notification tutorial, especially under SDK 11. Changing type to uint8_t was a quick fix. Thanks - RJH
This is pertinent to the radio notification tutorial, especially under SDK 11. Changing type to uint8_t was a quick fix. Thanks - RJH