Nordic stack and drivers for the mbed BLE API

Fork of nRF51822 by Nordic Semiconductor

Revision:
146:ebe2aa09aa13
Parent:
131:b21411170d00
Child:
155:8f2079052f77
diff -r 9f88997021a1 -r ebe2aa09aa13 btle/custom/custom_helper.cpp
--- a/btle/custom/custom_helper.cpp	Fri May 08 15:33:57 2015 +0100
+++ b/btle/custom/custom_helper.cpp	Fri May 08 15:33:57 2015 +0100
@@ -197,18 +197,18 @@
     @retval     ERROR_NONE        Everything executed normally
 */
 /**************************************************************************/
-error_t custom_add_in_characteristic(uint16_t    service_handle,
-                                     ble_uuid_t *p_uuid,
-                                     uint8_t     properties,
-                                     GattCharacteristic::ble_gatt_char_required_security_t requiredSecurity,
-                                     uint8_t    *p_data,
-                                     uint16_t    min_length,
-                                     uint16_t    max_length,
-                                     const uint8_t *userDescriptionDescriptorValuePtr,
-                                     uint16_t    userDescriptionDescriptorValueLen,
-                                     bool        readAuthorization,
-                                     bool        writeAuthorization,
-                                     ble_gatts_char_handles_t *p_char_handle)
+error_t custom_add_in_characteristic(uint16_t                            service_handle,
+                                     ble_uuid_t                         *p_uuid,
+                                     uint8_t                             properties,
+                                     GattCharacteristic::SecurityMode_t  requiredSecurity,
+                                     uint8_t                            *p_data,
+                                     uint16_t                            min_length,
+                                     uint16_t                            max_length,
+                                     const uint8_t                      *userDescriptionDescriptorValuePtr,
+                                     uint16_t                            userDescriptionDescriptorValueLen,
+                                     bool                                readAuthorization,
+                                     bool                                writeAuthorization,
+                                     ble_gatts_char_handles_t           *p_char_handle)
 {
     /* Characteristic metadata */
     ble_gatts_attr_md_t   cccd_md;