Lines Matching refs:chrc
378 struct bt_gatt_chrc *chrc; in vocs_discover_func() local
380 chrc = (struct bt_gatt_chrc *)attr->user_data; in vocs_discover_func()
382 inst->start_handle = chrc->value_handle; in vocs_discover_func()
384 inst->end_handle = chrc->value_handle; in vocs_discover_func()
386 if (!bt_uuid_cmp(chrc->uuid, BT_UUID_VOCS_STATE)) { in vocs_discover_func()
388 inst->state_handle = chrc->value_handle; in vocs_discover_func()
390 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_VOCS_LOCATION)) { in vocs_discover_func()
392 inst->location_handle = chrc->value_handle; in vocs_discover_func()
393 if (chrc->properties & BT_GATT_CHRC_NOTIFY) { in vocs_discover_func()
396 if (chrc->properties & BT_GATT_CHRC_WRITE_WITHOUT_RESP) { in vocs_discover_func()
399 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_VOCS_CONTROL)) { in vocs_discover_func()
401 inst->control_handle = chrc->value_handle; in vocs_discover_func()
402 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_VOCS_DESCRIPTION)) { in vocs_discover_func()
404 inst->desc_handle = chrc->value_handle; in vocs_discover_func()
405 if (chrc->properties & BT_GATT_CHRC_NOTIFY) { in vocs_discover_func()
408 if (chrc->properties & BT_GATT_CHRC_WRITE_WITHOUT_RESP) { in vocs_discover_func()
417 sub_params->value_handle = chrc->value_handle; in vocs_discover_func()