Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save paltaio-admin/0c6ca6c2a5210684fb6a81cbc913feeb to your computer and use it in GitHub Desktop.

Select an option

Save paltaio-admin/0c6ca6c2a5210684fb6a81cbc913feeb to your computer and use it in GitHub Desktop.
Samsung MDC Protocol Commands Reference

Samsung MDC Commands Reference

Protocol Overview

Samsung MDC (Multiple Display Control) protocol uses the following packet structure:

[Header] [Command] [ID] [Data Length] [Data...] [Checksum]
  • Header: Always 0xAA
  • Command: Command byte (see table below)
  • ID: Display ID (0x00 for direct connection, 0xFE for broadcast)
  • Data Length: Number of data bytes (0-16)
  • Data: Command-specific data bytes
  • Checksum: (Command + ID + Data Length + Sum(Data)) & 0xFF

Response Format

Standard ACK/NAK response format:

[Header] [0xFF] [ID] [Data Length] [ACK/NAK] [Original Command] [Response Data...] [Checksum]
  • ACK: 0x41 ('A')
  • NAK: 0x4E ('N')

Command Reference Table

Command Name Command Code Structure Serial Bytes Example Expected Response
Status Control 0x00 AA 00 ID 00 CS AA 00 00 00 00 (Query only) Response: AA FF 00 09 41 00 [power] [volume] [mute] [input] [aspect] [timer1] [timer2] CS
Video Control 0x04 AA 04 ID 00 CS AA 04 00 00 04 (Query only) Response: AA FF 00 0A 41 04 [contrast] [brightness] [sharpness] [color] [tint] [tone] [temp] 00 CS
RGB Control 0x06 AA 06 ID 00 CS AA 06 00 00 06 (Query only) Response: AA FF 00 0A 41 06 [contrast] [brightness] [tone] [temp] 00 [r_gain] [g_gain] [b_gain] CS
PIP Status 0x07 AA 07 ID 00 CS AA 07 00 00 07 (Query only) Response: AA FF 00 06 41 07 [pip_size] [pip_source] 00 00 CS
Maintenance 0x08 AA 08 ID 00 CS AA 08 00 00 08 (Query only) Response: Variable length with power, PIP, lamp, video wall data
Sound Control 0x09 AA 09 ID 00 CS AA 09 00 00 09 (Query only) Response: AA FF 00 0D 41 09 [vol] [balance] [100hz] [300hz] [1khz] [3khz] [10khz] 00 00 00 [srs] CS
Display Status 0x0D AA 0D ID 00 CS AA 0D 00 00 0D (Query only) Response: AA FF 00 08 41 0D [lamp_err] [temp_err] [sensor_err] [sync_err] [temp] [fan_err] CS
Auto Motion Plus 0x0F AA 0F ID 03 [mode] [blur] [judder] CS AA 0F 00 03 02 05 03 17 (Standard, blur=5, judder=3) ACK: AA FF 00 05 41 0F [mode] [blur] [judder] CS
Query: AA 0F 00 00 0F
Power Control 0x11 AA 11 ID 01 [state] CS AA 11 00 01 00 12 (Power OFF)
AA 11 00 01 01 13 (Power ON)
AA 11 00 01 02 14 (Reboot)
ACK: AA FF 00 03 41 11 [state] CS
Query: AA 11 00 00 11
Volume Control 0x12 AA 12 ID 01 [volume] CS AA 12 00 01 32 45 (Volume 50)
AA 12 00 01 64 77 (Volume 100)
ACK: AA FF 00 03 41 12 [volume] CS
Query: AA 12 00 00 12
Mute Control 0x13 AA 13 ID 01 [state] CS AA 13 00 01 00 14 (Mute OFF)
AA 13 00 01 01 15 (Mute ON)
ACK: AA FF 00 03 41 13 [state] CS
Query: AA 13 00 00 13
Input Select 0x14 AA 14 ID 01 [input] CS AA 14 00 01 21 36 (HDMI1)
AA 14 00 01 23 38 (HDMI2)
AA 14 00 01 31 46 (HDMI3)
ACK: AA FF 00 03 41 14 [input] CS
Picture Size 0x15 AA 15 ID 01 [ratio] CS AA 15 00 01 00 16 (Auto Wide)
AA 15 00 01 01 17 (16:9)
AA 15 00 01 0B 21 (4:3)
ACK: AA FF 00 03 41 15 [ratio] CS
Query: AA 15 00 00 15
Direct Channel (DTV) 0x17 AA 17 ID 08 [country] [atv_dtv] [air_cable] [ch_h] [ch_l] [minor] [minor_h] [minor_l] CS AA 17 00 08 01 01 00 00 05 00 00 00 1F (USA, DTV, Air, Ch 5) ACK: AA FF 00 0A 41 17 [country] [atv_dtv] [air_cable] [ch_h] [ch_l] [minor] [minor_h] [minor_l] CS
Query: AA 17 00 00 17
Info Display 0x17 AA 17 ID 01 01 CS AA 17 00 01 01 19 (Show Info) ACK: AA FF 00 03 41 17 01 CS
Screen Mode 0x18 AA 18 ID 01 [mode] CS AA 18 00 01 01 1A (16:9)
AA 18 00 01 04 1D (Zoom)
ACK: AA FF 00 03 41 18 [mode] CS
Query: AA 18 00 00 18
Screen Size 0x19 AA 19 ID 00 CS AA 19 00 00 19 (Query only) Response: AA FF 00 03 41 19 [size] CS
System Configuration 0x1B Various subcommands Network, WiFi, etc. Variable responses
MagicInfo Control 0x1C AA 1C ID [len] [subcmd] [data] CS Subcommands: 0x81 Channel, 0x82 Server, 0x83 Orientation Variable responses
MDC Connection Type 0x1D AA 1D ID 01 [type] CS AA 1D 00 01 00 1E (RS232)
AA 1D 00 01 01 1F (RJ45)
ACK: AA FF 00 03 41 1D [type] CS
Query: AA 1D 00 00 1D
Contrast Control 0x24 AA 24 ID 01 [contrast] CS AA 24 00 01 32 57 (Contrast 50) ACK: AA FF 00 03 41 24 [contrast] CS
Query: AA 24 00 00 24
Brightness 0x25 AA 25 ID 01 [brightness] CS AA 25 00 01 32 58 (Brightness 50)
AA 25 00 01 64 8A (Brightness 100)
ACK: AA FF 00 03 41 25 [brightness] CS
Query: AA 25 00 00 25
Sharpness Control 0x26 AA 26 ID 01 [sharpness] CS AA 26 00 01 32 59 (Sharpness 50) ACK: AA FF 00 03 41 26 [sharpness] CS
Query: AA 26 00 00 26
Color Control 0x27 AA 27 ID 01 [color] CS AA 27 00 01 32 5A (Color 50) ACK: AA FF 00 03 41 27 [color] CS
Query: AA 27 00 00 27
Tint Control 0x28 AA 28 ID 01 [tint] CS AA 28 00 01 32 5B (Tint 50) ACK: AA FF 00 03 41 28 [tint] CS
Query: AA 28 00 00 28
Coarse Control 0x2F AA 2F ID 01 [coarse] CS AA 2F 00 01 32 62 (Coarse 50) ACK: AA FF 00 03 41 2F [coarse] CS
Query: AA 2F 00 00 2F
Fine Control 0x30 AA 30 ID 01 [fine] CS AA 30 00 01 32 63 (Fine 50) ACK: AA FF 00 03 41 30 [fine] CS
Query: AA 30 00 00 30
H-Position Control 0x31 AA 31 ID 01 [h_pos] CS AA 31 00 01 32 64 (H-Pos 50) ACK: AA FF 00 03 41 31 [h_pos] CS
Query: AA 31 00 00 31
V-Position Control 0x32 AA 32 ID 01 [v_pos] CS AA 32 00 01 32 65 (V-Pos 50) ACK: AA FF 00 03 41 32 [v_pos] CS
Query: AA 32 00 00 32
Auto Power 0x33 AA 33 ID 01 [mode] CS AA 33 00 01 01 35 (Auto Power ON) ACK: AA FF 00 03 41 33 [mode] CS
Query: AA 33 00 00 33
Menu 0x34 AA 34 ID 01 01 CS AA 34 00 01 01 36 (Show Menu) ACK: AA FF 00 03 41 34 01 CS
Remote Control Enable 0x36 AA 36 ID 01 [state] CS AA 36 00 01 00 37 (Disable)
AA 36 00 01 01 38 (Enable)
ACK: AA FF 00 03 41 36 [state] CS
Query: AA 36 00 00 36
RGB Contrast 0x37 AA 37 ID 01 [contrast] CS AA 37 00 01 32 6A (RGB Contrast 50) ACK: AA FF 00 03 41 37 [contrast] CS
Query: AA 37 00 00 37
RGB Brightness 0x38 AA 38 ID 01 [brightness] CS AA 38 00 01 32 6B (RGB Brightness 50) ACK: AA FF 00 03 41 38 [brightness] CS
Query: AA 38 00 00 38
PIP On/Off 0x3C AA 3C ID 01 [state] CS AA 3C 00 01 00 3D (PIP OFF)
AA 3C 00 01 01 3E (PIP ON)
ACK: AA FF 00 03 41 3C [state] CS
Query: AA 3C 00 00 3C
Auto Adjustment 0x3D AA 3D ID 01 01 CS AA 3D 00 01 01 3F (Execute Auto Adjust) ACK: AA FF 00 03 41 3D 01 CS
Color Tone 0x3E AA 3E ID 01 [tone] CS AA 3E 00 01 00 3F (Cool)
AA 3E 00 01 01 40 (Normal)
AA 3E 00 01 02 41 (Warm)
ACK: AA FF 00 03 41 3E [tone] CS
Query: AA 3E 00 00 3E
Color Temperature 0x3F AA 3F ID 01 [temp] CS AA 3F 00 01 00 40 (6500K)
AA 3F 00 01 01 41 (9300K)
ACK: AA FF 00 03 41 3F [temp] CS
Query: AA 3F 00 00 3F
PIP Source 0x40 AA 40 ID 01 [source] CS AA 40 00 01 21 62 (HDMI1 for PIP) ACK: AA FF 00 03 41 40 [source] CS
Query: AA 40 00 00 40
PIP Size 0x42 AA 42 ID 01 [size] CS AA 42 00 01 00 43 (Large)
AA 42 00 01 01 44 (Medium)
AA 42 00 01 02 45 (Small)
ACK: AA FF 00 03 41 42 [size] CS
Query: AA 42 00 00 42
PIP Position 0x43 AA 43 ID 01 [pos] CS AA 43 00 01 00 44 (Top-Right)
AA 43 00 01 01 45 (Top-Left)
AA 43 00 01 02 46 (Bottom-Right)
AA 43 00 01 03 47 (Bottom-Left)
ACK: AA FF 00 03 41 43 [pos] CS
Query: AA 43 00 00 43
User Auto Color 0x45 AA 45 ID 01 [state] CS AA 45 00 01 00 46 (OFF)
AA 45 00 01 01 47 (ON)
ACK: AA FF 00 03 41 45 [state] CS
Query: AA 45 00 00 45
Sound Select 0x47 AA 47 ID 01 [select] CS AA 47 00 01 00 48 (Main)
AA 47 00 01 01 49 (Sub)
ACK: AA FF 00 03 41 47 [select] CS
Query: AA 47 00 00 47
Auto Volume 0x48 AA 48 ID 01 [mode] CS AA 48 00 01 00 49 (OFF)
AA 48 00 01 01 4A (Normal)
AA 48 00 01 02 4B (Night)
ACK: AA FF 00 03 41 48 [mode] CS
Query: AA 48 00 00 48
Standby Control 0x4A AA 4A ID 01 [mode] CS AA 4A 00 01 00 4B (Off)
AA 4A 00 01 01 4C (On)
AA 4A 00 01 02 4D (Auto)
ACK: AA FF 00 03 41 4A [mode] CS
Query: AA 4A 00 00 4A
Video Position & Size 0x4B AA 4B ID 05 [x_h] [x_l] [y_h] [y_l] [size] CS Multi-param for video positioning ACK: AA FF 00 07 41 4B [x_h] [x_l] [y_h] [y_l] [size] CS
Query: AA 4B 00 00 4B
EQ 100Hz 0x51 AA 51 ID 01 [level] CS AA 51 00 01 0A 5C (EQ 100Hz level 10) ACK: AA FF 00 03 41 51 [level] CS
Query: AA 51 00 00 51
EQ 300Hz 0x52 AA 52 ID 01 [level] CS AA 52 00 01 0A 5D (EQ 300Hz level 10) ACK: AA FF 00 03 41 52 [level] CS
Query: AA 52 00 00 52
EQ 1kHz 0x53 AA 53 ID 01 [level] CS AA 53 00 01 0A 5E (EQ 1kHz level 10) ACK: AA FF 00 03 41 53 [level] CS
Query: AA 53 00 00 53
EQ 3kHz 0x54 AA 54 ID 01 [level] CS AA 54 00 01 0A 5F (EQ 3kHz level 10) ACK: AA FF 00 03 41 54 [level] CS
Query: AA 54 00 00 54
EQ 10kHz 0x55 AA 55 ID 01 [level] CS AA 55 00 01 0A 60 (EQ 10kHz level 10) ACK: AA FF 00 03 41 55 [level] CS
Query: AA 55 00 00 55
Safety Lock 0x5D AA 5D ID 01 [state] CS AA 5D 00 01 00 5E (Unlock)
AA 5D 00 01 01 5F (Lock)
ACK: AA FF 00 03 41 5D [state] CS
Query: AA 5D 00 00 5D
Panel Lock 0x5F AA 5F ID 01 [state] CS AA 5F 00 01 00 60 (Unlock)
AA 5F 00 01 01 61 (Lock)
ACK: AA FF 00 03 41 5F [state] CS
Query: AA 5F 00 00 5F
Channel Change 0x61 AA 61 ID 01 [dir] CS AA 61 00 01 00 62 (Channel UP)
AA 61 00 01 01 63 (Channel DOWN)
ACK: AA FF 00 03 41 61 [dir] CS
Volume Change 0x62 AA 62 ID 01 [dir] CS AA 62 00 01 00 63 (Volume UP)
AA 62 00 01 01 64 (Volume DOWN)
ACK: AA FF 00 03 41 62 [dir] CS
Ticker 0x63 AA 63 ID [len] [text_data] CS Text ticker display ACK: AA FF 00 03 41 63 01 CS
Sound Select Control 0x65 AA 65 ID 01 [mode] CS AA 65 00 01 00 66 (Internal)
AA 65 00 01 01 67 (External)
ACK: AA FF 00 03 41 65 [mode] CS
Query: AA 65 00 00 65
Device Name 0x67 AA 67 ID 00 CS AA 67 00 00 67 (Query only) Response: AA FF 00 [len] 41 67 [name_data] CS
Speaker Select 0x68 AA 68 ID 01 [select] CS AA 68 00 01 00 69 (Internal)
AA 68 00 01 01 6A (External)
ACK: AA FF 00 03 41 68 [select] CS
Query: AA 68 00 00 68
OSD Control 0x70 AA 70 ID 01 [state] CS AA 70 00 01 00 71 (OSD OFF)
AA 70 00 01 01 72 (OSD ON)
ACK: AA FF 00 03 41 70 [state] CS
Query: AA 70 00 00 70
Picture Mode 0x71 AA 71 ID 01 [mode] CS AA 71 00 01 00 72 (Dynamic)
AA 71 00 01 01 73 (Standard)
AA 71 00 01 02 74 (Movie)
ACK: AA FF 00 03 41 71 [mode] CS
Query: AA 71 00 00 71
Sound Mode 0x72 AA 72 ID 01 [mode] CS AA 72 00 01 00 73 (Standard)
AA 72 00 01 01 74 (Music)
AA 72 00 01 02 75 (Movie)
ACK: AA FF 00 03 41 72 [mode] CS
Query: AA 72 00 00 72
Digital NR 0x73 AA 73 ID 01 [level] CS AA 73 00 01 00 74 (OFF)
AA 73 00 01 01 75 (Low)
AA 73 00 01 02 76 (Medium)
AA 73 00 01 03 77 (High)
ACK: AA FF 00 03 41 73 [level] CS
Query: AA 73 00 00 73
PC Color Tone 0x75 AA 75 ID 01 [tone] CS AA 75 00 01 00 76 (Cool)
AA 75 00 01 01 77 (Normal)
AA 75 00 01 02 78 (Warm)
ACK: AA FF 00 03 41 75 [tone] CS
Query: AA 75 00 00 75
All Keys Lock 0x77 AA 77 ID 01 [state] CS AA 77 00 01 00 78 (Unlock)
AA 77 00 01 01 79 (Lock)
ACK: AA FF 00 03 41 77 [state] CS
Query: AA 77 00 00 77
SRS TSXT 0x78 AA 78 ID 01 [mode] CS AA 78 00 01 00 79 (OFF)
AA 78 00 01 01 7A (ON)
ACK: AA FF 00 03 41 78 [mode] CS
Query: AA 78 00 00 78
Film Mode 0x79 AA 79 ID 01 [mode] CS AA 79 00 01 00 7A (OFF)
AA 79 00 01 01 7B (Auto1)
AA 79 00 01 02 7C (Auto2)
ACK: AA FF 00 03 41 79 [mode] CS
Query: AA 79 00 00 79
Video Wall On 0x84 AA 84 ID 01 [state] CS AA 84 00 01 00 85 (OFF)
AA 84 00 01 01 86 (ON)
ACK: AA FF 00 03 41 84 [state] CS
Query: AA 84 00 00 84
Dynamic Contrast 0x87 AA 87 ID 01 [level] CS AA 87 00 01 00 88 (OFF)
AA 87 00 01 01 89 (Low)
AA 87 00 01 02 8A (Medium)
AA 87 00 01 03 8B (High)
ACK: AA FF 00 03 41 87 [level] CS
Query: AA 87 00 00 87
Model Name 0x8A AA 8A ID 00 CS AA 8A 00 00 8A (Query only) Response: AA FF 00 [len] 41 8A [model_name] CS
Game Mode 0x90 AA 90 ID 01 [state] CS AA 90 00 01 00 91 (OFF)
AA 90 00 01 01 92 (ON)
ACK: AA FF 00 03 41 90 [state] CS
Query: AA 90 00 00 90
Energy Saving 0x92 AA 92 ID 01 [mode] CS AA 92 00 01 00 93 (OFF)
AA 92 00 01 01 94 (Low)
AA 92 00 01 02 95 (Medium)
AA 92 00 01 03 96 (High)
ACK: AA FF 00 03 41 92 [mode] CS
Query: AA 92 00 00 92
HDMI Black Level 0x94 AA 94 ID 01 [level] CS AA 94 00 01 00 95 (Normal)
AA 94 00 01 01 96 (Low)
ACK: AA FF 00 03 41 94 [level] CS
Query: AA 94 00 00 94
Black Adjust 0x95 AA 95 ID 01 [level] CS AA 95 00 01 00 96 (OFF)
AA 95 00 01 01 97 (Dark)
AA 95 00 01 02 98 (Darker)
AA 95 00 01 03 99 (Darkest)
ACK: AA FF 00 03 41 95 [level] CS
Query: AA 95 00 00 95
Gamma 0x96 AA 96 ID 01 [gamma] CS AA 96 00 01 00 97 (-3)
AA 96 00 01 01 98 (-2)
AA 96 00 01 02 99 (-1)
AA 96 00 01 03 9A (0)
AA 96 00 01 04 9B (+1)
AA 96 00 01 05 9C (+2)
AA 96 00 01 06 9D (+3)
ACK: AA FF 00 03 41 96 [gamma] CS
Query: AA 96 00 00 96
Edge Enhancement 0x9C AA 9C ID 01 [level] CS AA 9C 00 01 00 9D (OFF)
AA 9C 00 01 01 9E (ON)
ACK: AA FF 00 03 41 9C [level] CS
Query: AA 9C 00 00 9C
Color Space 0x9D AA 9D ID 01 [space] CS AA 9D 00 01 00 9E (Auto)
AA 9D 00 01 01 9F (Native)
ACK: AA FF 00 03 41 9D [space] CS
Query: AA 9D 00 00 9D
xvYCC 0x9E AA 9E ID 01 [state] CS AA 9E 00 01 00 9F (OFF)
AA 9E 00 01 01 A0 (ON)
ACK: AA FF 00 03 41 9E [state] CS
Query: AA 9E 00 00 9E
Reset Control 0x9F AA 9F ID 01 [type] CS AA 9F 00 01 00 A0 (Picture Reset)
AA 9F 00 01 01 A1 (Sound Reset)
AA 9F 00 01 02 A2 (Setup Reset)
AA 9F 00 01 03 A3 (Reset All)
AA 9F 00 01 04 A4 (Screen Display Reset)
ACK: AA FF 00 03 41 9F [type] CS
Timer 1 Control 0xA4 AA A4 ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 A4 01 CS
Query: AA A4 00 00 A4
Timer 2 Control 0xA5 AA A5 ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 A5 01 CS
Query: AA A5 00 00 A5
Timer 3 Control 0xA6 AA A6 ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 A6 01 CS
Query: AA A6 00 00 A6
Timer 4 Control 0xAB AA AB ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 AB 01 CS
Query: AA AB 00 00 AB
Timer 5 Control 0xAC AA AC ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 AC 01 CS
Query: AA AC 00 00 AC
Timer 6 Control 0xAD AA AD ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 AD 01 CS
Query: AA AD 00 00 AD
Timer 7 Control 0xAE AA AE ID [len] [timer_data] CS Complex timer configuration ACK: AA FF 00 03 41 AE 01 CS
Query: AA AE 00 00 AE
Virtual Remote 0xB0 AA B0 ID 01 [key] CS AA B0 00 01 02 B3 (Power Key)
AA B0 00 01 07 B8 (Volume Up)
AA B0 00 01 0B BC (Volume Down)
AA B0 00 01 0F C0 (Mute)
AA B0 00 01 1A CB (Menu)
AA B0 00 01 68 19 (Enter)
ACK: AA FF 00 03 41 B0 [key] CS
DisplayPort Daisy Chain 0xB1 AA B1 ID 01 [state] CS AA B1 00 01 00 B2 (OFF)
AA B1 00 01 01 B3 (ON)
ACK: AA FF 00 03 41 B1 [state] CS
Query: AA B1 00 00 B1
Exit 0xB2 AA B2 ID 01 01 CS AA B2 00 01 01 B4 (Exit) ACK: AA FF 00 03 41 B2 01 CS
Network Standby 0xB5 AA B5 ID 01 [state] CS AA B5 00 01 00 B6 (OFF)
AA B5 00 01 01 B7 (ON)
ACK: AA FF 00 03 41 B5 [state] CS
Query: AA B5 00 00 B5
Display ID Info 0xB9 AA B9 ID 01 [state] CS AA B9 00 01 00 BA (Hide ID)
AA B9 00 01 01 BB (Show ID)
ACK: AA FF 00 03 41 B9 [state] CS
Remote Control 0xC1 AA C1 ID 01 [key] CS AA C1 00 01 06 C8 (UP)
AA C1 00 01 86 48 (DOWN)
AA C1 00 01 46 08 (LEFT/RIGHT)
AA C1 00 01 16 D8 (ENTER)
AA C1 00 01 58 1A (RETURN)
AA C1 00 01 B5 77 (Picture Size)
ACK: AA FF 00 03 41 C1 [key] CS
Execute Launcher 0xC7 AA C7 ID [len] [subcmd] [data] CS AA C7 00 02 81 00 4A (Play Via MagicInfo)
AA C7 00 02 81 01 4B (Play Via URL)
AA C7 00 02 81 02 4C (Play Via MagicIWB)
ACK: AA FF 00 03 41 C7 [subcmd] CS
Orientation Control 0xC8 AA C8 ID 02 [subcmd] [mode] CS AA C8 00 02 81 00 4B (Menu Landscape 0°)
AA C8 00 02 82 01 4D (Source Portrait 270°)
AA C8 00 02 84 03 51 (PIP Portrait 90°)
ACK: AA FF 00 04 41 C8 [subcmd] [mode] CS
Query: AA C8 00 01 [subcmd] CS
Panel On/Off 0xF9 AA F9 ID 01 [state] CS AA F9 00 01 00 FA (Panel OFF)
AA F9 00 01 01 FB (Panel ON)
ACK: AA FF 00 03 41 F9 [state] CS
Query: AA F9 00 00 F9

