Skip to content

Commit e4a6504

Browse files
send ltk as master
1 parent 1d416fa commit e4a6504

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>mbed-os-example-ble</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>

BLE_SM/source/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ class SMDevicePeripheral : public SMDevice {
304304
* can proceed. Setting it to false will automatically accept
305305
* pairing. */
306306
_ble.securityManager().setPairingRequestAuthorisation(true);
307+
308+
_ble.securityManager().setHintFutureRoleReversal(true);
307309
};
308310

309311
/** This is called by Gap to notify the application we connected,

0 commit comments

Comments
 (0)