2015, Marilyn Systems, llc.
31
ASCII Serial Protocol
The ASCII serial protocol is specified in the “Mode” parameter of the [Serial] section. The communication
speed specified in the [BaudRate] parameter will be used. All characters are 8-bit, no-parity, 1-stop bit.
ASCII serial commands consist of an optional address, a two-character command mnemonic, and an
optional list of comma-separated parameters. Addresses and numeric parameters are specified as
unsigned integer values. Leading zeros are not necessary and will be ignored if included. All serial
commands are terminated with a “CR” (0x0D) character.
Address
Number from 1 to 255. If the address matches that set in the configuration file, the player will respond
to the following command. An address of 255 is regarded as a broadcast address and all devices on
the serial bus will respond to the following command.
Commands and Parameters
1
2
3
4
(uninterrupted)
BGM mode loop. Fade rate and
volume will remain in effect until
BGM mode is stopped
specified level at the specified rate
Table 24
Examples:
PL02 – Play track 2 on the DAR-01
ST
– Stop the DAR-01
BG1,10,100,20
– Loop tracks 1 through 10 in BGM mode. Volume = 100 and fade-time = 2
seconds.
03PL04 – Play track 4 on the DAR-01 with address 3.