Command/response table for MSVPP commands (continued)
Command | MSVPP Command | Response | Additional description | |
|
| (host to unit) | (unit to host) |
|
Serial port Remote 1 configuration |
|
| ||
NOTES: • | Serial port Remote 2 is not configurable. It is for factory use only. |
|
| |
• | You can set the serial port configuration and mode via an MSVPP command and connected to serial port Remote 1, but it is not recommended. Changing the configuration | |||
| or mode while connected via the serial port disconnects the computer from the port. |
|
Configure serial port | SetSerialConfig•1•X2&•X2(•X2*•X3)} | OK] |
View serial port | GetSerialConfig•1} | SerialConfig•1•X2&X2(••X2*•X3)] |
configuration |
|
|
Set serial port mode | SetSerialMode•1•X3!} | OK] |
Example 1: | SetSerialMode•1•controlMSVPP} | OK] |
Example 2: | SetSerialMode•1•passthrough} | OK] |
View serial port mode | GetSerialMode•1} | SerialMode•1•X3!] |
Set the baud rate (X2&), data bits (X2(), parity (X2*), and stop bits (X3)) for serial port Remote 1.
Set serial port Remote 1 to control. The port accepts MSVPP commands, the media player acts on them, and makes responses on the port.
Set serial port Remote 1 to
JMP 9600 Media Player • Programming Guide 69
Ethernet configuration
NOTE: You can set the Ethernet port configuration variables via an MSVPP command and connected to that LAN port, but it is not recommended. Changing the configuration
variables for a port while connected via that LAN port disconnects the computer from the port.
Set IP configuration | SetIpConfig•X3@•X3#IP address•X3#Netmask} | OK] | Disable DHCP (if enabled) and set the following IP |
|
|
| address and Netmask (subnet mask) variables for port X3@. |
Example: | SetIpConfig•eth1•10.13.197.26•255.255.0.0} | Disable DHCP. Set the port 2 IP address to 10.13.197.26 | |
|
| OK] | and the subnet mask to 255.255.0.0. |
NOTE: Use the SetDhcp command to turn DHCP on.
View IP configuration | GetIPConfig•X3@} | IPConfig•X3@•X3#IP address•X3#Netmask] | |
KEY: X2& = Serial port baud rate | 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, or 115200 | ||
X2* | = Parity |
| “none”, “even”, or “odd” |
X2( = Data bits |
| 7 or 8 | |
X3) | = Stop bits |
| 1 or 2 |
X3! = Serial port mode | “controlMSVPP“, “disabled“, or “passthrough” | ||
X3@ = Ethernet port | “Eth0” or “Eth1” (for LAN port 1) or “Eth2” (for LAN port 2) | ||
NOTE: “Eth0” is accepted the same as “Eth1” in a Set command. “Eth0” is never reported in the response. | |||
X3# = IP address, netmask, gateway address | ###.###.###.### |