bleconnection make ediv private

This commit is contained in:
hathach committed 2019-01-21 16:01:13 +07:00
1 parent 2f645e6bca
commit a264e24eac
4 files changed
+18 -6

No files matched your search

@@ -108,6 +108,16 @@ bool BLEConnection::getWriteCmdPacket (void)
return xSemaphoreTake(_wrcmd_sem, ms2tick(BLE_GENERIC_TIMEOUT));
}
bool BLEConnection::_storeCccd(void)
{
return bond_save_cccd( _role, _conn_hdl, _ediv);
}
bool BLEConnection::_loadKeys(bond_keys_t* bkeys)
{
return bond_load_keys(_role, _ediv, bkeys);
}
bool BLEConnection::requestPairing(void)
{
// skip if already paired