rename BLEPairing to BLESecurity
This commit is contained in:
1 parent
f604a2c889
commit
5e78aa3a73
4 files changed
+21
-22
No files matched your search
@@ -145,8 +145,7 @@ void BLECentral::_eventHandler(ble_evt_t* evt)
|
||||
bond_keys_t ltkey;
|
||||
if ( conn->loadBondKey(<key) )
|
||||
{
|
||||
BLEPairing* secure = &Bluefruit.Pairing;
|
||||
secure->_encrypt(conn_hdl, <key);
|
||||
Bluefruit.Pairing._encrypt(conn_hdl, <key);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user