Lines Matching refs:service
44 for (Service& service : services) { in FindService()
45 if (handle >= service.handle && handle <= service.end_handle) in FindService()
46 return &service; in FindService()
55 for (const Service& service : services) { in ToString() local
56 tmp << "Service: handle=" << loghex(service.handle) in ToString()
57 << ", end_handle=" << loghex(service.end_handle) in ToString()
58 << ", uuid=" << service.uuid << "\n"; in ToString()
60 for (const auto& is : service.included_services) { in ToString()
67 for (const Characteristic& c : service.characteristics) { in ToString()
87 for (const Service& service : services) { in Serialize() local
89 nv_attr.push_back({service.handle, in Serialize()
90 service.is_primary ? PRIMARY_SERVICE : SECONDARY_SERVICE, in Serialize()
91 {.service = {.uuid = service.uuid, in Serialize()
92 .end_handle = service.end_handle}}}); in Serialize()
95 for (const Service& service : services) { in Serialize() local
96 for (const IncludedService& p_isvc : service.included_services) { in Serialize()
104 for (const Characteristic& charac : service.characteristics) { in Serialize()
132 .uuid = attr.value.service.uuid, in Deserialize()
134 .end_handle = attr.value.service.end_handle, in Deserialize()