diff --git a/subsys/bluetooth/controller/hal/nrf5/radio.c b/subsys/bluetooth/controller/hal/nrf5/radio.c index 4489ef195e5..56552db82a3 100644 --- a/subsys/bluetooth/controller/hal/nrf5/radio.c +++ b/subsys/bluetooth/controller/hal/nrf5/radio.c @@ -554,6 +554,11 @@ u32_t radio_filter_has_match(void) return (NRF_RADIO->EVENTS_DEVMATCH != 0); } +u32_t radio_filter_match_get(void) +{ + return NRF_RADIO->DAI; +} + void radio_bc_configure(u32_t n) { NRF_RADIO->BCC = n; diff --git a/subsys/bluetooth/controller/hal/radio.h b/subsys/bluetooth/controller/hal/radio.h index bef80054b25..27bd669282b 100644 --- a/subsys/bluetooth/controller/hal/radio.h +++ b/subsys/bluetooth/controller/hal/radio.h @@ -56,6 +56,7 @@ void radio_filter_configure(u8_t bitmask_enable, u8_t bitmask_addr_type, void radio_filter_disable(void); void radio_filter_status_reset(void); u32_t radio_filter_has_match(void); +u32_t radio_filter_match_get(void); void radio_bc_configure(u32_t n); void radio_bc_status_reset(void);