Lines Matching refs:attr
128 const auto& attr = *it; in Deserialize() local
129 if (attr.type != PRIMARY_SERVICE && attr.type != SECONDARY_SERVICE) break; in Deserialize()
131 .handle = attr.handle, in Deserialize()
132 .uuid = attr.value.service.uuid, in Deserialize()
133 .is_primary = (attr.type == PRIMARY_SERVICE), in Deserialize()
134 .end_handle = attr.value.service.end_handle, in Deserialize()
140 const auto& attr = *it; in Deserialize() local
145 current_service_it->end_handle < attr.handle) { in Deserialize()
150 !HandleInRange(*current_service_it, attr.handle)) { in Deserialize()
152 << loghex(attr.handle); in Deserialize()
157 if (attr.type == INCLUDE) { in Deserialize()
159 FindService(result.services, attr.value.included_service.handle); in Deserialize()
166 .handle = attr.handle, in Deserialize()
167 .uuid = attr.value.included_service.uuid, in Deserialize()
168 .start_handle = attr.value.included_service.handle, in Deserialize()
169 .end_handle = attr.value.included_service.end_handle, in Deserialize()
171 } else if (attr.type == CHARACTERISTIC) { in Deserialize()
173 .declaration_handle = attr.handle, in Deserialize()
174 .uuid = attr.value.characteristic.uuid, in Deserialize()
175 .value_handle = attr.value.characteristic.value_handle, in Deserialize()
176 .properties = attr.value.characteristic.properties, in Deserialize()
181 Descriptor{.handle = attr.handle, .uuid = attr.type}); in Deserialize()