
Copyright 2013 Simon Brown
11 Network Protocol
All networking uses TCP/IP. The console creates two connections with the server:
Command and status,
Audio and FFT data.
Although one connection could be used the aim is to have the audio streaming with the
lowest possible latency, hence the two-channel approach. Nothing which is sent on the
command channel affects the data channel.
The information presented here is by no means complete; it servers only to outline the
technology used. If necessary the exact protocol and message formats will be documented
at a later date.
11.1 Command Channel
All commands are sent as UTF-8 XML, the XML is compressed using Lempel–Ziv–Storer–
Szymanski (LZSS) to reduce bandwidth.
The messages sent are:
Connection
o Ack, sent by the console every 500 milliseconds as a keep alive message.
The message contains a timestamp used to determine the round trip time.
o Login, sent when establishing a connection.
o UpdateDemod, updates the demodulation options for a VFO channel.
Radio
o Start, sent when starting a radio.
o Stop, sent when stopping a radio.
o UpdateRadio, update the radio settings such as RF gain.
Data (IQ) Recording
o RecorderStart, starts data (IQ) recording on the server.
o RecorderStop, stops data (IQ) recording on the server.
Data (IQ) Playback
o PlaybackFiles, server returns a list of recordings for a specific folder.
o PlaybackFileInfo, server returns detailed information for a specific recording
file.
o PlaybackFileGain, adjusts the gain in the player.
Kommentare zu diesen Handbüchern