mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
track att connection encryption state
This commit is contained in:
parent
f7fb899f3b
commit
434961bde4
4
ble/sm.c
4
ble/sm.c
@ -1658,10 +1658,6 @@ void sm_init(){
|
|||||||
l2cap_register_packet_handler(sm_event_packet_handler);
|
l2cap_register_packet_handler(sm_event_packet_handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sm_encrypted(uint8_t addr_type, bd_addr_t address){
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// GAP Bonding API
|
// GAP Bonding API
|
||||||
static int sm_get_connection(uint8_t addr_type, bd_addr_t address){
|
static int sm_get_connection(uint8_t addr_type, bd_addr_t address){
|
||||||
// TODO compare to current connection
|
// TODO compare to current connection
|
||||||
|
2
ble/sm.h
2
ble/sm.h
@ -135,8 +135,6 @@ void sm_set_authentication_requirements(uint8_t auth_req);
|
|||||||
void sm_set_io_capabilities(io_capability_t io_capability);
|
void sm_set_io_capabilities(io_capability_t io_capability);
|
||||||
void sm_set_request_security(int enable);
|
void sm_set_request_security(int enable);
|
||||||
|
|
||||||
void sm_encrypted(uint8_t addr_type, bd_addr_t address);
|
|
||||||
|
|
||||||
void sm_bonding_decline(uint8_t addr_type, bd_addr_t address);
|
void sm_bonding_decline(uint8_t addr_type, bd_addr_t address);
|
||||||
void sm_just_works_confirm(uint8_t addr_type, bd_addr_t address);
|
void sm_just_works_confirm(uint8_t addr_type, bd_addr_t address);
|
||||||
void sm_passkey_input(uint8_t addr_type, bd_addr_t address, uint32_t passkey);
|
void sm_passkey_input(uint8_t addr_type, bd_addr_t address, uint32_t passkey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user