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 nRF51822 by
Diff: source/nRF5xGap.h
- Revision:
- 418:d66d5957a220
- Parent:
- 417:d79a89cccddd
- Child:
- 423:9bf22621d592
--- a/source/nRF5xGap.h Tue Aug 11 15:14:23 2015 +0100 +++ b/source/nRF5xGap.h Tue Aug 11 15:14:23 2015 +0100 @@ -80,6 +80,8 @@ return BLE_ERROR_UNSPECIFIED; } +/* Observer role is not supported by S110, return BLE_ERROR_NOT_IMPLEMENTED */ +#if !defined(MCU_NORDIC_16K_S110) && !defined(MCU_NORDIC_32K_S110) virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams) { ble_gap_scan_params_t scanParams = { .active = scanningParams.getActiveScanning(), /**< If 1, perform active scanning (scan requests). */ @@ -104,6 +106,7 @@ return BLE_STACK_BUSY; } +#endif private: /**