From da3ec664e5e88ea867bc2269755bd99caa56d059 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Wed, 20 Jul 2022 14:26:24 +0200 Subject: [PATCH] [rotel] Fix syntax of few ASCII commands (#13148) Impacted channels: track and playControl for models CD11, CD14 and RCD1572 Signed-off-by: Laurent Garnier --- .../binding/rotel/internal/communication/RotelCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/communication/RotelCommand.java b/bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/communication/RotelCommand.java index d2d249737b964..6d2a561c20036 100644 --- a/bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/communication/RotelCommand.java +++ b/bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/communication/RotelCommand.java @@ -199,7 +199,7 @@ public enum RotelCommand { ATMOS("Dolby Atmos", "dolby_atmos", "dolby_atmos"), NEURAL_X("dts Neural:X", "dts_neural", "dts_neural"), BYPASS("Analog Bypass", PRIMARY_CMD, (byte) 0x11, "bypass", "bypass"), - DSP_MODE("Request current DSP mode", "get_dsp_mode", "dsp_mode"), + DSP_MODE("Request current DSP mode", "get_dsp_mode", null), TONE_MAX("Request Max tone level", "get_tone_max", null), TONE_CONTROL_SELECT("Tone Control Select", PRIMARY_CMD, (byte) 0x67), TREBLE_UP("Treble Up", PRIMARY_CMD, (byte) 0x0D, "treble_up", "treble_up"), @@ -215,10 +215,10 @@ public enum RotelCommand { STOP("Stop Source", PRIMARY_CMD, (byte) 0x06, "stop", "stop"), PAUSE("Pause Source", PRIMARY_CMD, (byte) 0x05, "pause", "pause"), CD_PLAY_STATUS("Request CD play status", "get_cd_play_status", null), - PLAY_STATUS("Request source play status", "get_play_status", "status"), + PLAY_STATUS("Request source play status", "get_play_status", "status?"), TRACK_FORWARD("Track Forward", PRIMARY_CMD, (byte) 0x09, "track_fwd", "trkf"), TRACK_BACKWORD("Track Backward", PRIMARY_CMD, (byte) 0x08, "track_back", "trkb"), - TRACK("Request current CD track number", null, "track"), + TRACK("Request current CD track number", null, "track?"), FREQUENCY("Request current frequency for digital source input", "get_current_freq", "freq?"), DISPLAY_REFRESH("Display Refresh", PRIMARY_CMD, (byte) 0xFF), DIMMER_LEVEL_GET("Request current front display dimmer level", "get_current_dimmer", "dimmer?"),