On Thu, July 21, 2005 4:01 am, kbelinski said: > The SlimServer sends digitized music via either wireless or wired > connection to the SB2. What communication protocol is used for this > purpose? Is it TCP? UDP? or other streaming protocols? Pls advise. > Thanks.
At one point when I was trying to understand the SlimServer protocol
myself, I began to document the commands and structures that comprise the
protocol. Unfortunately I didn't get very far before being pulled away
for more pressing matters, but attached is what I did document. Perhaps
someone can finish this document for the rest of the SlimServer protocol.
--
Jason Voegele
"There is an essential core at the center of each man and woman that
remains unaltered no matter how life's externals may be transformed
or recombined. But it's smaller than we think."
-- Gene Wolfe, The Book of the Long Sun
Title: SlimServer Network Protocol
SlimServer Network Protocol
Player-Initiated Commands
These are commands that are initiated by the player and sent to the server.
The general structure for the commands is as follows:
- Four bytes containing the command name in ASCII encoding
- Variable number of bytes for command arguments
HELO
Sends a SlimServer discovery request.
Command Structure
| Byte 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| "HELO" | Device ID | Revision | MAC Address | Flags | |||||||||||
Field Descriptions
- "HELO" - ASCII encoding of the string "HELO".
- Device ID - ID of the player device???
- Revision - ???
- MAC Address - MAC address of the player's network card
- Flags - Four bytes containing the following:
- Graphical display flag: if the first bit is set, the player has a graphical bitmap display.
- Reconnect flag: if the second bit is set, this is a reconnect (???)
IR
Sends an remote control infrared (IR) command to the server.
STAT
Sends a status update to the server.
BYE!
Sends a "bye" command to the server.
Unknown Commands
These are commands that the SlimServer recognizes but are not used by the SoftSqueeze player, and hence I'm not sure of their purpose.
- RAWI
- RESP
- UREQ
_______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
