Lines Matching refs:svc
70 std::vector<btgatt_db_element_t> svc; in AddService() local
72 svc.push_back({ in AddService()
79 svc.push_back({.uuid = characteristic.uuid(), in AddService()
84 svc.push_back({.uuid = descriptor.uuid(), in AddService()
90 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService()
97 server_id_, svc); in AddService()
299 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument
305 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback()
306 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback()
307 << " count: " << svc.size(); in ServiceAddedCallback()
309 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {}); in ServiceAddedCallback()
311 for (size_t i = 1; i < svc.size(); i++) { in ServiceAddedCallback()
312 const btgatt_db_element_t& curr = svc[i]; in ServiceAddedCallback()
324 } else if (svc[i].type == BTGATT_DB_INCLUDED_SERVICE) { in ServiceAddedCallback()