Searched refs:GattAttribute (Results 1 – 1 of 1) sorted by relevance
70 struct GattAttribute { struct77 GattAttribute(uint16_t handle, UUID uuid, int attrType) in GattAttribute() function99 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 …]