Additional Commands from Official Protocol

Command Name Command Code Data Type Description
Serial Number 0x0B String Get device serial number
SW Version 0x0E String Get software version
Model Number 0x10 Multi Param Get panel type, model code, tuner support
Contrast Control 0x24 0-100 Set/Get contrast
Sharpness Control 0x26 0-100 Set/Get sharpness
Color Control 0x27 0-100 Set/Get color
Tint Control 0x28 0-100 Set/Get tint
Video Control 0x04 Multi Param Get video settings (contrast, brightness, etc.)

Data Value References

Power States

  • 0x00: Power OFF
  • 0x01: Power ON
  • 0x02: Reboot

Input Sources (Official Protocol)

  • 0x04: S-Video
  • 0x08: Component
  • 0x0C: AV1 (AV)
  • 0x0D: AV2
  • 0x0E: Ext. (SCART1)
  • 0x14: PC
  • 0x18: DVI
  • 0x1E: BNC
  • 0x1F: DVI_VIDEO
  • 0x20: MagicInfo
  • 0x21: HDMI1
  • 0x22: HDMI1_PC
  • 0x23: HDMI2
  • 0x24: HDMI2_PC
  • 0x25: DisplayPort
  • 0x26: DisplayPort2
  • 0x27: DisplayPort3
  • 0x30: RF(TV)
  • 0x31: HDMI3
  • 0x32: HDMI3_PC
  • 0x33: HDMI4
  • 0x34: HDMI4_PC
  • 0x40: TV (DTV)
  • 0x50: Plug In Module
  • 0x55: HDBaseT
  • 0x56: DCM
  • 0x60: Media/MagicInfo S
  • 0x61: WiDi/Screen Mirroring
  • 0x62: Internal/USB
  • 0x63: URL Launcher
  • 0x65: Web Browser
  • 0x66: Web Workspace
  • 0x68: Remote Workspace

