No changes
Fork of nRF51822 by
Diff: source/nRF5xGap.h
- Revision:
- 424:28ea27dcba79
- Parent:
- 423:9bf22621d592
- Child:
- 429:bff56e081b6e
diff -r 9bf22621d592 -r 28ea27dcba79 source/nRF5xGap.h --- a/source/nRF5xGap.h Thu Aug 13 13:23:18 2015 +0100 +++ b/source/nRF5xGap.h Thu Aug 13 13:23:18 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: /**