Lines Matching refs:svc
70 std::vector<btgatt_db_element_t> svc; in AddService() local
72 svc.push_back({.type = (service.primary() ? BTGATT_DB_PRIMARY_SERVICE in AddService()
77 svc.push_back({.type = BTGATT_DB_CHARACTERISTIC, in AddService()
82 svc.push_back({.type = BTGATT_DB_DESCRIPTOR, in AddService()
88 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService()
95 server_id_, svc); in AddService()
297 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument
303 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback()
304 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback()
305 << " count: " << svc.size(); in ServiceAddedCallback()
307 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {}); in ServiceAddedCallback()
309 for (size_t i = 1; i < svc.size(); i++) { in ServiceAddedCallback()
310 const btgatt_db_element_t& curr = svc[i]; in ServiceAddedCallback()
322 } else if (svc[i].type == BTGATT_DB_INCLUDED_SERVICE) { in ServiceAddedCallback()