clean up
This commit is contained in:
1 parent
b487db9603
commit
7b432602aa
3 files changed
+23
-16
No files matched your search
@@ -195,6 +195,18 @@ void BLEPairing::setCompleteCallback(pair_complete_cb_t fp)
|
||||
_complete_cb = fp;
|
||||
}
|
||||
|
||||
bool BLEPairing::_authenticate(uint16_t conn_hdl)
|
||||
{
|
||||
VERIFY_STATUS(sd_ble_gap_authenticate(conn_hdl, &_sec_param ), false);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BLEPairing::_encrypt(uint16_t conn_hdl, bond_keys_t const* ltkey)
|
||||
{
|
||||
VERIFY_STATUS(sd_ble_gap_encrypt(conn_hdl, <key->peer_enc.master_id, <key->peer_enc.enc_info), false);
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
/* First-time Pairing
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user