From 434961bde41fc8907cca836a63556e01dfbd2a22 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Sun, 5 Jan 2014 22:42:19 +0000 Subject: [PATCH] track att connection encryption state --- ble/sm.c | 4 ---- ble/sm.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/ble/sm.c b/ble/sm.c index 55d97a63d..baffb2ed0 100644 --- a/ble/sm.c +++ b/ble/sm.c @@ -1658,10 +1658,6 @@ void sm_init(){ l2cap_register_packet_handler(sm_event_packet_handler); } -void sm_encrypted(uint8_t addr_type, bd_addr_t address){ - -} - // GAP Bonding API static int sm_get_connection(uint8_t addr_type, bd_addr_t address){ // TODO compare to current connection diff --git a/ble/sm.h b/ble/sm.h index 60e325cde..f1db6f161 100644 --- a/ble/sm.h +++ b/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_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_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);