Remote Control Keys (0xC1)

  • 0x06: UP
  • 0x86: DOWN
  • 0x46: LEFT/RIGHT
  • 0x16: ENTER
  • 0x58: RETURN
  • 0xB5: Picture Size

Virtual Remote Keys (0xB0)

  • 0x01: SOURCE
  • 0x02: POWER
  • 0x03: Key 2
  • 0x04: Key 1
  • 0x06: Key 3
  • 0x07: VOLUME UP
  • 0x08: Key 4
  • 0x09: Key 5
  • 0x0A: Key 6
  • 0x0B: VOLUME DOWN
  • 0x0C: Key 7
  • 0x0D: Key 8
  • 0x0E: Key 9
  • 0x0F: MUTE
  • 0x10: CHANNEL DOWN
  • 0x11: Key 0
  • 0x12: CHANNEL UP
  • 0x14: GREEN
  • 0x15: CYAN
  • 0x16: YELLOW
  • 0x1A: MENU
  • 0x1F: DISPLAY/INFO
  • 0x23: DIGIT
  • 0x24: PIP TV VIDEO
  • 0x2D: EXIT
  • 0x30: MAGICINFO
  • 0x45: REW
  • 0x46: STOP
  • 0x47: PLAY
  • 0x48: FF
  • 0x4A: PAUSE
  • 0x4B: TOOLS
  • 0x58: RETURN
  • 0x5B: MAGICINFO LITE
  • 0x60: CURSOR UP
  • 0x61: CURSOR DOWN
  • 0x62: CURSOR RIGHT
  • 0x65: CURSOR LEFT
  • 0x68: ENTER

