No changes

Fork of nRF51822 by Nordic Semiconductor

Revision:
424:28ea27dcba79
Parent:
423:9bf22621d592
Child:
429:bff56e081b6e
diff -r 9bf22621d592 -r 28ea27dcba79 source/nRF5xGattClient.h
--- a/source/nRF5xGattClient.h	Thu Aug 13 13:23:18 2015 +0100
+++ b/source/nRF5xGattClient.h	Thu Aug 13 13:23:18 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