update GattCharacteristic::ble_gatt_char_required_security_t to SecurityMode_t

This commit is contained in:
Rohit Grover 2015-05-07 08:30:49 +01:00
parent 1c3349f7a2
commit 4af88a2be7

View file

@ -197,18 +197,18 @@ error_t custom_decode_uuid_base(uint8_t const *const p_uuid_base,
@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;