RS-232 & TCP/IP communication protocol
VP330
60
Oct 2021
Version : 2.1 (for firmware 1.11 or higher)
Byte
Role
Value (represented in
hexa)
Description
0
Synchro
0x80 | id
Sync byte and player ID
1
Command
0x04
Command to request information
2
Parameter
0x01
Player state-> PLAYING / STOP / PAUSE
/ ERROR
0x02
Filename of the current file. If state "stop",
the filename of the last played file.
0x03
Filename and path in the storage -
Example : 001/bird.mp4
0x04
Used media -> USB / SD / internal memory
0x05
Not in use
0x06
Foldername of the current playback -> 001
to 999 - Example : 005
0x07
Not in use
0x08
Not in use
0x09
remaining time for a played file -> hh:mm:
ss - Example : 00:05:14
0x0A
total time of a played file : hh:mm:ss -
Example : 01:42:27
0x0B
Player volume-> xx (0 to 100) - Example :
16
Player sends data in ASCII format on Tx . CR/LF (carriage return/ line feed) is sent at the end of the
frame.
Frame sent to the player to request player status: 0x81 0x04 0x01
Byte 1 : 0x81 : Byte of status, player number 001
Byte 2 : 0x04 : command to request information
Byte 3 : 0x01 : ask player status
Frame sent to the player to request player the remaining time of the file: 0x82 0x04 0x09
Byte 1 : 0x82 : Byte of status, player number 002
Byte 2 : 0x04 : command to request information
Byte 3 : 0x09 : ask remaining time
Player answers : 00:03:12 + CR/LF (in ASCII format) = 30 30 3A 30 33 3A 31 32 0D 0A (in Hex)