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: source/nRF5xGattClient.h
- Revision:
- 416:5b7d26035f2b
- Parent:
- 388:db85a09c27ef
- Child:
- 417:d79a89cccddd
--- a/source/nRF5xGattClient.h Tue Aug 11 15:14:23 2015 +0100
+++ b/source/nRF5xGattClient.h Tue Aug 11 15:14:23 2015 +0100
@@ -26,6 +26,12 @@
static nRF5xGattClient &getInstance();
/**
+ * When using S110, all Gatt client features will return
+ * BLE_ERROR_NOT_IMPLEMENTED
+ */
+#if !defined(MCU_NORDIC_16K_S110) && !defined(MCU_NORDIC_32K_S110)
+
+ /**
* Launch service discovery. Once launched, service discovery will remain
* active with callbacks being issued back into the application for matching
* services/characteristics. isActive() can be used to determine status; and
@@ -152,6 +158,8 @@
private:
nRF5xServiceDiscovery discovery;
+
+#endif // if !S110
};
#endif // ifndef __NRF51822_GATT_CLIENT_H__
\ No newline at end of file
