Home
last modified time | relevance | path

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

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_server.cpp67 struct GattAttribute { struct
74 GattAttribute(uint16_t handle, UUID uuid, int attrType) in GattAttribute() function
96 case GattAttribute::GATT_SERVICE: in GetAttributeTypeString()
98 case GattAttribute::GATT_CHARACTERISTIC: in GetAttributeTypeString()
100 case GattAttribute::GATT_DESCRIPTOR: in GetAttributeTypeString()
111 std::vector<std::shared_ptr<GattAttribute>> attributes;
149 auto attribute = std::make_shared<GattAttribute>(handle, uuid, attrType); in AddAttribute()
155 static std::shared_ptr<GattAttribute> GetAttribute(int serverId, int serviceIndex, in GetAttribute()
156 std::function<bool(GattAttribute &)> predicate) in GetAttribute()
175 static std::shared_ptr<GattAttribute> GetAttributeWithHandl
[all...]

Completed in 2 milliseconds