Home
last modified time | relevance | path

Searched refs:GattAttribute (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_server.cpp70 struct GattAttribute { struct
77 GattAttribute(uint16_t handle, UUID uuid, int attrType) in GattAttribute() function
99 case GattAttribute::GATT_SERVICE: in GetAttributeTypeString()
101 case GattAttribute::GATT_CHARACTERISTIC: in GetAttributeTypeString()
103 case GattAttribute::GATT_DESCRIPTOR: in GetAttributeTypeString()
114 std::vector<std::shared_ptr<GattAttribute>> attributes;
152 auto attribute = std::make_shared<GattAttribute>(handle, uuid, attrType); in AddAttribute()
158 static std::shared_ptr<GattAttribute> GetAttribute(int serverId, int serviceIndex, in GetAttribute()
159 std::function<bool(GattAttribute &)> predicate) in GetAttribute()
178 static std::shared_ptr<GattAttribute> GetAttributeWithHandle(int serverId, int handle) in GetAttributeWithHandle()
[all …]