AIROC™ BTSDK v4.6 - Documentation | ||||
Data Structures | |
struct | wiced_bt_dev_enabled_t |
Device enabled (used by BTM_ENABLED_EVT) More... | |
struct | wiced_bt_dev_disabled_t |
Device disabled (used by BTM_DISABLED_EVT) More... | |
struct | wiced_bt_dev_vendor_specific_command_complete_params_t |
Structure returned with Vendor Specific Command complete callback. More... | |
struct | wiced_bt_dev_rssi_result_t |
RSSI Result (in response to wiced_bt_dev_read_rssi) More... | |
struct | wiced_bt_tx_power_result_t |
TX Power Result (in response to wiced_bt_dev_read_tx_power) More... | |
struct | wiced_bt_sco_connected_t |
SCO connected event related data. More... | |
struct | wiced_bt_sco_disconnected_t |
SCO disconnected event related data. More... | |
struct | wiced_bt_sco_connection_request_t |
SCO connect request event related data. More... | |
struct | wiced_bt_sco_connection_change_t |
SCO connection change event related data. More... | |
struct | wiced_bt_dev_cod_cond_t |
Class of Device inquiry filter. More... | |
union | wiced_bt_dev_inq_filt_cond_t |
Inquiry filter. More... | |
struct | wiced_bt_dev_inq_parms_t |
Inquiry Parameters. More... | |
struct | wiced_bt_dev_inquiry_scan_result_t |
Inquiry Results. More... | |
struct | wiced_bt_dev_remote_name_result_t |
Structure returned with remote name request. More... | |
struct | wiced_bt_dev_switch_role_result_t |
struct | wiced_bt_dev_name_and_class_t |
Remote device information (used by BTM_PIN_REQUEST_EVT, BTM_SECURITY_ABORTED_EVT) More... | |
struct | wiced_bt_power_mgmt_notification_t |
Change in power management status (used by BTM_POWER_MANAGEMENT_STATUS_EVT notication) More... | |
struct | wiced_bt_dev_bonded_device_info_t |
bonding device information from wiced_bt_dev_get_bonded_devices More... | |
struct | wiced_bt_smp_remote_oob_req_t |
data type for BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT More... | |
struct | wiced_bt_smp_sc_remote_oob_req_t |
data type for BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT More... | |
struct | wiced_bt_public_key_t |
Public key. More... | |
struct | wiced_bt_smp_sc_local_oob_t |
Data for BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT. More... | |
struct | wiced_bt_dev_bredr_io_caps_rsp_t |
Data type for IO capabalities response (BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT) More... | |
struct | wiced_bt_dev_user_cfm_req_t |
Data for pairing confirmation request (BTM_USER_CONFIRMATION_REQUEST_EVT event data type) More... | |
struct | wiced_bt_dev_user_key_req_t |
Pairing user passkey request (BTM_USER_PASSKEY_REQUEST_EVT event data type) More... | |
struct | wiced_bt_dev_user_key_notif_t |
Data for pairing passkey notification (BTM_USER_PASSKEY_NOTIFICATION_EVT event data type) More... | |
struct | wiced_bt_dev_user_keypress_t |
Pairing keypress notification (BTM_USER_KEYPRESS_NOTIFICATION_EVT event data type) More... | |
struct | wiced_bt_dev_br_edr_pairing_info_t |
BR/EDR pairing complete infomation. More... | |
struct | wiced_bt_dev_ble_pairing_info_t |
LE pairing complete infomation. More... | |
union | wiced_bt_dev_pairing_info_t |
Transport dependent pairing complete infomation. More... | |
struct | wiced_bt_dev_pairing_cplt_t |
Pairing complete notification (BTM_PAIRING_COMPLETE_EVT event data type) More... | |
struct | wiced_bt_dev_security_failed_t |
Security/authentication failure status (used by BTM_SECURITY_FAILED_EVT notication). More... | |
struct | wiced_bt_dev_security_request_t |
Security request (BTM_SECURITY_REQUEST_EVT event data type) More... | |
struct | wiced_bt_dev_local_oob_t |
Local OOB data BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT. More... | |
struct | wiced_bt_dev_remote_oob_t |
BTM_REMOTE_OOB_DATA_REQUEST_EVT. More... | |
struct | wiced_bt_dev_bredr_io_caps_req_t |
BR/EDR Pairing IO Capabilities (to be filled by application callback on BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT) More... | |
struct | wiced_bt_dev_ble_io_caps_req_t |
LE Pairing IO Capabilities (to be filled by application callback on BTM_PAIRING_IO_CAPABILITIES_BLE_REQUEST_EVT) More... | |
struct | wiced_bt_dev_encryption_status_t |
Encryption status change (used by BTM_ENCRYPTION_STATUS_EVT) More... | |
struct | wiced_bt_local_identity_keys_t |
LE identity key for local device (used by BTM_LE_LOCAL_IDENTITY_KEYS_UPDATE_EVT and BTM_LE_LOCAL_KEYS_REQUEST_EVT notification) More... | |
struct | wiced_bt_ble_connection_param_update_t |
LE connection parameter update event related data. More... | |
struct | wiced_bt_ble_phy_update_t |
LE Physical link update event related data. More... | |
union | wiced_bt_management_evt_data_t |
Structure definitions for Bluetooth Management (wiced_bt_management_cback_t) event notifications. More... | |
Typedefs | |
typedef uint8_t | wiced_bt_br_chnl_map_t [BTM_AFH_CHNL_MAP_SIZE] |
typedef uint8_t | wiced_bt_sco_type_t |
BTM_LINK_TYPE_SCO or BTM_LINK_TYPE_ESCO. | |
typedef wiced_result_t | wiced_bt_dev_status_t |
Result/Status for wiced_bt_dev. More... | |
union { | |
uint16_t array [10] | |
struct { | |
uint16_t null_count | |
No.of NULL packets received/transmitted. | |
uint16_t pool_count | |
No.of POLL packets received/transmitted. | |
uint16_t dm1_count | |
No.of DM1 packets received/transmitted. | |
uint16_t dh1_count | |
No.of DH1 packets received/transmitted. | |
uint16_t dv_count | |
No.of DV packets received/transmitted. | |
uint16_t aux1_count | |
No.of AUX1 packets received/transmitted. | |
uint16_t dm3_count | |
No.of DM3 packets received/transmitted. | |
uint16_t dh3_count | |
No.of DH3 packets received/transmitted. | |
uint16_t dm5_count | |
No.of DM5 packets received/transmitted. | |
uint16_t dh5_count | |
No.of DH5 packets received/transmitted. | |
} br_packet_types | |
struct { | |
uint16_t null_count | |
No.of NULL packets received/transmitted. | |
uint16_t pool_count | |
No.of POLL packets received/transmitted. | |
uint16_t dm1_count | |
No.of DM1 packets received/transmitted. | |
uint16_t _2_dh1_count | |
No.of 2DH1 packets received/transmitted. | |
uint16_t _3_dh1_count | |
No.of 3DH1 packets received/transmitted. | |
uint16_t _2_dh3_count | |
No.of 2DH3 packets received/transmitted. | |
uint16_t _3_dh3_count | |
No.of 3DH3 packets received/transmitted. | |
uint16_t _2_dh5_count | |
No.of 2DH5 packets received/transmitted. | |
uint16_t _3_dh5_count | |
No.of 3DH5 packets received/transmitted. | |
uint16_t not_used | |
Not Used. | |
} edr_packet_types | |
} | wiced_bt_br_edr_pkt_type_stats |
BR/EDR packet types detail statistics. | |
struct { | |
wiced_bt_br_edr_pkt_type_stats rxPkts | |
Received packets details. | |
wiced_bt_br_edr_pkt_type_stats txPkts | |
Transmitted packets details. | |
uint32_t rxAclBytes | |
Total Received ACL bytes. | |
uint32_t txAclBytes | |
Total Transmitted ACL bytes. | |
uint16_t hecErrs | |
hecErrs packet count | |
uint16_t crcErrs | |
crcErrs packet count | |
uint16_t seqnRepeat | |
seqnRepeat packet count | |
} | wiced_bt_lq_br_edr_stats |
BR/EDR link statistics. | |
struct { | |
uint32_t re_trans_cnt | |
Packet retransmission count. | |
uint16_t re_trans_percent | |
Packet retransmission percentage. | |
uint16_t pkt_err_rate | |
Packet error rate. | |
} | wiced_bt_lq_generic_stats |
struct { | |
uint8_t conn_type | |
Connection type. More... | |
wiced_bt_lq_generic_stats generic_stats | |
ACL/SCO statistics. | |
uint32_t tx_pkt_cnt | |
Transmit packet count. | |
uint32_t tx_acked_cnt | |
Transmit packet acknowledged count. | |
uint32_t rx_good_pkt_cnt | |
Received good packet count. | |
uint32_t rx_good_bytes | |
Received good byte count. | |
uint32_t rx_all_pkt_sync_to | |
All received packet sync timeout count. | |
uint32_t rx_all_pkt_crc_err | |
All received packet crc error count. | |
uint32_t sft_rst_cnt | |
uint32_t evt_flow_off_cnt | |
uint32_t evt_alarm_hi_tsk_prioty_cnt | |
uint32_t tx_all_pkt_cnt | |
Transmit all packet count. | |
uint32_t tx_all_pkt_ack_cnt | |
Transmit all packet acknowledged count. | |
uint32_t rx_all_good_pkt_cnt | |
Received all good packet count. | |
uint32_t activate_late_cnt | |
Activate late count. | |
uint32_t reserved | |
} | wiced_bt_lq_le_stats |
LE link statistics. | |
struct { | |
uint8_t status | |
eEvent status | |
uint16_t conn_handle | |
Connection handle of link quality stats. | |
uint8_t action | |
see wiced_bt_dev_link_quality_stats_param for options | |
union { | |
wiced_bt_lq_br_edr_stats br_edr_stats | |
br edr statistics | |
wiced_bt_lq_le_stats le_stats | |
le statistics | |
} wiced_bt_lq_stats | |
} | wiced_bt_lq_stats_result_t |
LQ Quality Result (in response to wiced_bt_dev_lq_stats) | |
struct { | |
BT_OCTET16 irk | |
Peer diverified identity root. | |
BT_OCTET16 pltk | |
Peer long term key. | |
BT_OCTET16 pcsrk | |
Peer SRK peer device used to secured sign local data. | |
BT_OCTET16 lltk | |
Local long term key. | |
BT_OCTET16 lcsrk | |
Local SRK peer device used to secured sign local data. | |
BT_OCTET8 rand | |
Random vector for LTK generation. | |
UINT16 ediv | |
LTK diversifier of this peripheral device. | |
UINT16 div | |
Local DIV to generate local LTK=d1(ER,DIV,0) and CSRK=d1(ER,DIV,1) | |
uint8_t sec_level | |
Local pairing security level. | |
uint8_t key_size | |
Key size of the LTK delivered to peer device. | |
uint8_t srk_sec_level | |
Security property of peer SRK for this device. | |
uint8_t local_csrk_sec_level | |
security property of local CSRK for this device | |
UINT32 counter | |
Peer sign counter for verifying rcv signed cmd. | |
UINT32 local_counter | |
Local sign counter for sending signed write cmd. | |
} | wiced_bt_ble_keys_t |
struct { | |
uint8_t br_edr_key_type | |
BR/EDR key. More... | |
wiced_bt_link_key_t br_edr_key | |
BR/EDR Link Key. | |
wiced_bt_dev_le_key_type_t le_keys_available_mask | |
LE Keys. More... | |
wiced_bt_ble_address_type_t ble_addr_type | |
LE device type: public or random address. | |
wiced_bt_ble_address_type_t static_addr_type | |
Static address type. | |
wiced_bt_device_address_t static_addr | |
Static address. | |
wiced_bt_ble_keys_t le_keys | |
LE keys. | |
} | wiced_bt_device_sec_keys_t |
struct { | |
wiced_bt_device_address_t bd_addr | |
[in] BD Address of remote | |
wiced_bt_device_sec_keys_t key_data | |
[in/out] Key data | |
} | wiced_bt_device_link_keys_t |
Paired device link key notification (used by BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT notication) | |
typedef wiced_result_t( | wiced_bt_management_cback_t )(wiced_bt_management_evt_t event, wiced_bt_management_evt_data_t *p_event_data) |
Callback for Bluetooth Management event notifications. More... | |
typedef void( | wiced_bt_connection_status_change_cback_t )(wiced_bt_device_address_t bd_addr, uint8_t *p_features, wiced_bool_t is_connected, uint16_t handle, wiced_bt_transport_t transport, uint8_t reason) |
Callback for Bluetooth Management event notifications. More... | |
typedef void( | wiced_bt_dev_cmpl_cback_t )(void *p_data) |
Asynchronous operation complete callback. More... | |
typedef void( | wiced_bt_dev_vendor_specific_command_complete_cback_t )(wiced_bt_dev_vendor_specific_command_complete_params_t *p_command_complete_params) |
Vendor specific command complete. More... | |
typedef void( | wiced_bt_hci_trace_cback_t )(wiced_bt_hci_trace_type_t type, uint16_t length, uint8_t *p_data) |
Callback for HCI traces registered using wiced_bt_dev_register_hci_trace. More... | |
typedef void( | wiced_bt_inquiry_result_cback_t )(wiced_bt_dev_inquiry_scan_result_t *p_inquiry_result, uint8_t *p_eir_data) |
Inquiry result callback. More... | |
typedef void( | wiced_bt_remote_name_cback_t )(wiced_bt_dev_remote_name_result_t *p_remote_name_result) |
Remote name result callback. More... | |
typedef void( wiced_bt_connection_status_change_cback_t)(wiced_bt_device_address_t bd_addr, uint8_t *p_features, wiced_bool_t is_connected, uint16_t handle, wiced_bt_transport_t transport, uint8_t reason) |
Callback for Bluetooth Management event notifications.
Registered using wiced_bt_register_connection_status_change
[in] | bd_addr | BD Address of remote |
[in] | p_features | |
[in] | is_connected | TRUE if connected |
[in] | handle | Connection handle |
[in] | transport | BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE |
[in] | reason | status for ACL connection change
|
typedef void( wiced_bt_dev_cmpl_cback_t)(void *p_data) |
Asynchronous operation complete callback.
[in] | p_data | Operation dependent data |
typedef wiced_result_t wiced_bt_dev_status_t |
Result/Status for wiced_bt_dev.
Result/Status for wiced_bt_dev
typedef void( wiced_bt_dev_vendor_specific_command_complete_cback_t)(wiced_bt_dev_vendor_specific_command_complete_params_t *p_command_complete_params) |
Vendor specific command complete.
[in] | p_command_complete_params | Command complete parameters |
typedef void( wiced_bt_hci_trace_cback_t)(wiced_bt_hci_trace_type_t type, uint16_t length, uint8_t *p_data) |
Callback for HCI traces registered using wiced_bt_dev_register_hci_trace.
[in] | type | HCI packet type |
[in] | length | Length of the trace data |
[in] | p_data | Pointer to the data |
typedef void( wiced_bt_inquiry_result_cback_t)(wiced_bt_dev_inquiry_scan_result_t *p_inquiry_result, uint8_t *p_eir_data) |
Inquiry result callback.
p_inquiry_result | Inquiry result data (NULL if inquiry is complete) |
p_eir_data | Extended inquiry response data |
typedef wiced_result_t( wiced_bt_management_cback_t)(wiced_bt_management_evt_t event, wiced_bt_management_evt_data_t *p_event_data) |
Callback for Bluetooth Management event notifications.
Registered using wiced_bt_stack_init()
event | : Event ID |
p_event_data | : Event data |
typedef void( wiced_bt_remote_name_cback_t)(wiced_bt_dev_remote_name_result_t *p_remote_name_result) |
Remote name result callback.
p_remote_name_result | Remote name result data |