add gap_get_bondable_mode

This commit is contained in:
Matthias Ringwald 2015-08-07 22:44:24 +02:00
parent bd38da2678
commit 4ef6443c0f

View File

@ -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