AIROC™ BTSDK v4.9 - Documentation | ||||
> More...
Macros | |
#define | MULTI_ADV_MAX_NUM_INSTANCES 16 |
this does not include instance 0 (regular adv). More... | |
#define | MULTI_ADV_TX_POWER_MIN 0 |
#define | MULTI_ADV_TX_POWER_MAX 4 |
#define | BTM_BLE_MULTI_ADV_SET_RANDOM_ADDR_EVT 0x04 |
Multi-advertisement application callback event. | |
Typedefs | |
typedef uint8_t | wiced_bt_ble_multi_advert_type_t |
LE advertisement type (see wiced_bt_ble_multi_advert_type_e) | |
typedef uint8_t | wiced_bt_ble_multi_advert_filtering_policy_t |
LE advertisement filtering policy (see wiced_bt_ble_multi_advert_filtering_policy_e) | |
typedef UINT8 | tBTM_BLE_MULTI_ADV_EVT |
typedef void( | tBTM_BLE_MULTI_ADV_CBACK )(tBTM_BLE_MULTI_ADV_EVT evt, UINT8 inst_id, void *p_ref, UINT8 status) |
Multi-advertisement application callback. | |
Enumerations | |
enum | wiced_bt_ble_multi_advert_start_e { MULTI_ADVERT_STOP = 0x00, MULTI_ADVERT_START = 0x01 } |
Multi-advertisement start/stop. More... | |
enum | wiced_bt_ble_multi_advert_type_e { MULTI_ADVERT_CONNECTABLE_UNDIRECT_EVENT = 0x00, MULTI_ADVERT_CONNECTABLE_DIRECT_EVENT = 0x01, MULTI_ADVERT_DISCOVERABLE_EVENT = 0x02, MULTI_ADVERT_NONCONNECTABLE_EVENT = 0x03, MULTI_ADVERT_LOW_DUTY_CYCLE_DIRECT_EVENT = 0x04 } |
Multi-advertisement type. | |
enum | wiced_bt_ble_multi_advert_filtering_policy_e { MULTI_ADVERT_FILTER_POLICY_FILTER_ACCEPT_LIST_NOT_USED = 0x00, MULTI_ADVERT_FILTER_ACCEPT_LIST_POLICY_ADV_ALLOW_UNKNOWN_CONNECTION = 0x01, MULTI_ADVERT_FILTER_ACCEPT_LIST_POLICY_ADV_ALLOW_UNKNOWN_SCANNING = 0x02, MULTI_ADVERT_FILTER_POLICY_FILTER_ACCEPT_LIST_USED_FOR_ALL = 0x03 } |
Multi-advertisement Filtering policy. | |
Functions | |
wiced_result_t | wiced_start_multi_advertisements (uint8_t advertising_enable, uint8_t adv_instance) |
Enable or disable advertisements of a specific instance. More... | |
wiced_result_t | wiced_set_multi_advertisement_params (uint16_t advertising_interval_min, uint16_t advertising_interval_max, wiced_bt_ble_multi_advert_type_t advertising_type, wiced_bt_ble_address_type_t own_address_type, wiced_bt_device_address_t ownAddr, wiced_bt_ble_address_type_t peerAddrType, wiced_bt_device_address_t peerAddr, wiced_bt_ble_advert_chnl_map_t advertising_channel_map, wiced_bt_ble_multi_advert_filtering_policy_t advertising_filter_policy, uint8_t adv_instance, int8_t transmit_power) |
Sets the advertising parameters of a specific advertising instance. More... | |
wiced_result_t | wiced_set_multi_advertisement_data (uint8_t *p_data, uint8_t data_len, uint8_t adv_instance) |
Refer to wiced_bt_ble_set_raw_advertisement_data. More... | |
void | wiced_set_multi_advertisement_app_cback (tBTM_BLE_MULTI_ADV_CBACK *p_app_cback) |
Registers a application callback with the wiced_multi_adv_utils_lib library. More... | |
void | wiced_set_multi_advertisement_rpa_timeout (UINT8 inst_id, UINT16 timeout) |
Sets the rpa refresh timeout for the given adv instance id used in the wiced_multi_adv_utils_lib library. More... | |
void | wiced_multi_adv_init (void) |
Initializes the multi adv control block used in the wiced_multi_adv_utils_lib library. More... | |
wiced_result_t | wiced_set_multi_advertisement_scan_response_data (uint8_t *p_data, uint8_t data_len, uint8_t adv_instance) |
wiced_bool_t | wiced_bt_notify_multi_advertisement_packet_transmissions (uint8_t adv_instance, void(*clientCallback)(uint32_t), uint32_t advanceNoticeInMicroSeconds) |
>
Definitions for multi advertisemnt APIs. If require Random Address support, must include optional prebuilt wiced_multi_adv_utils_lib library, otherwise can use function defintions provided in beacon_lib component.