BlueNRG-MS pack for STM32CubeMX
V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
|
bluenrg_gap_aci.h
Go to the documentation of this file.
207 tBleStatus aci_gap_set_limited_discoverable(uint8_t AdvType, uint16_t AdvIntervMin, uint16_t AdvIntervMax,
303 tBleStatus aci_gap_set_discoverable(uint8_t AdvType, uint16_t AdvIntervMin, uint16_t AdvIntervMax,
342 tBleStatus aci_gap_set_direct_connectable_IDB05A1(uint8_t own_addr_type, uint8_t directed_adv_type, uint8_t initiator_addr_type,
370 tBleStatus aci_gap_set_direct_connectable_IDB04A1(uint8_t own_addr_type, uint8_t initiator_addr_type, const uint8_t *initiator_addr);
501 tBleStatus aci_gap_set_undirected_connectable(uint8_t own_addr_type, uint8_t adv_filter_policy);
516 tBleStatus aci_gap_slave_security_request(uint16_t conn_handle, uint8_t bonding, uint8_t mitm_protection);
774 tBleStatus aci_gap_start_auto_conn_establish_proc_IDB05A1(uint16_t scanInterval, uint16_t scanWindow,
782 tBleStatus aci_gap_start_auto_conn_establish_proc_IDB04A1(uint16_t scanInterval, uint16_t scanWindow,
824 tBleStatus aci_gap_start_general_conn_establish_proc_IDB05A1(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window,
826 tBleStatus aci_gap_start_general_conn_establish_proc_IDB04A1(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window,
827 uint8_t own_address_type, uint8_t filter_duplicates, uint8_t use_reconn_addr, const tBDAddr reconn_addr);
865 tBleStatus aci_gap_start_selective_conn_establish_proc(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window,
988 tBleStatus aci_gap_resolve_private_address_IDB05A1(const tBDAddr private_address, tBDAddr actual_address);
1022 tBleStatus aci_gap_get_bonded_devices(uint8_t *num_devices, uint8_t *device_list, uint8_t device_list_size);
1057 tBleStatus aci_gap_set_broadcast_mode(uint16_t adv_interv_min, uint16_t adv_interv_max, uint8_t adv_type,
1058 uint8_t own_addr_type, uint8_t adv_data_length, const uint8_t *adv_data, uint8_t num_whitelist_entries,
1084 tBleStatus aci_gap_start_observation_procedure(uint16_t scan_interval, uint16_t scan_window, uint8_t scan_type,
1228 uint8_t reconnection_address[6];
tBleStatus aci_gap_start_selective_conn_establish_proc(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window, uint8_t own_address_type, uint8_t filter_duplicates, uint8_t num_whitelist_entries, const uint8_t *addr_array)
Start a selective connection establishment procedure.
Definition: bluenrg_gap_aci.c:1001
tBleStatus aci_gap_resolve_private_address_IDB04A1(const tBDAddr private_address)
Resolve a private address.
Definition: bluenrg_gap_aci.c:1177
Definition: bluenrg_gap_aci.h:1214
Definition: bluenrg_gap_aci.h:1179
tBleStatus aci_gap_set_limited_discoverable(uint8_t AdvType, uint16_t AdvIntervMin, uint16_t AdvIntervMax, uint8_t OwnAddrType, uint8_t AdvFilterPolicy, uint8_t LocalNameLen, const char *LocalName, uint8_t ServiceUUIDLen, uint8_t *ServiceUUIDList, uint16_t SlaveConnIntervMin, uint16_t SlaveConnIntervMax)
Put the device in limited discoverable mode (as defined in GAP specification volume 3...
Definition: bluenrg_gap_aci.c:110
tBleStatus aci_gap_resolve_private_address_IDB05A1(const tBDAddr private_address, tBDAddr actual_address)
Resolve a private address.
Definition: bluenrg_gap_aci.c:1150
tBleStatus aci_gap_start_connection_update(uint16_t conn_handle, uint16_t conn_min_interval, uint16_t conn_max_interval, uint16_t conn_latency, uint16_t supervision_timeout, uint16_t min_conn_length, uint16_t max_conn_length)
Start the connection parameter update procedure.
Definition: bluenrg_gap_aci.c:1094
tBleStatus aci_gap_set_broadcast_mode(uint16_t adv_interv_min, uint16_t adv_interv_max, uint8_t adv_type, uint8_t own_addr_type, uint8_t adv_data_length, const uint8_t *adv_data, uint8_t num_whitelist_entries, const uint8_t *addr_array)
Puts the device into broadcast mode.
Definition: bluenrg_gap_aci.c:1199
tBleStatus aci_gap_start_observation_procedure(uint16_t scan_interval, uint16_t scan_window, uint8_t scan_type, uint8_t own_address_type, uint8_t filter_duplicates)
Starts an observation procedure, when the device is in Observer role.
Definition: bluenrg_gap_aci.c:1239
tBleStatus aci_gap_set_non_discoverable(void)
Set the Device in non-discoverable mode.
Definition: bluenrg_gap_aci.c:93
tBleStatus aci_gap_start_name_discovery_proc(uint16_t scanInterval, uint16_t scanWindow, uint8_t peer_bdaddr_type, tBDAddr peer_bdaddr, uint8_t own_bdaddr_type, uint16_t conn_min_interval, uint16_t conn_max_interval, uint16_t conn_latency, uint16_t supervision_timeout, uint16_t min_conn_length, uint16_t max_conn_length)
Start the name discovery procedure.
Definition: bluenrg_gap_aci.c:753
tBleStatus aci_gap_update_adv_data(uint8_t AdvLen, const uint8_t *AdvData)
Update advertising data.
Definition: bluenrg_gap_aci.c:520
tBleStatus aci_gap_start_general_discovery_proc(uint16_t scanInterval, uint16_t scanWindow, uint8_t own_address_type, uint8_t filterDuplicates)
Start the general discovery procedure.
Definition: bluenrg_gap_aci.c:725
tBleStatus aci_gap_set_author_requirement(uint16_t conn_handle, uint8_t authorization_enable)
Set the authorization requirements of the device.
Definition: bluenrg_gap_aci.c:356
tBleStatus aci_gap_set_non_connectable_IDB04A1(uint8_t adv_type)
Put the device into non-connectable mode.
Definition: bluenrg_gap_aci.c:449
Definition: bluenrg_gap_aci.h:1153
__packed struct _evt_gap_device_found evt_gap_device_found
tBleStatus aci_gap_start_general_conn_establish_proc_IDB04A1(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window, uint8_t own_address_type, uint8_t filter_duplicates, uint8_t use_reconn_addr, const tBDAddr reconn_addr)
Definition: bluenrg_gap_aci.c:971
tBleStatus aci_gap_set_direct_connectable_IDB05A1(uint8_t own_addr_type, uint8_t directed_adv_type, uint8_t initiator_addr_type, const uint8_t *initiator_addr, uint16_t adv_interv_min, uint16_t adv_interv_max)
Set the Device in direct connectable mode (as defined in GAP specification Volume 3...
Definition: bluenrg_gap_aci.c:241
tBleStatus aci_gap_set_undirected_connectable(uint8_t own_addr_type, uint8_t adv_filter_policy)
Put the device into undirected connectable mode.
Definition: bluenrg_gap_aci.c:471
tBleStatus aci_gap_terminate(uint16_t conn_handle, uint8_t reason)
Terminate a connection.
Definition: bluenrg_gap_aci.c:618
__packed struct _evt_gap_addr_not_resolved_IDB05A1 evt_gap_addr_not_resolved_IDB05A1
tBleStatus aci_gap_send_pairing_request(uint16_t conn_handle, uint8_t force_rebond)
Send a pairing request.
Definition: bluenrg_gap_aci.c:1126
Definition: bluenrg_gap_aci.h:1123
tBleStatus aci_gap_init_IDB05A1(uint8_t role, uint8_t privacy_enabled, uint8_t device_name_char_len, uint16_t *service_handle, uint16_t *dev_name_char_handle, uint16_t *appearance_char_handle)
Initialize the GAP layer.
Definition: bluenrg_gap_aci.c:27
tBleStatus aci_gap_start_auto_conn_establish_proc_IDB04A1(uint16_t scanInterval, uint16_t scanWindow, uint8_t own_bdaddr_type, uint16_t conn_min_interval, uint16_t conn_max_interval, uint16_t conn_latency, uint16_t supervision_timeout, uint16_t min_conn_length, uint16_t max_conn_length, uint8_t use_reconn_addr, const tBDAddr reconn_addr, uint8_t num_whitelist_entries, const uint8_t *addr_array)
Definition: bluenrg_gap_aci.c:863
tBleStatus aci_gap_set_discoverable(uint8_t AdvType, uint16_t AdvIntervMin, uint16_t AdvIntervMax, uint8_t OwnAddrType, uint8_t AdvFilterPolicy, uint8_t LocalNameLen, const char *LocalName, uint8_t ServiceUUIDLen, uint8_t *ServiceUUIDList, uint16_t SlaveConnIntervMin, uint16_t SlaveConnIntervMax)
Put the Device in general discoverable mode (as defined in GAP specification volume 3...
Definition: bluenrg_gap_aci.c:173
tBleStatus aci_gap_authorization_response(uint16_t conn_handle, uint8_t authorize)
Authorize a device to access attributes.
Definition: bluenrg_gap_aci.c:403
tBleStatus aci_gap_allow_rebond_IDB05A1(uint16_t conn_handle)
Allows the security manager to complete the pairing procedure and re-bond with the master...
Definition: bluenrg_gap_aci.c:659
tBleStatus aci_gap_start_general_conn_establish_proc_IDB05A1(uint8_t scan_type, uint16_t scan_interval, uint16_t scan_window, uint8_t own_address_type, uint8_t filter_duplicates)
Start a general connection establishment procedure.
Definition: bluenrg_gap_aci.c:943
__packed struct _evt_gap_author_req evt_gap_author_req
tBleStatus aci_gap_get_security_level(uint8_t *mitm_protection, uint8_t *bonding, uint8_t *oob_data, uint8_t *passkey_required)
Get the current security settings.
Definition: bluenrg_gap_aci.c:572
tBleStatus aci_gap_is_device_bonded(uint8_t peer_address_type, const tBDAddr peer_address)
The command finds whether a device is bonded.
Definition: bluenrg_gap_aci.c:1267
__packed struct _evt_gap_pass_key_req evt_gap_pass_key_req
tBleStatus aci_gap_clear_security_database(void)
Clear the security database.
Definition: bluenrg_gap_aci.c:642
tBleStatus aci_gap_configure_whitelist(void)
Add addresses of bonded devices into the controller's whitelist.
Definition: bluenrg_gap_aci.c:601
tBleStatus aci_gap_set_non_connectable_IDB05A1(uint8_t adv_type, uint8_t own_address_type)
Put the device into non-connectable mode.
Definition: bluenrg_gap_aci.c:426
__packed struct _evt_gap_pairing_cmplt evt_gap_pairing_cmplt
Definition: bluenrg_gap_aci.h:1192
tBleStatus aci_gap_start_auto_conn_establish_proc_IDB05A1(uint16_t scanInterval, uint16_t scanWindow, uint8_t own_bdaddr_type, uint16_t conn_min_interval, uint16_t conn_max_interval, uint16_t conn_latency, uint16_t supervision_timeout, uint16_t min_conn_length, uint16_t max_conn_length, uint8_t num_whitelist_entries, const uint8_t *addr_array)
Start the auto connection establishment procedure.
Definition: bluenrg_gap_aci.c:791
tBleStatus aci_gap_get_bonded_devices(uint8_t *num_devices, uint8_t *device_list, uint8_t device_list_size)
This command gets the list of bonded devices.
Definition: bluenrg_gap_aci.c:1290
Definition: bluenrg_gap_aci.h:1140
tBleStatus aci_gap_allow_rebond_IDB04A1(void)
Allows the security manager to complete the pairing procedure and re-bond with the master...
Definition: bluenrg_gap_aci.c:681
uint16_t conn_handle
Definition: bluenrg_gap_aci.h:1215
tBleStatus aci_gap_slave_security_request(uint16_t conn_handle, uint8_t bonding, uint8_t mitm_protection)
Send a slave security request to the master.
Definition: bluenrg_gap_aci.c:494
tBleStatus aci_gap_init_IDB04A1(uint8_t role, uint16_t *service_handle, uint16_t *dev_name_char_handle, uint16_t *appearance_char_handle)
Initialize the GAP layer.
Definition: bluenrg_gap_aci.c:61
__packed struct _evt_gap_procedure_complete evt_gap_procedure_complete
tBleStatus aci_gap_start_limited_discovery_proc(uint16_t scanInterval, uint16_t scanWindow, uint8_t own_address_type, uint8_t filterDuplicates)
Start the limited discovery procedure.
Definition: bluenrg_gap_aci.c:698
__packed struct _evt_gap_reconnection_addr_IDB04A1 evt_gap_reconnection_addr_IDB04A1
tBleStatus aci_gap_pass_key_response(uint16_t conn_handle, uint32_t passkey)
Provide the pass key that will be used during pairing.
Definition: bluenrg_gap_aci.c:379
tBleStatus aci_gap_set_auth_requirement(uint8_t mitm_mode, uint8_t oob_enable, uint8_t oob_data[16], uint8_t min_encryption_key_size, uint8_t max_encryption_key_size, uint8_t use_fixed_pin, uint32_t fixed_pin, uint8_t bonding_mode)
Set the authentication requirements for the device.
Definition: bluenrg_gap_aci.c:316
tBleStatus aci_gap_set_direct_connectable_IDB04A1(uint8_t own_addr_type, uint8_t initiator_addr_type, const uint8_t *initiator_addr)
Set the Device in direct connectable mode (as defined in GAP specification Volume 3...
Definition: bluenrg_gap_aci.c:270
tBleStatus aci_gap_delete_ad_type(uint8_t ad_type)
Delete an AD Type.
Definition: bluenrg_gap_aci.c:550
tBleStatus aci_gap_set_io_capability(uint8_t io_capability)
Set the IO capabilities of the device.
Definition: bluenrg_gap_aci.c:294
Definition: bluenrg_gap_aci.h:1227
tBleStatus aci_gap_create_connection(uint16_t scanInterval, uint16_t scanWindow, uint8_t peer_bdaddr_type, tBDAddr peer_bdaddr, uint8_t own_bdaddr_type, uint16_t conn_min_interval, uint16_t conn_max_interval, uint16_t conn_latency, uint16_t supervision_timeout, uint16_t min_conn_length, uint16_t max_conn_length)
Start the direct connection establishment procedure.
Definition: bluenrg_gap_aci.c:1036
tBleStatus aci_gap_terminate_gap_procedure(uint8_t procedure_code)
Terminate the specified GAP procedure. EVT_BLUE_GAP_PROCEDURE_COMPLETE event is returned with the pro...
Definition: bluenrg_gap_aci.c:1074
Generated on Mon Apr 15 2019 18:10:39 for BlueNRG-MS pack for STM32CubeMX by 1.8.13