High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
- 542:d60f1c06fa33
- Parent:
- 541:aa30f63e7b3f
- Child:
- 543:4defb791aa94
--- a/public/Gap.h Fri Jun 19 15:52:08 2015 +0100 +++ b/public/Gap.h Fri Jun 19 15:52:09 2015 +0100 @@ -369,6 +369,9 @@ */ virtual void getPermittedTxPowerValues(const int8_t **, size_t *) = 0; +public: + virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams) = 0; + /* * APIs with non-virtual implementations. */ @@ -751,8 +754,6 @@ /* Event callback handlers */ public: - virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams) = 0; - /** * Setup a callback for timeout events. Refer to TimeoutSource_t for * possible event types.