rename BLEPairing to BLESecurity

This commit is contained in:
hathach committed 2020-03-19 17:38:39 +07:00
1 parent f604a2c889
commit 5e78aa3a73
4 files changed
+21 -22

No files matched your search

+1 -2
View File
@@ -145,8 +145,7 @@ void BLECentral::_eventHandler(ble_evt_t* evt)
bond_keys_t ltkey;
if ( conn->loadBondKey(&ltkey) )
{
BLEPairing* secure = &Bluefruit.Pairing;
secure->_encrypt(conn_hdl, &ltkey);
Bluefruit.Pairing._encrypt(conn_hdl, &ltkey);
}
}
break;