Picture Size/Aspect Ratios (Official Protocol)

Video Mode:

  • 0x00: Auto Wide
  • 0x01: 16:9 (Landscape)
  • 0x04: Zoom
  • 0x05: Zoom1
  • 0x06: Zoom2
  • 0x09: Just Scan (Screen Fit)
  • 0x0B: 4:3 (Portrait-ish)
  • 0x0C: Wide Fit
  • 0x0D: Custom
  • 0x0E: Smart View 1
  • 0x0F: Smart View 2
  • 0x31: Wide Zoom
  • 0x32: 21:9 (Ultra-wide)

PC Mode:

  • 0x10: PC Mode 16:9
  • 0x18: PC Mode 4:3
  • 0x20: PC Mode Original Ratio
  • 0x21: PC Mode 21:9
  • 0x22: PC Mode Custom

Orientation Modes

  • 0x00: Landscape (0°)
  • 0x01: Portrait (270°)
  • 0x02: Landscape (180°)
  • 0x03: Portrait (90°)
  • 0x04: Landscape (90°)

Orientation Sub-commands

  • 0x81: Menu Orientation
  • 0x82: Source Content Orientation
  • 0x83: Aspect Ratio (under portrait mode)
  • 0x84: PIP Rotation

Reset Types

  • 0x00: Picture Reset
  • 0x01: Sound Reset
  • 0x02: Setup Reset (System Reset)
  • 0x03: Reset All
  • 0x04: Screen Display Reset

