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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51Gap.h
- Revision:
- 348:922c8b211979
- Parent:
- 346:14b090482fd2
- Child:
- 352:bae965fb00f1
diff -r b5d18c33fd8a -r 922c8b211979 nRF51Gap.h
--- a/nRF51Gap.h Fri Jun 19 15:55:35 2015 +0100
+++ b/nRF51Gap.h Fri Jun 19 15:55:36 2015 +0100
@@ -61,8 +61,8 @@
virtual ble_error_t setDeviceName(const uint8_t *deviceName);
virtual ble_error_t getDeviceName(uint8_t *deviceName, unsigned *lengthP);
- virtual ble_error_t setAppearance(uint16_t appearance);
- virtual ble_error_t getAppearance(uint16_t *appearanceP);
+ virtual ble_error_t setAppearance(GapAdvertisingData::Appearance appearance);
+ virtual ble_error_t getAppearance(GapAdvertisingData::Appearance *appearanceP);
virtual ble_error_t setTxPower(int8_t txPower);
virtual void getPermittedTxPowerValues(const int8_t **valueArrayPP, size_t *countP);
