Lines Matching refs:value_handle

59 	if (HANDLE_IS_VALID(inst->control_point_subscription.value_handle)) {  in get_capabilities()
215 params->value_handle = 0u; in control_point_notify_cb()
252 HANDLE_IS_VALID(inst->active_index_subscription.value_handle)) { in discover_complete()
267 const uint16_t value_handle = inst->control_point_subscription.value_handle; in cp_write() local
269 if (!HANDLE_IS_VALID(value_handle)) { in cp_write()
274 inst->params.write.handle = value_handle; in cp_write()
391 params->value_handle = 0u; in active_preset_notify_cb()
435 static int active_index_subscribe(struct bt_has_client *inst, uint16_t value_handle) in active_index_subscribe() argument
439 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in active_index_subscribe()
443 inst->active_index_subscription.value_handle = value_handle; in active_index_subscribe()
536 static int control_point_subscribe(struct bt_has_client *inst, uint16_t value_handle, in control_point_subscribe() argument
541 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in control_point_subscribe()
545 inst->control_point_subscription.value_handle = value_handle; in control_point_subscribe()
582 err = control_point_subscribe(inst, chrc->value_handle, chrc->properties); in control_point_discover_cb()
661 static int features_read(struct bt_has_client *inst, uint16_t value_handle) in features_read() argument
663 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in features_read()
669 inst->params.read.single.handle = value_handle; in features_read()
688 err = features_read(inst, inst->features_subscription.value_handle); in features_subscribe_cb()
718 params->value_handle = 0u; in features_notify_cb()
733 static int features_subscribe(struct bt_has_client *inst, uint16_t value_handle) in features_subscribe() argument
737 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in features_subscribe()
741 inst->features_subscription.value_handle = value_handle; in features_subscribe()
774 err = features_subscribe(inst, chrc->value_handle); in features_discover_cb()
780 err = features_read(inst, chrc->value_handle); in features_discover_cb()