]> git.basschouten.com Git - openhab-addons.git/commitdiff
[rotel] Fix syntax of few ASCII commands (#13148)
authorlolodomo <lg.hc@free.fr>
Wed, 20 Jul 2022 12:26:24 +0000 (14:26 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Jul 2022 12:26:24 +0000 (14:26 +0200)
Impacted channels: track and playControl for models CD11, CD14 and RCD1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/communication/RotelCommand.java

index d2d249737b9648e5e4a98775ff4d730712a11064..6d2a561c200364a51903c8d250304a78bc2e18dc 100644 (file)
@@ -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?"),