37 #ifndef AD_LISTENER_H_ 38 #define AD_LISTENER_H_ 56 #define ADL_WILDCARD_AD_TYPE 0u 58 #define ADL_WILDCARD_ADV_TYPE (ble_packet_type_t)0xFFu 60 typedef void (* ad_handler_t)(
const uint8_t * p_packet,
61 uint32_t ad_packet_length,
68 ble_packet_type_t adv_packet_type;
uint32_t ad_listener_subscribe(ad_listener_t *p_adl)
Subscribe component to the certain AD.
void ad_listener_process(ble_packet_type_t adv_type, const uint8_t *p_payload, uint32_t payload_length, const nrf_mesh_rx_metadata_t *p_metadata)
Process the incoming data from the scanner.
uint32_t ad_listener_unsubscribe(ad_listener_t *p_adl)
Unsubscribe component from the certain AD.