High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
749:30b5e01ffe2d
Parent:
748:a0396fb04ce0
Child:
835:6556fcb2f51d
--- a/ble/GattCharacteristic.h	Tue Jul 21 13:25:39 2015 +0100
+++ b/ble/GattCharacteristic.h	Tue Jul 21 13:25:39 2015 +0100
@@ -264,7 +264,7 @@
                 and Section 3.3.3.1 for Extended Properties
     */
     /**************************************************************************/
-    typedef enum ble_gatt_char_properties_e {
+    enum Properties_t {
         BLE_GATT_CHAR_PROPERTIES_NONE                        = 0x00,
         BLE_GATT_CHAR_PROPERTIES_BROADCAST                   = 0x01, /**< Permits broadcasts of the Characteristic Value using Server Characteristic Configuration Descriptor. */
         BLE_GATT_CHAR_PROPERTIES_READ                        = 0x02, /**< Permits reads of the Characteristic Value. */
@@ -274,7 +274,7 @@
         BLE_GATT_CHAR_PROPERTIES_INDICATE                    = 0x20, /**< Permits indications of a Characteristic Value with acknowledgment. */
         BLE_GATT_CHAR_PROPERTIES_AUTHENTICATED_SIGNED_WRITES = 0x40, /**< Permits signed writes to the Characteristic Value. */
         BLE_GATT_CHAR_PROPERTIES_EXTENDED_PROPERTIES         = 0x80  /**< Additional characteristic properties are defined in the Characteristic Extended Properties Descriptor */
-    } ble_gatt_char_properties_t;
+    };
 
     /**************************************************************************/
     /*!
@@ -284,13 +284,13 @@
         \note   See https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml
     */
     /**************************************************************************/
-    typedef struct PresentationFormat {
+    struct PresentationFormat_t {
         uint8_t  gatt_format;    /**< Format of the value, see @ref ble_gatt_format_t. */
         int8_t   exponent;       /**< Exponent for integer data types. Ex. if Exponent = -3 and the char value is 3892, the actual value is 3.892 */
         uint16_t gatt_unit;      /**< UUID from Bluetooth Assigned Numbers, see @ref ble_gatt_unit_t. */
         uint8_t  gatt_namespace; /**< Namespace from Bluetooth Assigned Numbers, normally '1',  see @ref BLE_GATT_CPF_NAMESPACES. */
         uint16_t gatt_nsdesc;    /**< Namespace description from Bluetooth Assigned Numbers, normally '0', see @ref BLE_GATT_CPF_NAMESPACES. */
-    } presentation_format_t;
+    };
 
     /**
      *  @brief  Creates a new GattCharacteristic using the specified 16-bit