Nordic BLE: Force signing and link requirements to false.

pull/6932/head
Vincent Coubard 2018-05-15 09:12:55 +01:00
parent 02e3c13d25
commit dc54da0a2d
1 changed files with 8 additions and 0 deletions

View File

@ -797,6 +797,14 @@ bool nRF5xSecurityManager::sm_handler(const ble_evt_t *evt)
); );
if (pairing_cb && pairing_cb->role == PAIRING_INITIATOR) { if (pairing_cb && pairing_cb->role == PAIRING_INITIATOR) {
// override signing parameter
initiator_dist.set_signing(false);
responder_dist.set_signing(false);
// override link parameter
initiator_dist.set_link(false);
responder_dist.set_link(false);
// when this event is received by an initiator, it should not be // when this event is received by an initiator, it should not be
// forwarded via the handler; this is not a behaviour expected // forwarded via the handler; this is not a behaviour expected
// by the bluetooth standard ... // by the bluetooth standard ...