High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1124:7ffed715734a
- Parent:
- 1123:685c954464e1
- Child:
- 1131:692ddf04fc42
--- a/ble/Gap.h Mon Jan 11 08:52:04 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:52:05 2016 +0000 @@ -587,11 +587,15 @@ * @param[in] mode * The new advertising policy filter mode. * + * @return BLE_ERROR_NONE if the specified policy filter mode was set + * successfully. + * * @experimental */ - virtual void setAdvertisingPolicyMode(AdvertisingPolicyMode_t mode) + virtual ble_error_t setAdvertisingPolicyMode(AdvertisingPolicyMode_t mode) { (void) mode; + return BLE_ERROR_NOT_IMPLEMENTED; } /** @@ -601,11 +605,15 @@ * @param[in] mode * The new scan policy filter mode. * + * @return BLE_ERROR_NONE if the specified policy filter mode was set + * successfully. + * * @experimental */ - virtual void setScanningPolicyMode(ScanningPolicyMode_t mode) + virtual ble_error_t setScanningPolicyMode(ScanningPolicyMode_t mode) { (void) mode; + return BLE_ERROR_NOT_IMPLEMENTED; } /** @@ -614,11 +622,15 @@ * @param[in] mode * The new initiator policy filter mode. * + * @return BLE_ERROR_NONE if the specified policy filter mode was set + * successfully. + * * @experimental */ - virtual void setInitiatorPolicyMode(InitiatorPolicyMode_t mode) + virtual ble_error_t setInitiatorPolicyMode(InitiatorPolicyMode_t mode) { (void) mode; + return BLE_ERROR_NOT_IMPLEMENTED; } /**