Openwear requires RC oscillator to be used

Fork of nRF51822 by Nordic Semiconductor

Revision:
37:c29c330d942c
Parent:
0:eff01767de02
diff -r bd0186ce644a -r c29c330d942c nordic/nrf-sdk/s110/ble_gattc.h
--- a/nordic/nrf-sdk/s110/ble_gattc.h	Thu Jul 03 10:01:02 2014 +0100
+++ b/nordic/nrf-sdk/s110/ble_gattc.h	Mon Jul 07 13:43:31 2014 +0100
@@ -14,12 +14,13 @@
 #ifndef BLE_GATTC_H__
 #define BLE_GATTC_H__
 
-#include "nordic_global.h"
 #include "ble_gatt.h"
 #include "ble_types.h"
 #include "ble_ranges.h"
 #include "nrf_svc.h"
 
+/** @addtogroup BLE_GATTC_ENUMERATIONS Enumerations
+ * @{ */
 
 /**@brief GATTC API SVC numbers. */
 enum BLE_GATTC_SVCS
@@ -35,6 +36,8 @@
   SD_BLE_GATTC_HV_CONFIRM                                      /**< Handle Value Confirmation. */
 };
 
+/** @} */
+
 /** @addtogroup BLE_GATTC_DEFINES Defines
  * @{ */
 
@@ -48,6 +51,9 @@
 
 /** @} */
 
+/** @addtogroup BLE_GATTC_STRUCTURES Structures
+ * @{ */
+
 /**@brief Operation Handle Range. */
 typedef struct
 {
@@ -94,9 +100,9 @@
 /**@brief Write Parameters. */
 typedef struct
 {
-  uint8_t    write_op;                 /**< Write Operation to be performed, see BLE_GATT_WRITE_OPS. */
+  uint8_t    write_op;                 /**< Write Operation to be performed, see @ref BLE_GATT_WRITE_OPS. */
   uint16_t   handle;                   /**< Handle to the attribute to be written. */
-  uint16_t   offset;                   /**< Offset in bytes. */
+  uint16_t   offset;                   /**< Offset in bytes. @note For WRITE_CMD and WRITE_REQ, offset must be 0. */
   uint16_t   len;                      /**< Length of data in bytes. */
   uint8_t*   p_value;                  /**< Pointer to the value data. */
   uint8_t    flags;                    /**< Flags, see @ref BLE_GATT_EXEC_WRITE_FLAGS. */
@@ -226,7 +232,10 @@
     ble_gattc_evt_timeout_t                     timeout;                    /**< Timeout Event Parameters. */
   } params;                                                                 /**< Event Parameters. @note Only valid if @ref gatt_status == BLE_GATT_STATUS_SUCCESS. */
 } ble_gattc_evt_t;
+/** @} */
 
+/** @addtogroup BLE_GATTC_FUNCTIONS Functions
+ * @{ */
 
 /**@brief Initiate or continue a GATT Primary Service Discovery procedure.
  *
@@ -387,6 +396,7 @@
  */
 SVCALL(SD_BLE_GATTC_HV_CONFIRM, uint32_t, sd_ble_gattc_hv_confirm(uint16_t conn_handle, uint16_t handle));
 
+/** @} */
 
 #endif /* BLE_GATTC_H__ */