Play Via Modes (Execute Launcher 0x81)

  • 0x00: MagicInfo
  • 0x01: URL Launcher
  • 0x02: MagicIWB

System Configuration Sub-commands (0x1B)

  • 0x82: Network Configuration
  • 0x85: Network IP Mode
  • 0x8A: Network Access Point Configuration
  • 0xA2: Weekly Restart
  • 0xA4: Check Software Version

Auto Motion Plus Modes (0x0F)

  • 0x00: Off
  • 0x01: Clear
  • 0x02: Standard
  • 0x03: Smooth
  • 0x04: Custom
  • 0x05: Demo
  • 0x06: Auto

Screen Mode Values (0x18)

  • 0x01: 16:9
  • 0x04: Zoom
  • 0x09: 4:3
  • 0x31: Wide Zoom

MDC Connection Types (0x1D)

  • 0x00: RS232
  • 0x01: RJ45

Color Tone Values (0x3E, 0x75)

  • 0x00: Cool
  • 0x01: Normal
  • 0x02: Warm

Color Temperature Values (0x3F)

  • 0x00: 6500K
  • 0x01: 9300K
  • 0x02: 5000K
  • 0x03: 10000K

PIP Size Values (0x42)

  • 0x00: Large
  • 0x01: Medium
  • 0x02: Small

