test1
Diff: x-nucleo-idb0xa1/BlueNRGGap.h
- Branch:
- 83c30f290087a6f5a503812f507492e725a3b717
- Revision:
- 272:4639da7705e1
- Parent:
- 270:ca649990a830
- Child:
- 276:a20f4cad1d61
--- 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;