Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_SecureHeartRate by
Revision 11:70342535895d, committed 2016-05-27
- Comitter:
- tomg
- Date:
- Fri May 27 16:55:05 2016 +0000
- Parent:
- 10:d391a5f1df7c
- Commit message:
- use IO_CAPS_KEYBOARD_DISPLAY (still doesn't work)
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 27 16:52:32 2016 +0000
+++ b/main.cpp Fri May 27 16:55:05 2016 +0000
@@ -87,7 +87,7 @@
bool enableBonding = true;
bool requireMITM = true;
uint8_t pass[] = {'0', '1', '2', '3', '4', '5', '6'};
- ble.securityManager().init(enableBonding, requireMITM, SecurityManager::IO_CAPS_DISPLAY_ONLY, pass);
+ ble.securityManager().init(enableBonding, requireMITM, SecurityManager::IO_CAPS_KEYBOARD_DISPLAY, pass);
/* Set callback functions */
ble.gap().onConnection(connectionCallback);