PIP Position Values (0x43)

  • 0x00: Top-Right
  • 0x01: Top-Left
  • 0x02: Bottom-Right
  • 0x03: Bottom-Left

Auto Volume Modes (0x48)

  • 0x00: OFF
  • 0x01: Normal
  • 0x02: Night

Picture Mode Values (0x71)

  • 0x00: Dynamic
  • 0x01: Standard
  • 0x02: Movie
  • 0x03: Natural
  • 0x04: Calibration

Sound Mode Values (0x72)

  • 0x00: Standard
  • 0x01: Music
  • 0x02: Movie
  • 0x03: Clear Voice
  • 0x04: Amplify

Digital NR Levels (0x73)

  • 0x00: OFF
  • 0x01: Low
  • 0x02: Medium
  • 0x03: High
  • 0x04: Auto

Film Mode Values (0x79)

  • 0x00: OFF
  • 0x01: Auto1
  • 0x02: Auto2

Dynamic Contrast Levels (0x87)

  • 0x00: OFF
  • 0x01: Low
  • 0x02: Medium
  • 0x03: High

Energy Saving Modes (0x92)

  • 0x00: OFF
  • 0x01: Low
  • 0x02: Medium
  • 0x03: High
  • 0x04: Picture Off

HDMI Black Level (0x94)

  • 0x00: Normal
  • 0x01: Low

