Nordic stack and drivers for the mbed BLE API
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: source/nRF5xGap.h
- Revision:
- 430:db7edc9ad0bc
- Parent:
- 429:bff56e081b6e
- Child:
- 434:95f196557042
--- a/source/nRF5xGap.h Fri Sep 25 15:26:39 2015 +0100 +++ b/source/nRF5xGap.h Fri Sep 25 15:26:40 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: /**