Lines Matching refs:chrc
549 struct bt_gatt_chrc *chrc = attr->user_data; in add_ccc() local
559 if (!(chrc->properties & in add_ccc()
585 struct bt_gatt_chrc *chrc = attr_chrc->user_data; in add_cep() local
589 if (!(chrc->properties & BT_GATT_CHRC_EXT_PROP)) { in add_cep()
688 struct bt_gatt_attr *chrc; in add_descriptor() local
716 chrc = get_base_chrc(LAST_DB_ATTR); in add_descriptor()
717 if (!chrc) { in add_descriptor()
721 if (alloc_descriptor(chrc, &cmd_data)) { in add_descriptor()
1246 struct btp_gatt_characteristic *chrc; in disc_chrc_cb() local
1260 chrc = gatt_buf_reserve(sizeof(*chrc) + uuid_length); in disc_chrc_cb()
1261 if (!chrc) { in disc_chrc_cb()
1267 chrc->characteristic_handle = sys_cpu_to_le16(attr->handle); in disc_chrc_cb()
1268 chrc->properties = data->properties; in disc_chrc_cb()
1269 chrc->value_handle = sys_cpu_to_le16(attr->handle + 1); in disc_chrc_cb()
1270 chrc->uuid_length = uuid_length; in disc_chrc_cb()
1275 memcpy(chrc->uuid, &u16, uuid_length); in disc_chrc_cb()
1277 memcpy(chrc->uuid, BT_UUID_128(data->uuid)->val, uuid_length); in disc_chrc_cb()