High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
- 685:676b116f7be2
- Parent:
- 684:448cdd97e926
- Child:
- 686:1962fb48d9ef
diff -r 448cdd97e926 -r 676b116f7be2 public/Gap.h --- a/public/Gap.h Fri Jun 19 15:53:03 2015 +0100 +++ b/public/Gap.h Fri Jun 19 15:53:03 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.