Black Adjust Levels (0x95)

  • 0x00: OFF
  • 0x01: Dark
  • 0x02: Darker
  • 0x03: Darkest

Gamma Values (0x96)

  • 0x00: -3
  • 0x01: -2
  • 0x02: -1
  • 0x03: 0
  • 0x04: +1
  • 0x05: +2
  • 0x06: +3

Color Space Values (0x9D)

  • 0x00: Auto
  • 0x01: Native
  • 0x02: Custom

EQ Level Range (0x51-0x55)

  • Range: 0x00 to 0x14 (0-20)
  • Center: 0x0A (10, equivalent to menu "0")
  • Menu range: -10 to +10 maps to 0x00 to 0x14

MagicInfo Sub-commands (0x1C)

  • 0x81: MagicInfo Channel
  • 0x82: MagicInfo Server Settings
  • 0x83: MagicInfo Content Orientation

Query Commands

To query current settings, send the command with data length 0x00:

Query Type Command Example
Status Control AA 00 00 00 00 Returns power, volume, mute, input, aspect, timers
Video Settings AA 04 00 00 04 Returns contrast, brightness, sharpness, color, tint, tone, temp
RGB Settings AA 06 00 00 06 Returns RGB contrast, brightness, gains
PIP Status AA 07 00 00 07 Returns PIP size and source
Maintenance Info AA 08 00 00 08 Returns device maintenance data
Sound Settings AA 09 00 00 09 Returns volume, balance, EQ, SRS settings
Display Status AA 0D 00 00 0D Returns lamp, temperature, sensor, sync errors
Auto Motion Plus AA 0F 00 00 0F Returns motion plus settings
Power State AA 11 00 00 11 Returns current power state
Volume Level AA 12 00 00 12 Returns current volume (0-100)
Mute State AA 13 00 00 13 Returns current mute state
Input Source AA 14 00 00 14 Returns current input source
Picture Size AA 15 00 00 15 Returns current aspect ratio
DTV Channel AA 17 00 00 17 Returns current TV channel info
Screen Mode AA 18 00 00 18 Returns current screen mode
Screen Size AA 19 00 00 19 Returns screen size
MDC Connection AA 1D 00 00 1D Returns connection type
Contrast AA 24 00 00 24 Returns contrast level
Brightness AA 25 00 00 25 Returns current brightness
Sharpness AA 26 00 00 26 Returns sharpness level
Color AA 27 00 00 27 Returns color level
Tint AA 28 00 00 28 Returns tint level
Coarse AA 2F 00 00 2F Returns coarse adjustment
Fine AA 30 00 00 30 Returns fine adjustment
H-Position AA 31 00 00 31 Returns horizontal position
V-Position AA 32 00 00 32 Returns vertical position
Auto Power AA 33 00 00 33 Returns auto power mode
Remote Control AA 36 00 00 36 Returns remote control state
RGB Contrast AA 37 00 00 37 Returns RGB contrast
RGB Brightness AA 38 00 00 38 Returns RGB brightness
PIP On/Off AA 3C 00 00 3C Returns PIP state
Color Tone AA 3E 00 00 3E Returns color tone
Color Temperature AA 3F 00 00 3F Returns color temperature
PIP Source AA 40 00 00 40 Returns PIP source
PIP Size AA 42 00 00 42 Returns PIP size
PIP Position AA 43 00 00 43 Returns PIP position
User Auto Color AA 45 00 00 45 Returns auto color state
Sound Select AA 47 00 00 47 Returns sound selection
Auto Volume AA 48 00 00 48 Returns auto volume mode
Standby Control AA 4A 00 00 4A Returns standby mode
Video Position/Size AA 4B 00 00 4B Returns video position and size
EQ 100Hz AA 51 00 00 51 Returns 100Hz EQ level
EQ 300Hz AA 52 00 00 52 Returns 300Hz EQ level
EQ 1kHz AA 53 00 00 53 Returns 1kHz EQ level
EQ 3kHz AA 54 00 00 54 Returns 3kHz EQ level
EQ 10kHz AA 55 00 00 55 Returns 10kHz EQ level
Safety Lock AA 5D 00 00 5D Returns safety lock state
Panel Lock AA 5F 00 00 5F Returns panel lock state
Sound Select Control AA 65 00 00 65 Returns sound mode
Device Name AA 67 00 00 67 Returns device name
Speaker Select AA 68 00 00 68 Returns speaker selection
OSD Control AA 70 00 00 70 Returns OSD state
Picture Mode AA 71 00 00 71 Returns picture mode
Sound Mode AA 72 00 00 72 Returns sound mode
Digital NR AA 73 00 00 73 Returns noise reduction level
PC Color Tone AA 75 00 00 75 Returns PC color tone
All Keys Lock AA 77 00 00 77 Returns all keys lock state
SRS TSXT AA 78 00 00 78 Returns SRS state
Film Mode AA 79 00 00 79 Returns film mode
Video Wall AA 84 00 00 84 Returns video wall state
Dynamic Contrast AA 87 00 00 87 Returns dynamic contrast
Model Name AA 8A 00 00 8A Returns model name string
Game Mode AA 90 00 00 90 Returns game mode state
Energy Saving AA 92 00 00 92 Returns energy saving mode
HDMI Black Level AA 94 00 00 94 Returns HDMI black level
Black Adjust AA 95 00 00 95 Returns black adjust level
Gamma AA 96 00 00 96 Returns gamma setting
Edge Enhancement AA 9C 00 00 9C Returns edge enhancement
Color Space AA 9D 00 00 9D Returns color space
xvYCC AA 9E 00 00 9E Returns xvYCC state
Timer 1-7 AA A4-AE 00 00 CS Returns timer configurations
DisplayPort Daisy AA B1 00 00 B1 Returns daisy chain state
Network Standby AA B5 00 00 B5 Returns network standby
Serial Number AA 0B 00 00 0B Returns serial number
Software Version AA 0E 00 00 0E Returns software version
Model Info AA 10 00 00 10 Returns panel type, model code, tuner support
Panel On/Off AA F9 00 00 F9 Returns panel state

