mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
add gap_get_bondable_mode
This commit is contained in:
parent
bd38da2678
commit
4ef6443c0f
@ -2855,6 +2855,13 @@ int hci_ssp_supported_on_both_sides(hci_con_handle_t handle){
|
||||
void gap_set_bondable_mode(int enable){
|
||||
hci_stack->bondable = enable ? 1 : 0;
|
||||
}
|
||||
/**
|
||||
* @brief Get bondable mode.
|
||||
* @return 1 if bondable
|
||||
*/
|
||||
int gap_get_bondable_mode(void){
|
||||
return hci_stack->bondable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief map link keys to security levels
|
||||
|
Loading…
x
Reference in New Issue
Block a user