Lines Matching refs:uuid

95 		if (copy->uuid) {  in notify_params_deep_copy_destroy()
96 free((void *)copy->uuid); in notify_params_deep_copy_destroy()
118 if (copy->uuid) { in notify_params_deep_copy_destroy_all()
119 free((void *)copy->uuid); in notify_params_deep_copy_destroy_all()
131 static struct bt_uuid *uuid_deep_copy(const struct bt_uuid *uuid) in uuid_deep_copy() argument
135 switch (uuid->type) { in uuid_deep_copy()
139 memcpy(copy, uuid, sizeof(struct bt_uuid_16)); in uuid_deep_copy()
144 memcpy(copy, uuid, sizeof(struct bt_uuid_32)); in uuid_deep_copy()
149 memcpy(copy, uuid, sizeof(struct bt_uuid_128)); in uuid_deep_copy()
152 zassert_unreachable("Unexpected uuid->type 0x%02x", uuid->type); in uuid_deep_copy()
167 if (params->uuid != NULL) { in notify_params_deep_copy()
168 copy->uuid = uuid_deep_copy(params->uuid); in notify_params_deep_copy()
182 zassert_true(params->uuid != NULL || params->attr != NULL, in bt_gatt_notify_cb()
207 const struct bt_uuid *uuid, in gatt_foreach_iter() argument
224 if (uuid && bt_uuid_cmp(uuid, attr->uuid)) { in gatt_foreach_iter()
246 const struct bt_uuid *uuid, const void *attr_data, in foreach_attr_type_dyndb() argument
266 if (gatt_foreach_iter(attr, attr->handle, start_handle, end_handle, uuid, in foreach_attr_type_dyndb()
277 const struct bt_uuid *uuid, in bt_gatt_foreach_attr_type() argument
302 end_handle, uuid, in bt_gatt_foreach_attr_type()
315 foreach_attr_type_dyndb(start_handle, end_handle, uuid, attr_data, in bt_gatt_foreach_attr_type()
407 bt_uuid_str(attrs->uuid), attrs->perm); in gatt_register()
436 if (!bt_uuid_cmp(svc->attrs[0].uuid, BT_UUID_GAP) || in bt_gatt_service_register()
437 !bt_uuid_cmp(svc->attrs[0].uuid, BT_UUID_GATT)) { in bt_gatt_service_register()
499 struct bt_uuid_16 uuid; in bt_gatt_discover() local
522 uuid.uuid.type = BT_UUID_TYPE_16; in bt_gatt_discover()
523 uuid.val = params->type; in bt_gatt_discover()
527 value.uuid = params->uuid; in bt_gatt_discover()
530 .uuid = &uuid.uuid, in bt_gatt_discover()