Lines Matching refs:chrc
581 struct bt_gatt_chrc *chrc; in aics_discover_func() local
583 chrc = (struct bt_gatt_chrc *)attr->user_data; in aics_discover_func()
585 inst->cli.start_handle = chrc->value_handle; in aics_discover_func()
587 inst->cli.end_handle = chrc->value_handle; in aics_discover_func()
589 if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_STATE)) { in aics_discover_func()
591 inst->cli.state_handle = chrc->value_handle; in aics_discover_func()
593 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_GAIN_SETTINGS)) { in aics_discover_func()
595 inst->cli.gain_handle = chrc->value_handle; in aics_discover_func()
596 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_INPUT_TYPE)) { in aics_discover_func()
598 inst->cli.type_handle = chrc->value_handle; in aics_discover_func()
599 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_INPUT_STATUS)) { in aics_discover_func()
601 inst->cli.status_handle = chrc->value_handle; in aics_discover_func()
603 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_CONTROL)) { in aics_discover_func()
605 inst->cli.control_handle = chrc->value_handle; in aics_discover_func()
606 } else if (!bt_uuid_cmp(chrc->uuid, BT_UUID_AICS_DESCRIPTION)) { in aics_discover_func()
608 inst->cli.desc_handle = chrc->value_handle; in aics_discover_func()
609 if (chrc->properties & BT_GATT_CHRC_NOTIFY) { in aics_discover_func()
613 if (chrc->properties & BT_GATT_CHRC_WRITE_WITHOUT_RESP) { in aics_discover_func()
622 sub_params->value_handle = chrc->value_handle; in aics_discover_func()