May 15, 2012 • Alcorn McBride TourTraXX User’s Manual • Rev 1.3 • Page 59
Send String
Description:
This command sends an ASCII string from TourTraXX to the specified destination.
Command Bytes:
"<s>"<d><o>SS
Parameters:
<s>
is the string to be sent
<d>
is the destination, one of:
S – Serial
U – UDP(over Ethernet)
B – USB Serial
<o>
is only required for UDP, and is the destination info in the form of:
<XXX.XXX.XXX.XXX>:<PPPPP>:<SSSSS>
where,
<XXX.XXX.XXX.XXX>
is
destination IP
<
PPPPP>
is
destination port
<
SSSSS>
is
source port
Comments:
The
<o>
field is not necessary if using Serial or USB Serial destination. You must
escape all special characters in the string to be sent(such as quotation marks). For
example, "State=\"Playing\"\r" would send: State="Playing"\r
Message Response:
R
Examples:
Send ‘Done’ out the serial port:
"Done"SSS
Send ‘Done Playing’ to 192.168.0.254 port 2639 from port 2640:
"Done Playing"U192.168.0.254:2639:2640SS
Send ‘State="Playing"\r’ to 192.168.0.254 port 2639 from port 2640:
"State=\"Playing\"\r"U192.168.0.254:2639:2640SS
Содержание TourTraXX
Страница 1: ...TourTraXX 16 Independent Mono MP3 Players with GPS User s Guide...
Страница 2: ......
Страница 4: ...Page ii May 15 2012 Alcorn McBride TourTraXX User s Manual Rev 1 3...