11#include <ble/core/auto/ble_types.h>
19 *cbBleGattCharacteristicData)(
const void* context,
const uint8_t** data, uint16_t* data_len);
23 FlipperGattCharacteristicDataFixed,
24 FlipperGattCharacteristicDataCallback,
25} BleGattCharacteristicDataType;
28 Char_Desc_Uuid_t uuid;
30 cbBleGattCharacteristicData fn;
35 uint8_t security_permissions;
36 uint8_t access_permissions;
37 uint8_t gatt_evt_mask;
51 cbBleGattCharacteristicData fn;
57 BleGattCharacteristicDataType data_prop_type : 2;
58 uint8_t is_variable : 2;
59 uint8_t uuid_type : 2;
60 uint8_t char_properties;
61 uint8_t security_permissions;
62 uint8_t gatt_evt_mask;
67 "BleGattCharacteristicParams size must be 36 bytes");
72 uint16_t descriptor_handle;
77void ble_gatt_characteristic_init(
84void ble_gatt_characteristic_delete(
94bool ble_gatt_characteristic_update(
99bool ble_gatt_service_add(
100 uint8_t Service_UUID_Type,
101 const Service_UUID_t* Service_UUID,
102 uint8_t Service_Type,
103 uint8_t Max_Attribute_Records,
104 uint16_t* Service_Handle);
106bool ble_gatt_service_delete(uint16_t svc_handle);