Lines Matching refs:read
462 struct bt_has_client *inst = CONTAINER_OF(params, struct bt_has_client, params.read); in active_index_read_cb()
495 (void)memset(&inst->params.read, 0, sizeof(inst->params.read)); in active_index_read()
499 inst->params.read.func = active_index_read_cb; in active_index_read()
500 inst->params.read.handle_count = 0u; in active_index_read()
501 inst->params.read.by_uuid.uuid = &inst->params.uuid.uuid; in active_index_read()
502 inst->params.read.by_uuid.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in active_index_read()
503 inst->params.read.by_uuid.end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE; in active_index_read()
505 return bt_gatt_read(inst->conn, &inst->params.read); in active_index_read()
626 struct bt_has_client *inst = CONTAINER_OF(params, struct bt_has_client, params.read); in features_read_cb()
665 (void)memset(&inst->params.read, 0, sizeof(inst->params.read)); in features_read()
667 inst->params.read.func = features_read_cb; in features_read()
668 inst->params.read.handle_count = 1u; in features_read()
669 inst->params.read.single.handle = value_handle; in features_read()
670 inst->params.read.single.offset = 0u; in features_read()
672 return bt_gatt_read(inst->conn, &inst->params.read); in features_read()