Control API

This section describes the communication protocol between the control system and the MCP4k

Connection TCP (NGTC-MCP4k is server), Port 20108
Command Format h07CommandParameter)hB3h0Dh0A or h07CommandhB3 h0D h0A
Caution

All commands start with h07 which is hex 07, end with hB3h0Dh0A which is in hex B3, 0D and 0A
If a command has a parameter, the parameter is right after the command, with no whitespaces inbetween

Caution

Send only one command at the time and wait for reply before sending the next one

Example

Communication Get Version
Request h07GVERhB3h0Dh0A
Reply h07RVER000hB3h0Dh0A

Subsections of Control API

General

Version

Communication Get Version
Request h07GVERhB3h0Dh0A
Reply h07RVER000hB3h0Dh0A

Source

Version

Select source

Communication Command Parameter Example
Request h07SINPhB3h0Dh0A
000: HDMI 1
001: HDMI 2
002: HDMI 3
003: HDMI 4
004: SPDIF
005: Analog
h07SINP002hB3h0Dh0A
Reply

Request active source number

Communication Command Parameter Example
Request h07GINP000hB3h0Dh0A
h07GINP000hB3h0Dh0A
Reply h07RINP002hB3h0Dh0A

Speaker Setup

Select speaker setup

Communication Command Parameter Example
Request h07SMODhB3h0Dh0A
2.1: 2ch, full range
3.1: 2ch, full range, LFE
5.1: 5ch, full range, LFE
7.1: 5ch, full range, LFE
h07SMOD003hB3h0Dh0A
Reply

Request active speaker setup

Communication Command Parameter Example
Request h07GMODhB3h0Dh0A
h07GMODhB3h0Dh0A
Reply h07RMOD003hB3h0Dh0A

Audio

Select post processing

Communication Command Parameter Example
Request h07SDSPhB3h0Dh0A
0: None
1: STEREO
2: PROLOGIC II MUSIC
3: PROLOGIC II MOVIE
4: DTS NEO6 MUSIC
4: DTS NEO6 MOVIE
h07SDSP004hB3h0Dh0A
Reply

Request active post processing number

Communication Command Parameter Example
Request h07GDSP000hB3h0Dh0A
h07GDSP000hB3h0Dh0A
Reply h07RDSP004hB3h0Dh0A

Request active audio format

Request active post processing number

Communication Command Parameter Example
Request h07GSFO000hB3h0Dh0A
1: Idle
2: PCM
4: Bitstream compressed 1
8: Bitstream compressed 2
32: HD Audio
h07GSFO000hB3h0Dh0A
Reply h07RSFO001hB3h0Dh0A