LE Extended ADV Exported Types
- group LE_EXTENDED_ADV_Exported_Types
-
Enums
-
enum T_BLE_EXT_ADV_MGR_STATE
-
Define application ADV state, for application only have two ADV states: BLE_EXT_ADV_MGR_ADV_DISABLED or BLE_EXT_ADV_MGR_ADV_ENABLED.
Values:
-
enumerator BLE_EXT_ADV_MGR_ADV_DISABLED
-
When the API ble_ext_adv_mgr_disable is called, the application ADV state will be set to BLE_EXT_ADV_MGR_ADV_DISABLED.
-
enumerator BLE_EXT_ADV_MGR_ADV_ENABLED
-
When the API ble_ext_adv_mgr_enable is called, the application ADV state will be set to BLE_EXT_ADV_MGR_ADV_ENABLED.
-
enumerator BLE_EXT_ADV_MGR_ADV_DISABLED
-
enum T_BLE_EXT_ADV_STOP_CAUSE
-
Define the reason for ADV stop.
Values:
-
enumerator BLE_EXT_ADV_STOP_CAUSE_UNKNOWN
-
enumerator BLE_EXT_ADV_STOP_CAUSE_APP
-
enumerator BLE_EXT_ADV_STOP_CAUSE_CONN
-
enumerator BLE_EXT_ADV_STOP_CAUSE_TIMEOUT
-
enumerator BLE_EXT_ADV_STOP_CAUSE_ENABLE_FAILED
-
enumerator BLE_EXT_ADV_STOP_CAUSE_DELETE_PENDING_START_ACTION
-
enumerator BLE_EXT_ADV_STOP_CAUSE_UNKNOWN
-
struct T_BLE_EXT_ADV_STATE_CHANGE
-
Used to notify the application callback function about the change of ADV state.
Public Members
-
uint8_t adv_handle
-
T_BLE_EXT_ADV_MGR_STATE state
-
T_BLE_EXT_ADV_STOP_CAUSE stop_cause
-
uint8_t app_cause
-
APP stop cause.
-
uint8_t adv_handle
-
struct T_BLE_EXT_ADV_SET_CONN_INFO
-
union T_BLE_EXT_ADV_CB_DATA
-
The callback data of the application callback function T_BLE_EXT_ADV_STATE_CHANGE and T_BLE_EXT_ADV_SET_CONN_INFO.
Public Members
-
T_BLE_EXT_ADV_STATE_CHANGE *p_ble_state_change
-
T_BLE_EXT_ADV_SET_CONN_INFO *p_ble_conn_info
-
T_BLE_EXT_ADV_STATE_CHANGE *p_ble_state_change
-
enum T_BLE_EXT_ADV_MGR_STATE