Special Commands

Direct Channel Control (DTV) - 0x17

AA 17 ID 08 [country] [atv_dtv] [air_cable] [ch_high] [ch_low] [sel_minor] [minor_high] [minor_low] CS

Parameters:

  • Country: 0=Korea, 1=USA, etc.
  • ATV_DTV: 0=Analog TV, 1=Digital TV
  • Air_Cable: 0=Air, 1=Cable
  • CH_NUM: Channel number (Analog: 1-135, Digital: 0-999)
  • Sel_Minor: 0=No minor channel, 1=Minor channel selected
  • Minor_CH: Minor channel number (0-999)

Video Picture Position & Size - 0x4B

AA 4B ID 05 [x_pos_high] [x_pos_low] [y_pos_high] [y_pos_low] [size] CS

Ticker Display - 0x63

AA 63 ID [text_length] [text_data...] CS

MagicInfo Control - 0x1C

AA 1C ID [length] [subcmd] [data...] CS

Sub-commands:

  • 0x81: MagicInfo Channel
  • 0x82: MagicInfo Server Settings
  • 0x83: MagicInfo Content Orientation

Timer Controls - 0xA4 to 0xAE

Complex timer configuration with multiple parameters for scheduling power on/off, input switching, volume control, etc.

WiFi Configuration (0x1B 0x8A)

AA 1B ID [total_length] 8A [data_length] 00 [ssid_length] [SSID] 01 [password_length] [PASSWORD] CS

Example for SSID "MyWiFi" and password "password123":

AA 1B 00 19 8A 17 00 06 4D 79 57 69 46 69 01 0B 70 61 73 73 77 6F 72 64 31 32 33 CS

Network Configuration (0x1B 0x82)

AA 1B ID 11 82 [IP1] [IP2] [IP3] [IP4] [MASK1] [MASK2] [MASK3] [MASK4] [GW1] [GW2] [GW3] [GW4] [DNS1] [DNS2] [DNS3] [DNS4] CS

Network IP Mode (0x1B 0x85)

AA 1B ID 02 85 [mode] CS
  • 0x00: Dynamic (DHCP)
  • 0x01: Static

URL Address Setting (0xC7 0x82)

AA C7 ID [length] 82 [url_length] [URL_BYTES] CS

MAC Address Query (0x1B subcmd 0x81)

AA 1B 00 01 81 CS

Response contains MAC address in format: XX:XX:XX:XX:XX:XX


Notes

  1. Display ID: Use 0x00 for direct connection, 0xFE for broadcast
  2. Checksum: Always calculated as (sum of all bytes except header and checksum) & 0xFF
  3. Response Timeout: Commands typically respond within 1-3 seconds
  4. Fast Commands: Some commands have "fast" variants that don't wait for response
  5. Data Limits: Maximum data length is 16 bytes
  6. UART Settings: 9600 baud, 8N1 (8 data bits, no parity, 1 stop bit)
  7. Model Compatibility: Not all commands are supported by all models
  8. Power Control: Power ON/OFF commands should be retried 3 times with 2-second intervals

Common Error Responses

  • NAK Response: AA FF 00 03 4E [original_command] [error_code] CS
  • Invalid Command: Device may not respond or send NAK
  • Invalid Data: NAK with error code
  • Communication Error: No response (timeout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment