BlueNRG-MS pack for STM32CubeMX
V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
|
HCI_LE
API for HCI LE layer. More...
Modules | |
HCI Error codes | |
Functions | |
int | hci_reset (void) |
int | hci_disconnect (uint16_t handle, uint8_t reason) |
int | hci_le_set_advertise_enable (uint8_t enable) |
int | hci_le_set_advertising_parameters (uint16_t min_interval, uint16_t max_interval, uint8_t advtype, uint8_t own_bdaddr_type, uint8_t direct_bdaddr_type, const tBDAddr direct_bdaddr, uint8_t chan_map, uint8_t filter) |
int | hci_le_set_scan_parameters (uint8_t type, uint16_t interval, uint16_t window, uint8_t own_bdaddr_type, uint8_t filter) |
int | hci_le_set_scan_enable (uint8_t enable, uint8_t filter_dup) |
int | hci_le_set_advertising_data (uint8_t length, const uint8_t data[]) |
int | hci_le_set_scan_resp_data (uint8_t length, const uint8_t data[]) |
int | hci_le_rand (uint8_t random_number[8]) |
int | hci_le_read_advertising_channel_tx_power (int8_t *tx_power_level) |
int | hci_acl_data (const uint8_t *data, uint16_t len) |
int | hci_le_set_random_address (tBDAddr bdaddr) |
int | hci_read_bd_addr (tBDAddr bdaddr) |
int | hci_le_read_white_list_size (uint8_t *size) |
int | hci_le_clear_white_list (void) |
int | hci_le_add_device_to_white_list (uint8_t bdaddr_type, tBDAddr bdaddr) |
int | hci_le_remove_device_from_white_list (uint8_t bdaddr_type, tBDAddr bdaddr) |
int | hci_le_encrypt (uint8_t key[16], uint8_t plaintextData[16], uint8_t encryptedData[16]) |
int | hci_le_ltk_request_reply (uint8_t key[16]) |
int | hci_le_ltk_request_neg_reply (void) |
int | hci_le_read_buffer_size (uint16_t *pkt_len, uint8_t *max_pkt) |
int | hci_le_create_connection (uint16_t interval, uint16_t window, uint8_t initiator_filter, uint8_t peer_bdaddr_type, const tBDAddr peer_bdaddr, uint8_t own_bdaddr_type, uint16_t min_interval, uint16_t max_interval, uint16_t latency, uint16_t supervision_timeout, uint16_t min_ce_length, uint16_t max_ce_length) |
int | hci_le_create_connection_cancel (void) |
int | hci_read_transmit_power_level (uint16_t *conn_handle, uint8_t type, int8_t *tx_level) |
int | hci_read_rssi (uint16_t *conn_handle, int8_t *rssi) |
int | hci_le_read_local_supported_features (uint8_t *features) |
int | hci_le_read_channel_map (uint16_t conn_handle, uint8_t ch_map[5]) |
int | hci_le_read_supported_states (uint8_t states[8]) |
int | hci_le_receiver_test (uint8_t frequency) |
int | hci_le_transmitter_test (uint8_t frequency, uint8_t length, uint8_t payload) |
int | hci_le_test_end (uint16_t *num_pkts) |
int | hci_le_read_local_version (uint8_t *hci_version, uint16_t *hci_revision, uint8_t *lmp_pal_version, uint16_t *manufacturer_name, uint16_t *lmp_pal_subversion) |
Detailed Description
API for HCI LE layer.
Function Documentation
◆ hci_acl_data()
int hci_acl_data | ( | const uint8_t * | data, |
uint16_t | len | ||
) |
◆ hci_disconnect()
int hci_disconnect | ( | uint16_t | handle, |
uint8_t | reason | ||
) |
◆ hci_le_add_device_to_white_list()
int hci_le_add_device_to_white_list | ( | uint8_t | bdaddr_type, |
tBDAddr | bdaddr | ||
) |
◆ hci_le_clear_white_list()
int hci_le_clear_white_list | ( | void | ) |
◆ hci_le_create_connection()
int hci_le_create_connection | ( | uint16_t | interval, |
uint16_t | window, | ||
uint8_t | initiator_filter, | ||
uint8_t | peer_bdaddr_type, | ||
const tBDAddr | peer_bdaddr, | ||
uint8_t | own_bdaddr_type, | ||
uint16_t | min_interval, | ||
uint16_t | max_interval, | ||
uint16_t | latency, | ||
uint16_t | supervision_timeout, | ||
uint16_t | min_ce_length, | ||
uint16_t | max_ce_length | ||
) |
◆ hci_le_create_connection_cancel()
int hci_le_create_connection_cancel | ( | void | ) |
◆ hci_le_encrypt()
int hci_le_encrypt | ( | uint8_t | key[16], |
uint8_t | plaintextData[16], | ||
uint8_t | encryptedData[16] | ||
) |
◆ hci_le_ltk_request_neg_reply()
int hci_le_ltk_request_neg_reply | ( | void | ) |
◆ hci_le_ltk_request_reply()
int hci_le_ltk_request_reply | ( | uint8_t | key[16] | ) |
◆ hci_le_rand()
int hci_le_rand | ( | uint8_t | random_number[8] | ) |
◆ hci_le_read_advertising_channel_tx_power()
int hci_le_read_advertising_channel_tx_power | ( | int8_t * | tx_power_level | ) |
◆ hci_le_read_buffer_size()
int hci_le_read_buffer_size | ( | uint16_t * | pkt_len, |
uint8_t * | max_pkt | ||
) |
◆ hci_le_read_channel_map()
int hci_le_read_channel_map | ( | uint16_t | conn_handle, |
uint8_t | ch_map[5] | ||
) |
◆ hci_le_read_local_supported_features()
int hci_le_read_local_supported_features | ( | uint8_t * | features | ) |
◆ hci_le_read_local_version()
int hci_le_read_local_version | ( | uint8_t * | hci_version, |
uint16_t * | hci_revision, | ||
uint8_t * | lmp_pal_version, | ||
uint16_t * | manufacturer_name, | ||
uint16_t * | lmp_pal_subversion | ||
) |
◆ hci_le_read_supported_states()
int hci_le_read_supported_states | ( | uint8_t | states[8] | ) |
◆ hci_le_read_white_list_size()
int hci_le_read_white_list_size | ( | uint8_t * | size | ) |
◆ hci_le_receiver_test()
int hci_le_receiver_test | ( | uint8_t | frequency | ) |
◆ hci_le_remove_device_from_white_list()
int hci_le_remove_device_from_white_list | ( | uint8_t | bdaddr_type, |
tBDAddr | bdaddr | ||
) |
◆ hci_le_set_advertise_enable()
int hci_le_set_advertise_enable | ( | uint8_t | enable | ) |
◆ hci_le_set_advertising_data()
int hci_le_set_advertising_data | ( | uint8_t | length, |
const uint8_t | data[] | ||
) |
◆ hci_le_set_advertising_parameters()
int hci_le_set_advertising_parameters | ( | uint16_t | min_interval, |
uint16_t | max_interval, | ||
uint8_t | advtype, | ||
uint8_t | own_bdaddr_type, | ||
uint8_t | direct_bdaddr_type, | ||
const tBDAddr | direct_bdaddr, | ||
uint8_t | chan_map, | ||
uint8_t | filter | ||
) |
◆ hci_le_set_random_address()
int hci_le_set_random_address | ( | tBDAddr | bdaddr | ) |
◆ hci_le_set_scan_enable()
int hci_le_set_scan_enable | ( | uint8_t | enable, |
uint8_t | filter_dup | ||
) |
◆ hci_le_set_scan_parameters()
int hci_le_set_scan_parameters | ( | uint8_t | type, |
uint16_t | interval, | ||
uint16_t | window, | ||
uint8_t | own_bdaddr_type, | ||
uint8_t | filter | ||
) |
◆ hci_le_set_scan_resp_data()
int hci_le_set_scan_resp_data | ( | uint8_t | length, |
const uint8_t | data[] | ||
) |
◆ hci_le_test_end()
int hci_le_test_end | ( | uint16_t * | num_pkts | ) |
◆ hci_le_transmitter_test()
int hci_le_transmitter_test | ( | uint8_t | frequency, |
uint8_t | length, | ||
uint8_t | payload | ||
) |
◆ hci_read_bd_addr()
int hci_read_bd_addr | ( | tBDAddr | bdaddr | ) |
◆ hci_read_rssi()
int hci_read_rssi | ( | uint16_t * | conn_handle, |
int8_t * | rssi | ||
) |
◆ hci_read_transmit_power_level()
int hci_read_transmit_power_level | ( | uint16_t * | conn_handle, |
uint8_t | type, | ||
int8_t * | tx_level | ||
) |
◆ hci_reset()
int hci_reset | ( | void | ) |
Generated on Mon Apr 15 2019 18:10:40 for BlueNRG-MS pack for STM32CubeMX by 1.8.13