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: nRF51Gap.h
- Revision:
- 169:93cc9241d748
- Parent:
- 168:a24112aa18a1
- Child:
- 170:d886f281ead7
--- a/nRF51Gap.h Wed May 13 08:49:35 2015 +0100 +++ b/nRF51Gap.h Wed May 13 08:49:35 2015 +0100 @@ -77,7 +77,7 @@ ble_radio_notification_init(NRF_APP_PRIORITY_HIGH, NRF_RADIO_NOTIFICATION_DISTANCE_800US, onRadioNotification); } - virtual ble_error_t startScanning(const GapScanningParams &scanningParams, AdvertisementReportCallback_t callback) { + virtual ble_error_t startScan(const GapScanningParams &scanningParams, AdvertisementReportCallback_t callback) { if ((onAdvertisementReport = callback) != NULL) { ble_gap_scan_params_t scanParams = { @@ -97,7 +97,7 @@ return BLE_ERROR_NONE; } - virtual ble_error_t stopScanning(void) { + virtual ble_error_t stopScan(void) { if (sd_ble_gap_scan_stop() == NRF_SUCCESS) { return BLE_ERROR_NONE; }