mirror of https://github.com/ARMmbed/mbed-os.git
Nordic BLE: Force signing and link requirements to false.
parent
02e3c13d25
commit
dc54da0a2d
|
@ -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 ...
|
||||||
|
|
Loading…
Reference in New Issue