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.
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGap.h
- Branch:
- 83c30f290087a6f5a503812f507492e725a3b717
- Revision:
- 272:4639da7705e1
- Parent:
- 270:ca649990a830
- Child:
- 276:a20f4cad1d61
diff -r 7dc6261c33e5 -r 4639da7705e1 x-nucleo-idb0xa1/BlueNRGGap.h
--- a/x-nucleo-idb0xa1/BlueNRGGap.h Thu Sep 15 10:51:33 2016 +0100
+++ b/x-nucleo-idb0xa1/BlueNRGGap.h Thu Sep 15 10:51:34 2016 +0100
@@ -150,9 +150,11 @@
virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams);
void setConnectionInterval(uint16_t interval);
+ void setGapRole(Role_t role);
private:
uint16_t m_connectionHandle;
+ Role_t gapRole;
AddressType_t addr_type;
Address_t _peerAddr;
AddressType_t _peerAddrType;
