Literature .................................................................................................. 67
Glossary of Terms 69
Index 71
XML SDK V8.7.0 Remote Control Interface Contents vii
Version
Date
Changes
Beta
20-Jul-2005
Initial draft
Release
25-Jan-2006
1.1
15-Jul-2006
Added:
BinaryFFT element
fft-data-format
frame-length
frame-format
1.2
7-May-2007
Minor bug fixes
Added:
passband-center
passband-bandwidth
MilStanagMessageType element
1.3
25-Mar-2008
New codes in table
New diversity parameter
New threshold-level parameter
New layout
Added:
ClassifierSetup element
Get element - item
classifiersetup settings
1.4
13-Aug-2008
W-CODE added
1.5
15-Nov-2008
Added:
AlphabetList Element
Get element - item
New codes in table
1.6
20-May-2009
CustomInputList Element
Get element - item (CustomInputList)
Set element - item (CustomInput)
New codes in table
Welcome
Congratulations on your purchase of a WAVECOM decoder product. The product that you bought incorporates the latest technology in data decoding together with the latest software release available at the time
of shipment.
Please check our website http://www.wavecom.ch for software updates.
Always check the latest documentation on the installation DVD or on our website.
We thank you for choosing WAVECOM decoder and look forward to working with you in the future.
Options
Various options to the decoder series are available from WAVECOM.
In the manual, options are marked with “(Option)”.
Training
WAVECOM provides training on the WAVECOM XML interface. Training can take place at a customer selected location or at our offices in Switzerland.
Revisions
XML SDK V8.7.0 Remote Control Interface Welcome 1
MilStanagMessageType:
Parity changed
Display format changed
robust-packet-radio replaced with robust-packet
1.7
11-Nov-2009
IP-CONF: correction of wrong spelling
Additional range information for the port number, sampling rate and number-
of-channels attributes
6.8.1
10-Feb-2010
Release version system changed. In the future the XMLRCI manual and a software release will have identical release versions
MilStanagMessageType element: display-format “ascii” removed and documen-
tation changed
CustomInput element: sr-finetuning=““ removed
Documentation improved and errors corrected
7.0
22-Nov-2010
Timeslot parameter removed
SAT-A and METEOSAT removed
CODAN renamed to CODAN-SELCAL
Shift and center changed from short to integer.
MilStanagMessageType “auto-detect” added.
BR-6028 changed from demodulator type to mode
dPMR added
TETRA added
X.25 added
New parameters and commands added for Classsifier-Code-Check (CCC)
7.1
16-Mar-2011
ClassifierSetup documentation completed
“CC-timeout”, “CC-table” etc. changed to lower case
APCO-25 added
7.2
27-Jul-2011
Manual revised
GW-OFDM added
LINK-11 added
cc-table-vhfdir and cc-table-vhfind added
CC and CCC restart command added
Removed: AGC on, off, low-noise
Changed: low pass
7.4
16-Sept-2011
Just increase the version number to match that of the W-PCI/e and W-CODE.
8.0
05-Dec-2011
Increase the version number to match that of the W-PCI/e and W-CODE.
8.1.00
01-Feb-2012
A new parameter “output-demod-symbol” for demodulated symbol output with
the value “on” and “off”.
Parameter “translation” renamed to “offset”.
Add “display-mode” to Pactor
8.2.00
30-Nov-2012
Add on several new mode strings.
8.3.00
01-Jun-2013
Change mode string “chinese-4-4” to “chn-4-4”.
Add on WCloudSources message.
8.3.01
06-Jun-2013
Add commands to retrieve CCC tables (Get CC Table HF, Get CC Table VHFDIR and Get CC Table VHF-SUB).
8.4.00
25-Nov-2013
Classifier results streamed in a structured way, by their tags.
API improved.
DMR has a “bit-transparent” output. Choose via “subcode” in “Parameter
name”.
8.5.0
20-March-2014
New mode: MIL-188-110A-MOD.
New mode: THROB and THROBX.
dPMR has a “bit-transparent” output. Choose via “subcode” in “Parameter
2 Welcome XML SDK V8.7.0 Remote Control Interface
name”.
Small correction in “alphabet” parameter.
8.6.0
20-Oct-2014
Add the message “Confidence”.
Add following strings of new decoders to the parameter “code”: clover-2500,
sat-b-c-hsd and sat-mini-m-c-hsd.
8.7.0
05-March-2015
Add new modes: SAT-AERO-P, SAT-AERO-C, SAT-AERO-R and SAT-AERO-T.
Add new parameters: “acars-reassemble” and “acars-enable-ads-c”.
Add new parameters: “live-sound-mute” to turn on/off sound output to the
speaker.
New “CustomInput” element supporting the VITA-49 format.
Version
Date
Issue
All
7-Feb-2011
Incomplete un-installation of XML RCI SDK
Cause:
A windows background application is started if you start the RCI test
software. This software continues running even if the RCI test software
is stopped. Because of this the directory is still in use if you start a uninstallation of the XML RCI SDK and installation is incomplete.
Solution:
Restart your computer.
Run un-installation of the XML RCI SDK.
Category
Direction
Data type
Data
Server to client
Text, images, binary data, analysis data
Metadata
Server to client
Parameter information
Command
Client to server
Settings
Information
Server to client
Settings
Error
Server to client
Error messages
Issues
XML Messages
Scope
This section describes all XML messages used to interact with the WAVECOM Remote Control Interface
(RCI) and contains information from the DTD (Document Type Definition). The DTD file is available in the
XMLRCI installation folder.
Constraints
The values used in the description of the XML messages are only valid in the XML Remote Control Interface context. In the context of the business logic of the WAVECOM decoders the values may be invalid.
Message categories
Messages are divided into five categories:
Data messages contain data derived from the captured signal, i.e., text, images, binary or analysis data.
Metadata messages return parameter values.
Command messages allow the client to control the behavior of the server and the decoder(s) it controls.
XML SDK V8.7.0 Remote Control Interface XML Messages 3
Information messages provide information about the hardware, the software or hardware versions, the
state of the decoders, and the state and configuration of the server.
Error messages provide information about server system errors (not errors in the decoded data).
Encoding
The XML files are encoded in UTF-8, UTF-16 or Unicode.
Message template
XML header
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Message SYSTEM "RCI/1.0/DTD/WAVECOM.dtd">
The XML header is not interpreted by the server and may be included or omitted. For server messages the
header is empty.
Message elements
The implied attributes instance/subinstance, serial-nr, date and time only contain a value if the extended message header is set on the server. This can be done by sending a set configuration message.
Attribute List
version
The message version is formatted as major.minor version. A server will handle all messages from a client
as long as the major versions of the server and the client are equal and the minor version of the server is
equal to or greater than the minor version of the client. This attribute is locked to the version of the DTD
in the current Wavecom DTD.
instance
subinstance
In future decoder releases multiple codes may be instantiated on a single card. This feature requires that
the server knows the destination of the message or the client knows the source of the message. These attributes are implied and are not used in this release.
serial-nr
The serial number of the decoder assigned to this client. This attribute is implied and represents a string.
date
Date of message creation. This attribute is implied and represents a string. The format of date is
YYYYMMDD.
time
Time of message creation. This attribute is implied and represents a string. The format of time is
hh:mm:ss:milliseconds.
Content
The content is a choice between the Data, Metadata, Command, Information and Error elements.
4 XML Messages XML SDK V8.7.0 Remote Control Interface
Indicates how the content is encoded. This attribute is required and may assume the values “base2”,
“base16”, “base64” or “base64-mime”. The difference between “base64” and “base64-mime” is the way
the encoded string is terminated. Both encodings use the same character set, but “base64-mime” follows
the specification for SMTP messages and aligns the string to four characters and fills unused positions with
the padding character “=”, whereas “base64” reduces the number of characters to just the ones required,
depending on the bit count.
bit-count
Indicates the number of bits transferred excluding trailing zeros which are appended to achieve byte
boundary alignment. This attribute is required and is a string representing a positive integer.
Content
The content is a string of data decoded by the decoder and encoded as described by the encoding attribute.
The IAS (ISO-ASYNCHRONOUS and SYNCHRONOUS modes) Bit Stream Output sends a raw, synchronized
bit stream (FSK, some PSK only) to an external application. Before data can be transferred, the parameters of the decoder software (e.g. demodulator, shift frequency, center frequency etc.) must be set to correct values.
In case of “base2” encoding, a “FALSE” bit is encoded as character ‘0’, “TRUE” as character ‘1’.
In case of “base16” encoding, 4 bits are encoded by their respective hexadecimal character, i.e., ‘0’ to ‘F’.
In case of “base64(-mime)” encoding, 6 bits are represented by a single character of the base64-code.
XML SDK V8.7.0 Remote Control Interface Data messages 5
Specifies the channel from which decoded data originates. In case of single channel systems, the value is
always channel “A”. This attribute is required and may assume the values “A”, “B”, “C” and “D”.
error-indication
Indicates an error in the decoded data. This attribute is required and is a choice between “no” or “yes”.
Note: The channel information and the error indication are valid for all content of a single text element.
Content
The content is either a Translated element, a Raw element, or both.
Translated element
Text
</Translated>
Content
</Text>
</Data>
</Message>
Attribute List
alphabet
Indicates which alphabet is used to translate the decoded data. This attribute is required and represents a
string (for values, see section “Parameter names and values”).
Indicates the number of pixels (points) returned. This attribute is required and represents an integer.
Count is 1 in case of type “Fax” and 2 in case of “FFT”and “SSTV”.
Content
The content is a sequence of one or more Point elements or a single BinaryFFT element.
The coordinates of the returned pixel. These attributes are implied and represents integers or floating
point values depending on the type of graphic.
rgb
RGB color information values. This attribute is implied and is a string. It is sent in a hex format
0xRRGGBB, where each of the colors red, green and blue has a weight between 0 and 255.
Content
This element has no content.
8 Data messages XML SDK V8.7.0 Remote Control Interface
Encoding type
Bits per character
Character set
base2
1
0, 1
base16
4
0-9, A-F
base64
6
0-9, A-Z, a-z ,+, /
base64-mime
6
0-9, A-Z, a-z, +, / (“=” padding character for byte alignment)
The content is the binary encoded FFT data. The encoding type (base2, base16, base64 or base64-mime)
is set by the Set Configuration Message.
Characters are converted into bits according to the selected encoding type.
Each FFT value is represented by a signed 16 bit word, where 12 bits are used for the integer part and 4
bits are used for the real part of the value. The following example shows how to extract the FFT value
from a bit stream:
Indicates the type of metadata returned. This attribute is required and is a choice between “code” and
“code-list”. “code” is synonymous with the term “mode” used when referring to the decoder.
Content
The content is a sequence of one or more MDCode elements.
MDCode message
MDCode element
10 Metadata messages XML SDK V8.7.0 Remote Control Interface
Returns the name of the mode being decoded. This attribute is required and is a choice between all possible modes (for values see section “Parameter names and values”).
Content
The content is a sequence of zero or more MDParameter elements, zero or more MDModulation elements and zero or more MDInput elements.
Indicates the modulation type used. This attribute is required and is a choice between all possible modul ation types (for values see section “Parameter names and values”).
Content
The content is a sequence of zero or more MDParameter elements.
The content is a choice between the elements Speed, ParameterList, Configuration, Key, MilStanagMessageType, ClassifierSetup, CustomInput and WCloudSources.
Speed element
14 Command messages XML SDK V8.7.0 Remote Control Interface
The Message element has a few implied attributes (see message template) which are only filled by the
server if recommended by the client, and the message-header attribute sets the filling preferences. This
attribute is implied and is a choice between “short” and “extended”.
text-data-format
Specifies how the content is displayed in a text data message. This attribute is implied and is a choice be-
tween “translated”, “raw” and “all”. “translated” indicates that the decoded text is translated with the se-
lected alphabet. “raw” indicates the decoded text is raw and unformatted. “all” indicates that all formats of
displaying the text are transferred.
binary-data-format
Indicates how the content is encoded. This attribute is required and may assume the value of “base2”,
“base16”, “base64” or “base64-mime”. The difference between “base64” and “base64-mime” is the way of
the encoded string is terminated. The difference between “base64” and “base64-mime” is the way the
encoded string is terminated. Both encodings use the same character set, but “base64-mime” follows the
specification for SMTP messages and aligns the string to four characters and fills unused positions with the
padding character “=”, whereas “base64” reduces the number of characters to just the ones required, depending on the bit count.
information-indicators-interval-per-minute
Determines the maximum number of information indicator messages per minute sent to the client. If configured to 60 messages per minute the client will receive between 0 and 60 messages per minute. A value
of 0 indicates that no messages are sent and a value greater than 6000 indicates that all messages are
sent. This attribute is implied and represents an integer.
fft-interval-per-second
Determines the maximum number of FFT graphic messages per second sent to the client. If configured to
20 messages per second the client will receive between 0 – 20 messages per second. A value of 0 indicates that no messages are sent and a value greater than 100 indicates that that all messages are sent.
This attribute is implied and represents an integer.
fft-data-format
Determines the FFT data format. This attribute may assume the values “text” or “binary”. The default set-
ting is “text”.
The sync mode is a choice between "async" and "sync".
data-bits
The number of data bits. The valid range is 5 to 8.
parity-bits
The parity bit is a choice among "none", “even”, “odd”, “mark” and "space".
stop-bits
The number of stop bits. The valid range is 0 to 2.
Valid attribute combinations:
bit-sequence
The bit sequence order is a choice between "lsb" and "msb".
data-polarity
The data polarity is a choice between "nor" and "inv".
auto-detect
The auto-detect command is a choice between “start”, and “stop”.
The auto-detect information is a choice between “idle”, “active”, and “success”.
display-format
The display format is a choice among "ita5", "ita2", "hex" and "binary".
The Stanag-4285 mode includes an additional display format, "s5066".
Valid combinations:
Note: Depending attributes are forced to valid values if their current values are not compatible with the
updated reference attribute. For example, if display-formatis changed from “ita2” to “ita5”, then data-bits is set to 7 bits.
XML SDK V8.7.0 Remote Control Interface Command messages 17
Note: An error is reported if the user tries to update an individual attribute with data which are invalid in
the given context. For example, if the current sync-modeis “sync”, an attempt to set stop-bits to 1 is
rejected.
The classifier mode is a choice between "manual-mode" and "continuous-mode".
data-acquisition
Data acquisition is a choice between "previous-samples" and "new-samples".
refresh-list
Sets the refreshing of the list “on” or “off”.
cw-protection
Sets CW protection “on” or “off”.
ofdm-mode
The OFDM mode is a choice between "partial-analysis" and "full-analysis".
restart-cycle
The number of seconds for the restart period is a value between 4 and 3600.
sample-time
Sample time is a choice between "1.6" and "3.2".
options-mode
Options mode is a choice among the following modes of operation:
"classify"
"classify-tablecheck"
"classify-tablecheck-codecheck"
"classify-tablecheck-decoding"
"classify-tablecheck-codecheck-decoding"
Please, refer to the HF Classifier Code Check section in the decoder manual for detailed information.
Note: If you look for the code check results, then wait until you received the full result list. It is impossible to wait only for the first result.
modulation-mode
Determines the type of the signals to be classified. Modulation-mode is either a collection of “fsk”,
“f7b”, “mfsk”, “cw”, “2psk”, “4psk”, “8psk”, “16psk”, “oqpsk”, separated by commas, or the single value
“all”. E.g. “fsk,mfsk,8psk” or “all”.
18 Command messages XML SDK V8.7.0 Remote Control Interface
cc-timeout
Sets the maximum allowed interval in seconds between two consecutive code-check hits. Allowed values
are “15”, “30”, “45”, and “60”. If the time since the last successful code-check hit exceeds the selected
timeout interval, the code check process for the signal under consideration is interrupted.
cc-decode-highest
Sets the criterion for selecting one of several classified signals to be decoded after table checking and/or
code-checking has completed. This attribute has no effect if options-mode is not set to "classifytablecheck-decoding" or "classify-tablecheck-codecheck-decoding". cc-decode-highest is one of the following values:
"decode-highest-disabled"
"decode-highest-confidence"
"decode-highest-level"
If "decode-highest-disabled" is selected, the first classified signal is decoded if it has been successfully ta-
ble- and/or code-checked.
If "decode-highest-confidence" or "decode-highest-level" is selected, the classified signal with the highest
confidence value or highest signal level, respectively, is decoded if it has been successfully table- and/or
code-checked. In case of unsuccessful table- and/or code-checking (e.g. due to a timeout), the Classifier
Code Check goes into idle mode or restarts if the mode attribute is set to "continuous-mode".
cc-table
Sets the path of the code-check table file to be used with the Classifier Code Check for hf modes.
cc-table-vhfdir
Sets the path of the code-check table file to be used with the Classifier Code Check for vhf direct modes.
cc-table-vhfind
Sets the path of the code-check table file to be used with the Classifier Code Check for vhf sub-modes.
Select “file”, “network” or “soundcard” (for W61PC, W-PCI, W-PCIe and W74PC only).
file-path
Specifies the path to the specific WAV-file on the server machine. The file must be located on the computer that is running the WAVECOM server application.
XML SDK V8.7.0 Remote Control Interface Command messages 19
channel-config
Sets the channel(s) to be used and may assume the values “mono”, "left", "right", "leftplusright" or “iq”.
play-continuous
Indicates if the files are played in repeat mode. Select "on" to switch on the repeat mode or "off" to switch
off the repeat mode.
ip-address
The IP-address is optional and fixed to 0.0.0.0 (accept connection from all IP addresses).
port-number
Sets the TCP-port for the TCP/IP connection. The valid range is 0 to 65535.
format
Either “ip-conf” (Wavecom), “ip-pxgf” (GEW Technologies) or “vita-49” (ANSI/VITA-49).
sampling-rate
IP-CONF: The sampling rate is variable in the range 8-192 kHz for TCP/IP custom inputs, but is fixed at 48
kHz for soundcard inputs.
IP-PXGF: Parameter is automatically set using the metadata from the data stream.
VITA-49: Parameter is automatically set if the data stream contains this information. Otherwise the value
set is used.
v49-streamid
The VITA-49 stream id.
v49-event-tag-size
The VITA-49 event tag size.
v49-channel-tag-size
The VITA-49 channel tag size.
v49-item-packing-field-size
The VITA-49 item packing field size.
v49-data-item-size
The VITA-49 data item size.
v49-repeat-count
The VITA-49 repeat count.
v49-vector-size
The VITA-49 vector size.
v49-data-item-format
The VITA-49 data item format. It can be one of the following values: “sint”, “svrt1”, “svrt2”, “svrt3”,
“svrt4”, “svrt5”, “float”, “double”, “uint”, “uvrt1”, “uvrt2”, “uvrt3”, “uvrt4”, “uvrt5” or “uvrt6”.
v49-data-sample-format
The VITA-49 data sample format. It can be one of the following values: “real”, “complex-cartesian” or
“complex-polar”.
v49-sample-component-repeating
The VITA-49 sample component repeating flag (“on” or “off”).
v49-link-efficient-packing
The VITA-49 link efficient packing flag (“on” or “off”).
v49-radio-link-packets
Use VITA-49.1 packets for VITA-49 streams (“on” or “off”).
WCloudSources element
20 Command messages XML SDK V8.7.0 Remote Control Interface
IP address of a W-CLOUD station, it can be a DNS name.
port
The port number of a W-CLOUD station. The valid range is 52000 to 52009.
autoconnect
If a W-CLOUD station will be connected upon W-CODE restart. The valid value is “Y” or “N”.
encryption
If the I/Q signal from a W-CLOUD station to W-CODE is encrypted or not. The valid value is “Y” or “N”.
speakeroutput
If W-CODE outputs the incoming I/Q signal from a W-CLOUD station to its local speaker. This helps a user
to check if the signal sounds correct or not. The valid value is “Y” or “N”.
The item the client requests. This attribute is required and is a string. If the string is not recognized by the
server, it will return an error message.
Description of possible item values:
“card status”
Returns the state of all cards in a system. The client does not have to be connected to a specific card on
the system.
“wcloud sources”
Returns the W-CLOUD devices which are configured in the W-CODE server.
“license”
Returns the license information for the currently connected card.
“license with check”
Returns the license information for the currently connected card. Using this value forces a check of the li-
cense information on the DSP.
“metadata”
Returns meta data. The kind of meta data is specified in the information attribute. The client does not
have to be connected to a specific card on the system.
“milstanag message type”
Returns the current message type for MIL or STANAG modes.
“parameter-list”
Returns the parameter list for the current mode.
“classifiersetup-settings”
Returns the current classifier configuration.
"custom-alphabet-list"
Returns a list of all custom alphabets that have been defined using the WAVECOM graphical user interface
alphabet editor.
"custom-input-list"
Returns a list of all custom inputs that have been defined with the WAVECOM graphical user interface or
the set command.
“cc-table-hf”
“cc-table-vhfdir”
“cc-table-vhfsub”
Returns the requested classifier codecheck signal database xml file.
information
Information about the item the client requests. This attribute is implied and is a string.
Description of possible information for the item metadata:
“code-list”
Returns a list of all codes supported by that server. “code” is the RCI term used for decoder mode.
“code”
Returns all information about a specific code. The specific code has to be set in the additionalinformation attribute. “code” is the RCI term used for decoder mode.
additional-information
Additional information about the item the client requests. This attribute is implied and is a string. It is only
used if item is "metadata" and information is "code". The additional information returns the name of the
code. A list of all possible codes can be retrieved by selecting "code-list" in the information attribute.
Content
This element has no content.
22 Command messages XML SDK V8.7.0 Remote Control Interface
The item the client wishes to start. This attribute is required and is a string. If the string is not recognized
by the server it will return an error message.
Description of possible item values:
“ASCS auto analysis”
Starts the AutoSelCalSystem auto analysis. Returns an error if the ASCS auto analysis is not supported by
the code which is set on the connected card.
“resync”
Resynchronizes the current code.
“restart classifier”
Restarts the classifier.
Number of the card. This attribute is implied and is an integer between 1 and 8.
name
Name of the card. This attribute is implied and is a string.
XML SDK V8.7.0 Remote Control Interface Command messages 23
serial-nr
Serial number of the card. This attribute is implied and is an unsigned integer.
Note: The card element actually has more attributes than the three described here, but they are irrelevant in the connect message and are ignored if they are set in this case.
To connect to a card only one of the three above described attributes is needed. If more than one is set
with a valid value, the priority for which card is set is:
The item to activate. This attribute is required and its value is “GUI-Application”. The GUI application is
launched on the specified server and a connection is opened to the server and card to which the remote
client is connected.
Content
The content is the server element.
Server element
24 Command messages XML SDK V8.7.0 Remote Control Interface
Server IP address or network name. Use “local” or “127.0.0.1” if the client and the server are both on the
same system. This attribute is required and is a string.
port
SCI (Server Control Interface) port of the server on the selected address. This attribute is required and is
a string. If port is empty, it takes the standard SCI port.
On a W61PC system the default port-number is 33234, on WCODE it is 33244.
Note: These are noncommittal proposals. Port-numbers may differ due to restrictions of the given system.
The content is a choice between the elements ParameterList, Indicators, Cards, WCloudSources, License, BufferOverflow, AlphabetList, CustomInputList, MilStanagMessageType, ClassifierSetup,
ConfigFile and Confidence.
Status of the decoder. This attribute is required and is a choice between “idle”, “traffic”, “error”, “request”,
“auto”, “synchronise” and “phasing”.
level
Level indicator for the measured input gain. This attribute is required and represents an integer value
between 0 and 12.
bargraph
Value of a bargraph element. This attribute is required and represents a string of the form
XXXXXXXXXXXXXXXX. Each of the 16 X is the hexadecimal presentation of a 4 bit single bargraph bin va lue.
Content
This element has no content.
26 Information messages XML SDK V8.7.0 Remote Control Interface
Serial number of the card. This attribute is implied and is an integer between 1 and 8.
name
Name of the card. This attribute is implied and a string.
device
Device type. This attribute is implied and a string.
Device type is a choice among the following systems:
"W51PC"
"W61PC"
"WCODE"
serial-nr
Serial number. This attribute is implied and a string.
remote-access
Toggle remote access to the card. In this case remote access is understood as access from another system (PC) and not access through the RCI. This attribute is implied and a choice between “yes” and “no”.
status
Status of the card. This attribute is implied and is a choice between “unknown”, “initialize”, “ready”, “error”, “load-error”, “card-in-use”, “no-card”, “timeout”, “driver-error”, “driver-conflict” and “bufferoverflow”.
connections
The number of connections to a specific card. This attribute is implied and a string.
Content
This element has no content.
XML SDK V8.7.0 Remote Control Interface Information messages 27
IP address of the W-CLOUD station. This can be a DNS address as well.
port
Port of the W-CLOUD station. The value should between 52000 and 52009.
autoconnect
If the W-CLOUD station will be connected automatically upon W-CODE restart. The value is “Y” or “N”.
encryption
If the I/Q signal from the W-CLOUD station to W-CODE is encrypted or not. The value is “Y” or “N”.
speakeroutput
If the I/Q signal from the W-CLOUD will be output to the local speaker where W-CODE is running. This
helps a user to check if the I/Q signal sounds correct. The value is “Y” or “N”.
28 Information messages XML SDK V8.7.0 Remote Control Interface
error
Validation of the license key. This attribute is required and is a choice between “ok”, “expired”, “wrongcard”, “invalid-key”, “format-error”, “checking” and “not checked”.
version
Version of the license system. This attribute is required and represents an integer value.
Content
The content is a sequence of zero or more Options, ExpiryDate and Key elements.
Note:BufferOverflow indicates to the client that the load on the server exceeds the connection capacity.
The server stops sending messages. To restart, the client must reconnect to the card.
Error id. This attribute is required and represents a positive integer.
Severity
Severity of the error. This attribute is required and is a choice between “error”, “warning” and “infor-
mation”.
Content
The content is the error description. The error description has a relation to the id and severity attributes.
Severity error:
ID 0 "undefined xml error"
ID 1 "xml mesage format"
ID 2 "card mismatch"
ID 4 "this element does not exist"
ID 5 "alf-rds mode not set"
ID 6 "no ascs mode set"
ID 8 "the client is not connected to a server"
32 Error message XML SDK V8.7.0 Remote Control Interface
ID 9 "File not found"
Severity warning:
ID 7 "the specified card does not exist"
Code of the decoder. The RCI parameter code is equal to the decoder mode.
Values
XML SDK V8.7.0 Remote Control Interface Parameter names and values 33
Code Values
acars
ais
ale-400
alf-rds
alis
alis-2
amsat-p3d
apco-25
arq6-90
arq6-98
arq-e
arq-e3
arq-m2-242
arq-m2-342
arq-m4-242
arq-m4-342
arq-n
ascii
atis
aum-13
autospec
baudot
biis
br-6028
bulg-ascii
ccir-1
ccir-2
ccir-7
ccitt
chn-4-4
chu
cis-11
cis-12
cis-14
cis-36
cis-36-50
cis-50-50
clover-2
clover-2000
clover-2500
codan-9001
codan-selcal
coquelet-13
coquelet-8
coquelet-80
ctcss
cv-786
cw-morse
dcs-selcal
dgps
dmr
34 Parameter names and values XML SDK V8.7.0 Remote Control Interface
dpmr
dsc-hf
dsc-vhf
dtmf
dup-arq
dup-arq-2
dup-fec-2
dzvei
eea
efr
eia
ermes
euro
fec-a
feld-hell
flex
fm-hell
fms-bos
golay
g-tor
gw-fsk
gw-ofdm
gw-psk
hc-arq
hf-acars
hf-analysis-autocorrelation
hf-analysis-bit-correlation
hf-analysis-bit-length
hf-analysis-bit-stream
hf-analysis-classifier
hf-analysis-classifier-code-check
hf-analysis-fft
hf-analysis-fft-and-sonagram
hf-analysis-fsk
hf-analysis-fsk-code-check
hf-analysis-mfsk
hf-analysis-mfsk-code-check
hf-analysis-mil-stanag-code-check
hf-analysis-oscilloscope
hf-analysis-psk-code-check
hf-analysis-psk-phase-plane
hf-analysis-psk-symbol-rate
hf-analysis-sonagram
hf-analysis-waterfall
hng-fec
icao-selcal
link-11
md-674
mfsk-16
XML SDK V8.7.0 Remote Control Interface Parameter names and values 35
mfsk-20
mfsk-8
mil-188-110-16tone
mil-188-110-39tone
mil-188-110a
mil-188-110a-mod
mil-188-110b
mil-188-141a
mil-188-141b
mil-m-55529a
mobitex-1200
mobitex-8000
modat
modem-full-duplex
modem-half-duplex
mpt-1327
natel
nmt-450
noaa-geosat
nxdn
nwr-same
olivia
orbcomm
packet-1200
packet-300
packet-9600
pactor
pactor-fec
pactor-II
pactor-II-auto
pactor-II-fec
pactor-III
pccir
pdzvei
piccolo-mk12
piccolo-mk6
pocsag
pol-arq
press-fax
psk-10
psk-125
psk-125f
psk-220f
psk-250
psk-31
psk-31-fec
psk-63
psk-63f
psk-am
36 Parameter names and values XML SDK V8.7.0 Remote Control Interface
pzvei
robust-packet
rum-fec
sat-aero-c
sat-aero-p
sat-aero-r
sat-aero-t
sat-b
sat-b-c-hsd
sat-b-c-tfc
sat-b-l-tfc
sat-c-tdm
sat-c-tdma
sat-c-tdm-egc
sat-m
sat-mini-m
sat-mini-m-c-hsd
si-arq
si-auto
si-fec
sitor-arq
sitor-auto
sitor-fec
sp-14
spread-11
spread-21
spread-51
sstv
stanag-4285
stanag-4415
stanag-4481-fsk
stanag-4481-psk
stanag-4529
stanag-5065-fsk
swed-arq
test-demodulator
test-mode
tetra
throb
throbx
twinplex
vdew
vdl-m2
vhf-analysis-dir-autocorrelation
vhf-analysis-dir-bit-correlation
vhf-analysis-dir-bit-length
vhf-analysis-dir-bit-stream
vhf-analysis-dir-fft
vhf-analysis-dir-fft-and-sonagram
XML SDK V8.7.0 Remote Control Interface Parameter names and values 37
vhf-analysis-dir-fsk
vhf-analysis-dir-fsk-code-check
vhf-analysis-dir-oscilloscope
vhf-analysis-dir-psk-phase-plane
vhf-analysis-dir-psk-symbol-rate
vhf-analysis-dir-sonagram
vhf-analysis-dir-waterfall
vhf-analysis-ind-autocorrelation
vhf-analysis-ind-bit-correlation
vhf-analysis-ind-bit-length
vhf-analysis-ind-bit-stream
vhf-analysis-ind-fft
vhf-analysis-ind-fft-and-sonagram
vhf-analysis-ind-fsk
vhf-analysis-ind-fsk-code-check
vhf-analysis-ind-oscilloscope
vhf-analysis-ind-psk-phase-plane
vhf-analysis-ind-psk-symbol-rate
vhf-analysis-ind-selcal
vhf-analysis-ind-sonagram
vhf-analysis-ind-waterfall
vhf-analysis-sat-autocorrelation
vhf-analysis-sat-bit-correlation
vhf-analysis-sat-bit-length
vhf-analysis-sat-bit-stream
vhf-analysis-sat-fft
vhf-analysis-sat-fft-and-sonagram
vhf-analysis-sat-fsk
vhf-analysis-sat-oscilloscope
vhf-analysis-sat-psk-phase-plane
vhf-analysis-sat-psk-symbol-rat
vhf-analysis-sat-sonagram
vhf-analysis-sat-waterfall
visel
weather-fax
x-25
zvei-1
zvei-2
zvei-3
zvei-vdew
ias
The iso-asynchronous and synchronous setting allows the decoder to determine the baud rate with higher
precision.
Values
“on” or “off”.
ecc
Error correction code settings of the decoder.
38 Parameter names and values XML SDK V8.7.0 Remote Control Interface
alphabet Values
arabic-atu-70
arabic-atu-80
hex-data
ita1-latin
ita2-bulgarian
ita2-cyrillic
ita2-danish-norwegian
ita2-hebrew
ita2-latin
ita2-latin-transparent
ita2-swedish
ita3-latin
ita5-bulgarian
ita5-chinese
ita5-danish-norwegian
ita5-french
ita5-german
ita5-swedish
ita5-us
morse-arabic
morse-cyrillic
morse-greek
morse-hebrew
morse-latin
morse-scandinavian
morse-spanish
raw-data
skyper
tass-cyrillic
third-shift-cyrillic
Values
“on” or “off”.
polarity
Polarity settings of the decoded signal.
Values
“normal” or “inverse”.
scan-mode
scan-mode is used for FSK code checking. “fast” scan displays only the modes where for which the de-
tected baud rate is an a priori known baud rate. “full” scan tests all detectable parameters and di splays
the corresponding modes.
Values
“fast” or “full”.
alphabet
The alphabet to which the decoded data is mapped.
Values
XML SDK V8.7.0 Remote Control Interface Parameter names and values 39
third-shift-greek
subcode Values
dgps-all-headers
dgps-corrections
dgps-normal
dgps-normal-raw
dmr-data-voice-frames
dmr-data-frames
dmr-voice-frames
dmr-all-frames
dmr-bit-transparent
dpmr-data-voice-frames
dpmr-bit-transparent
fixed
hf-acars-link-data
hf-acars-network-basic-data
hf-acars-squitter-media-access
martin-1-3
martin-2-4
mil-stanag-async
mil-stanag-asynch-7data-0stop
mil-stanag-hex
mil-stanag-sync
mobile
nmt-450-all-frames
nmt-450-bs-to-mtx
nmt-450-datacom
nmt-450-ms-to-mtx
nmt-450-mtx-to-bs
Use the name of a custom defined alphabet to select that alphabet.
code-table
Conversion table settings for “coquelet-13” and “g-tor” modes.
Values
“0” or “1”.
auto-speed
Automatic speed settings for “pocsag” mode.
Values
“on” or “off”.
bit-inversion
Bit inversion mask for “baudot” and “rum-fec” modes.
Values
An integer value between 0 and 31.
subcode
This attribute informs the client about additional information for a code.
Values
40 Parameter names and values XML SDK V8.7.0 Remote Control Interface
nmt-450-mtx-to-ms
nmt-450-mtx-to-tms
osi-level-0
osi-level-1
pocsag-ascii
pocsag-auto
pocsag-mixed
pocsag-type-3
robot-12s
robot-24s
robot-36s
robot-8s
sat-aero-all-signaling-units
sat-aero-message-only
sc-1-16-32s
sc-1-8s
scottie-1-3
scottie-2-4
wraase-sc-1-24-48s
wraase-sc-1-48-96s
wraase-sc-2-120s
wraase-sc-2-180s
wraase-sc-2-30-60s
frame-format Values
2400bps-short
1200bps-short
600bps-short
300bps-short
150bps-short
75bps-short
2400bps-long
1200bps-long
600bps-long
300bps-long
150bps-long
75bps-long
3600bps-uncoded
2400bps-uncoded
frame-length
”ascii“ mode frame length.
Values
“7-bit” or “8-bit”.
frame-format
Sets frame format for MIL-STANAG and X.25 modes.
Values for MIL-STANAG codes:
XML SDK V8.7.0 Remote Control Interface Parameter names and values 41
1800bps-uncoded
1200bps-uncoded
600bps-uncoded
300bps-uncoded
150bps-uncoded
75bps-uncoded
frame-format Values
basic
extended
super
modulation Values
am
bpsk
cw
d16psk
d8psk
Values for X.25 code:
free-run
When free-run is turned on a noisy signal can be displayed without horizontal synchronization.
Values
“on” or “off”.
letter-figure-mode
Sets the Letters and Figures cases in ITA-2 based modes.
Values
“normal”, “letters-only”, “figures-only” or “unshift-on-space”.
shift-register
“fec-a” shift register length.
Values
“72”, “128” or “off”.
display-mode
Display mode for the decoded data.
Values
“all-frames”, “no-error-frames” or “valid-frames-only”.
VDL-M2 specific values
“all-frames”, “valid-frames-only” or “indicate-erroneous-frames”.
Controls the number of channels for “hf-analysis-mfsk-code-check”, “hf-analysis-psk-code-check” and “hfanalysis-classifier-code-check”.
Values
2 to 64 for “hf-analysis-mfsk-code-check”
1 to 2 for “hf-analysis-psk-code-check”
1 to 64 for “hf-analysis-classifier-code-check”
44 Parameter names and values XML SDK V8.7.0 Remote Control Interface
offset
Offset (former “translation”) frequency.
Values
An integer value between 0 and 21,000,000.
bandwidth
Bandwidth of the signal.
Values
An integer value between 50 and 24,000.
fine-speed
Adjusts the fine speed for a fax or SSTV picture.
Values
An integer value.
ioc-module
Sets fax Index Of Cooperation.
Values
“288”, “352” or “576”.
als
Automatic level setting control.
Values
“analog”, “digital”, “finish” or “off”.
filter
Low pass filter settings.
Values
A floating point value in the range of 1.0 to 100.0.
passband-center
Center frequency of band pass filter.
Values
An integer value between 100 and 3600 Hz.
passband-bandwidth
Bandwidth of the band pass filter.
Values
An integer value between 100 and 3600 Hz.
twinshift-1
Shift frequency between frequency 1 and frequency 2 of a 4FSK signal.
Values
An integer value between 10 and 800 Hz.
twinshift-2
Shift frequency between frequency 2 and frequency 3 of a 4FSK signal.
Values
An integer value between 10 and 800 Hz.
twinshift-3
Shift frequency between frequency 3 and frequency 4 of a 4FSK signal.
XML SDK V8.7.0 Remote Control Interface Parameter names and values 45
Values
An integer value between 10 and 800 Hz.
twin-v1
Bit value for each frequency of a Twinplex channel v1.
Values
“yybb”, “ybyb”, “byyb”, “byby” or “ybby”.
twin-v2
Bit value for each frequency of a Twinplex channel v2.
Values
“ybyb”, “byyb”, “byby” or “ybby”.
am-offset
Values
An integer value between 0 and 2047.
am-gain
Gain of the amplifier of the AM-demodulator. This attribute is implied and a string which represents an integer value between 0 and 100.
Gain of the amplifier of the oscilloscope. This attribute is implied and a string which represents an integer
value between 0 and 1600.
data-interleaver
Values
“short”, “long” or “uncoded”.
data-blocksize
Values
An integer between 7 and 12.
dte-databits
Values
“4”, “5”, “6”, “7”, “8” or “all”.
dte-parity
Values
“no”, “odd”, “even”, “mark” or “space”.
dte-startbits
Values
"0", “1”.
dte-stopbits
Values
"0", “1”, “1.5” or “2”.
diversity (mil-188-110-39tone only)
Values
A choice between “Time / Frequency” and “Frequency Only”.
threshold-level (W61PC and W-CODE only)
Values
46 Parameter names and values XML SDK V8.7.0 Remote Control Interface
An integer value between -60 and -20.
output-demod-symbol (W-PCI/e and W-CODE only)
Values
“on” or “off”.
acars-reassemble
Values
“on” or “off”.
acars-enable-ads-c
Values
“on” or “off”.
live-sound-mute
Values
“on” or “off”. “on” means the sound output to the speaker is muted, no sound output; “off” means the
sound will be output to the speaker.
TCP/IP Interface
Overview
This section describes how a client can communicate with the WAVECOM Server and the decoder cards,
which it controls. It describes all the specific details of the interfaces. The internals of the WAVECOM Server, the W6X card applications or any TCP/IP specific programming is not described.
When installed the XMLRCI SDK is found in the “C:\Program Files\WAVECOM\XML RCI SDK” folder of your
Windows system. This folder contains a number of sub-folders:
“Demo”
contains the source code of C, C++ and C# .NET APIs and demo and test applications and the corresponding solution and project files for Microsoft Visual Studio.
“Documentation”
contains this manual and the DTD.
“Win32-API”
contains debug and release versions of the DLLs and executables in the “Bin” folder. “Include” contains
the header files. “Lib” contains the object file libraries.
XML SDK V8.7.0 Remote Control Interface TCP/IP Interface 47
Win32 RCI API
XML Remote Control Interface
Server Kernel
Card Interface
DCOM RCI
Tcp/Ip
Communication
Wavecom
Server
Wavecom Standard Interface
W51PC App
Customer Programmed
Applications
Client
Applications
ServerHost
Client Host
Client Application
DataSource
DataSink
W
61
Cards
TCP/IP
Win
32
RCI API
Server Host
Wavecom Server
W61PC,
W-CODE
XML Remote Control Interface
Architecture
WAVECOM provides two remote control interfaces based on a client-server architecture:
One is the Win32 Remote Control Interface API for Microsoft Windows clients. The Application Pro-
gramming Interface is organized as a library and supports C, C++ and C#.
For non-Microsoft platforms the plain XML Remote Control Interface is provided. This is also the inter-
face on the server to which the Win32 RCI API connects.
In the drawing above a client-side DCOM RCI and a server-side Wavecom Standard Interface is shown.
These interfaces are only valid for the discontinued W51PC decoder.
Win32 Remote Control Interface API
Procedural (C) and object oriented (C++, C#) interfaces are defined for the Win32 Remote Control Interface API. The sink (callback) must be programmed by the client application programmer - a function type
definition for the C API and a virtual parent class for the C++ API is available for the sink. The sink implementation must be passed to the API before starting communicating with a server.
48 TCP/IP Interface XML SDK V8.7.0 Remote Control Interface
Parameter
Definition
pFunction
Function pointer to the Sink method
pConnect
Function pointer to the Connected method
pDisconnect
Function Pointer to the Disconnected method
pTimeout
Function Pointer to the Timeout method
strUser
Username
strPwd
Password
Parameter
Definition
strAddress
The IP address or DNS name of the host on which the server runs. If the string is emp-
Function type definition for server-side XML messages. Through this interface the client receives XML messages from the server. It is a callback routine which has to be defined by the client application programmer and has to be passed to the source.
Parameters
void XMLRCI_CONNECTED_FUNCTION(RCI_HANDLE hRci)
50 TCP/IP Interface XML SDK V8.7.0 Remote Control Interface
Parameter
Definition
pSink
Pointer to the Sink class. The user is responsible for deleting the sink after deleting the
source.
strUser
Username
strPwd
Password
Parameter
Definition
strAddress
The IP address or DNS name of the pc where the server runs. If the string is empty, it
connects to the local server on the same pc.
strPort
The port which is configured on the chosen server. If the strAddress parameter is
Function type definition for the connection established message. After the connect command has been issued a certain time passes until a connection is established. This message is called by the API when the
connection actually is established. It is a callback routine which has to be defined by the client application
programmer and has to be passed to the source.
Function type definition for the disconnected message. If the link to the server is broken, this message is
called by the API. It is a callback routine which has to be defined by the client application programmer and
has to be passed to the source.
Function type definition for the timeout message. If the link to the server cannot be established, this message is called by the API. It is a callback routine which has to be defined by the client application programmer and has to be passed to the source.
Starts a session with the specified User. This function returns a pointer to a CXMLRCI instance. The user
must delete this instance after it is not being used anymore.
Parameters
Format: See section ”XML Message Format” on page 52.
Parent class for the sink implementation of the client application. It contains four callback routines. A
pointer to an instance of this class must be passed to the source.
A callback routine for XML messages from the server.
Parameters
void Connected()
After the connect command has been issued some time passes until a connection is established. This message is called by the API when the connection is actually established. It is a callback routine.
void Diconnected()
If the link to the server is broken or stopped, this function is called by the API. It is a callback routine.
void Timeout()
If the link to the server cannot be established, this message is called by the API. It is a callback routine.
XML Message Format
This parameter is passed from the client to the server during initialization. It specifies how the server will
format XML messages which are sent to the client.
Note: This parameter has no effect on the messages sent to the server.
XMLFormatting
52 TCP/IP Interface XML SDK V8.7.0 Remote Control Interface
bHeader
If true, the XML header ("<?xml version=…”) is sent, otherwise not.bIndent
If true, the XML message has indent depending on the tags, otherwise not.
Encoding
The encoding of the XML message.
EOL
Type of end-of-line; used if bIdent is true.
Note: XMLFormattingC has the same format, except that the bool type is replaced by BOOL for Ccompatibility.
Possible encodings are NONE (ASCII), UTF-8 (recommended), UTF-16 and UNICODE.
Note: “NONE” should not be used as messages exist containing Unicode characters and it is automatically
replaced with “UTF-8”.
XMLEOLType
typedef enum XMLEOLType {
EOL_CRLF,
EOL_LF
};
Valid end-of-line types are EOL_CRLF (Carriage Return + Line Feed) or EOL_LF (Line Feed).
XML Remote Control Interface
This section is directed at client application programmers wishing to avoid using any of the client interfaces provided by WAVECOM.
Note: If you use this interface make sure that the server is running without encryption and compression.
These features may be enabled or disabled using the WAVECOM ServerControl application.
The application runs on Windows systems and therefore the byte order is little endian. If you develop for a
system that uses big endian byte order, this issue has to be considered.
Data Package Protocol
XML SDK V8.7.0 Remote Control Interface TCP/IP Interface 53
Data 1Data 2
4 Bytes
Data
Message IDMessage Data
n Bytes
Data n
Label
Data
Data Type
Message ID
0x00100000
Data Length
0
Data Content
-
Label
Data
Data Type
Message ID
0x00100001
Data Length
>28 Bytes
Data Content
connection info
server version major
server version minor
protocol version major
protocol version minor
server build id
length of build date
build date
length of build time
DWORD
BYTE
BYTE
BYTE
BYTE
signed int (32 bit)
DWORD
String
DWORD
Messages greater than 32,768 Bytes (32 kB) must be split into multiple packages.
Protocol fields
Synchronize ID
Synchronize ID signals the beginning of a new message and has a static value of 0x27832734.
Data ID
Data ID specifies which packages belong to the same message. It has a unique value between 0 and
0xFFFFFFFC. 0xFFFFFFFD - 0xFFFFFFFF are reserved for special messages.
Idle Message (0xFFFFFFFD)
If no messages are received for a while an idle message is sent.
Quit Message (0xFFFFFFFE)
Quits the connection.
Watchdog Message (0xFFFFFFFF)
If no messages are sent for a while a watchdog message is sent.
Length
Length of the data following this field.
Count
Number of packages belonging to a message.
Messages
Wait for client initialization (Server Client)
After the client is connected to the server, the server sends the client this message. It tells the client to
initialize itself and send the initialization information to the server.
Initialize (Server Client)
54 TCP/IP Interface XML SDK V8.7.0 Remote Control Interface
build time
length of sw release
software release
length of card type
card type
String
DWORD
String
DWORD
String
Label
Permissions
Bit Pattern
Connection Info
Read (from Card) Permission Bit
Write (to Card) Permission Bit
Configure (Server) Permission Bit
Message Content Encryption Bit
Message Content Compression Bit
Error ID
Error Short Description
Error Description
DWORD
32 Byte
256 Byte
Label
Data
Data Type
Message ID
0x00200000
Data Length
> 28 Bytes
Data Content
Length of user name
User name
Length of password
Password hashed
Major server version
Minor server version
Server build id
XML format
Minor XML version
Major XML version
DWORD
STRING
DWORD
STRING
BYTE
BYTE
signed int (32 bit)
10 BYTE
WORD
WORD
XML format
Header
Indent
Encoding
End-of-line type
BYTE
BYTE
int (enum) (4 Bytes)
int (enum) (4 Bytes)
The server informs the client about the connection, the versions of the server and which card is used. The
connection information specifies which permissions the client have and how data is transferred. At present
there are no restrictions, though all the permission bits should be set except the encryption and compression bits, which should not be set. If they are set the server must be configured to no compression and no
encryption.
Error (Server Client)
Initialize (Client Server)
In a future release it is planned to implement authorization on the server, therefore the client has to authorize itself during initialization. Currently an empty string has to be passed for user name and password,
which will be recognized as user “everyone”.
A check is done to ensure the client is compatible with the server. The actual check depends on the value
passed in the build id parameter. If the build id is less than zero a check is done for major and minor
server version compatibility, otherwise the check is done for build id equality. The client is considered
compatible with the server if the major versions are the same and the minor version of the server is higher than that of the client. The server recognizes and supports messages, which were defined in the same
major and the minor version up to and including the actual version. The same is true for the XML protocol
version.
The XML format parameter is used by the client to define how the XML messages from the server will be
formatted.
Header
XML SDK V8.7.0 Remote Control Interface TCP/IP Interface 55
Label
Data
Data Type
Message ID
0x00200002
Data Length
0
Data Content
-
Label
Data
Data Type
Message ID
0x030000XX
Data Length
Specific and message dependent
Data Content
-
Establish a
connection
Wait for Init
Msg ID 0x00100000
Initialize
Msg ID 0x00200000
Initialize
Msg ID 0x00100001
Ready
Msg ID 0x00200002
Connection
established
ClientServer
If true (non-zero) the XML header ("<?xml version=…”) is sent, otherwise not.
Indent
If true (non-zero) the XML message has indent depending on the tags, otherwise not.
Encoding
The encoding of the XML message. The following values are valid:
0 : ASCII (not recommended)
1 : UTF-8 (recommended)
2 : UTF-16
3 : Unicode
EOL type
Type of end-of-line. Can only be used if indent is true. The following values are possible:
0 : Carriage return and a line feed
1 : Line feed
Ready (Client Server)
WAVECOM XML Message (Server Client)
The least significant byte is used for marking special messages for internal purposes in the server.
Connecting to the server
After connecting via TCP/IP to the WAVECOM server, specific startup steps must be executed before a client is properly connected to the server.
Startup procedure
“Wait for Init“ message received from the server
56 TCP/IP Interface XML SDK V8.7.0 Remote Control Interface
Header:
synchronize id : 34 27 83 27 (0x2783'2734)
data id : 01 00 00 00 (0x0000'0001)
Length : 04 00 00 00 (0x0000'0004)
Count : 01 00 00 00 (0x0000'0001)
Data:
Message ID : 00 00 10 00 (0x0010'0000)
“Initialize“ message sent to the server
Header:
synchronize id : 34 27 83 27 (0x2783'2734)
data id : 01 00 00 00 (0x0000'0001)
Length : 20 00 00 00 (0x0000'0020)
Count : 01 00 00 00 (0x0000'0001)
Data:
Message ID : 00 00 20 00 (0x0020'0000)
Message Data : length of user name : 00 00 00 00
length of password : 00 00 00 00
major server version : 01
minor server version : 02
server build id : ff ff ff ff (-1)
header : 00 (no)
indent : 01 (yes)
encoding : 01 00 00 00 (utf-8)
end of line type : 01 00 00 00 (line feed)
minor XML version : 00 00
major XML version : 01 00
“Initialize“ message received from the server
Header:
synchronize id : 34 27 83 27 (0x2783'2734)
data id : 02 00 00 00 (0x0000'0002)
Length : 3e 00 00 00 (0x0000'003e)
Count : 01 00 00 00 (0x0000'0001)
Data:
Message ID : 01 00 10 00 (0x0010'0001)
Message Data : connection info : 07 00 00 00 (read/write and configure permission)
major server version : 01
minor server version : 02
major protocol version : 01
minor protocol version : 00
server build id : f8 0c 00 00 (0xcf8 => 3320)
length of build date : 0b 00 00 00 (0xb => 11)
build date : 32 39 20 4a 75 6c 20 32 30 30 35 ("29 Jul 2005")
length of build time : 08 00 00 00 (0x8 => 8)
build time : 30 36 3a 34 37 3a 30 30 ("06:47:00")
length of sw release : 06 00 00 00 (0x6 => 6)
sw release : 36 2e 32 2e 30 30 ("6.2.00")
length of card type : 05 00 00 00 (0x5 => 5)
card type : 57 35 31 50 43 ("W51PC")
“Ready“ message sent to the server
Header:
synchronize id : 34 27 83 27 (0x2783'2734)
data id : 02 00 00 00 (0x0000'0002)
Length : 04 00 00 00 (0x0000'0004)
Count : 01 00 00 00 (0x0000'0001)
Data:
Message ID : 02 00 20 00 (0x0020'0002)
XML SDK V8.7.0 Remote Control Interface TCP/IP Interface 57
Sample Code
Sample code for the C, C++ and C# .NET APIs is included with the XMLRCI SDK and is installed at installation time. The samples contain complete solutions for MS Visual Studio 2012. They can also be used with
Visual Studio 2010, provided that the platform toolset is changed to Visual Studio 2010 in the “General”
tab in the project properties window.
58 Sample Code XML SDK V8.7.0 Remote Control Interface
The message consists of 28 points (pixels) that build a column of the picture. The color of the pixel is d escribed as a RGB value in hexadecimal. If a change from white to black is desired, then the polarity parameter of the code needs to be changed. The illustrations below show how the final image is constructed
from 35 consecutive messages:
As shown on the left side illustration above, the message text will be cut and shifted. There is no synchronization marker in a FELD-HELL or FM-HELL radio signal, thus it is impossible to avoid this problem while
decoding the signal. The easiest solution is to display the image twice, one below the other, as shown on
the right side illustration.
Top-down codes
The XML messages for these modes are the same as for FELD-HELL or FM-HELL, but they must be processed differently. One XML message contains a single row of the final image, i.e. the direction of the xaxis has changed.
XML SDK V8.7.0 Remote Control Interface Sample Code 63
Code
Pixels per line (same as pixel per message)
NOAA-GEOSAT
2000
PRESSFAX
1000
SSTV
320
WEATHER-FAX
2000
x
t
Number of pixels per line
When changing the drum speed in PRESS-FAX or WEATHER-FAX, the messages will still contain 1000 or
2000 pixels, but the number of messages per second will change.
Because there are no synchronization signals in these codes, it is impossible to determine the start of the
image. The result may be shifted and needs to be corrected manually after reception.
Appendix
Conditions of Sale
General
These general conditions of sales are binding if no other conditions have been declared as applicable in the
offer or the confirmation of WAVECOM ELEKTRONIK AG.
Customer orders are binding only if WAVECOM ELEKTRONIK AG has confirmed them in writing.
These general conditions of sales shipping are valid from the 1st of January 2001.
Prices
The list prices are net, and exclude VAT, shipping and packing costs, unless otherwise arranged.
WAVECOM ELEKTRONIK AG reserves the right to adapt the prices to offset concrete cost increases (for
example, salaries, material costs, exchange rate fluctuations).
Delivery time
The delivery time is specified in the confirmation of order/contract. The delivery time may be extended
due to unforeseen circumstances such as acts of God (epidemic, earthquake, etc), war, as well as delivery
delays from our material suppliers.
Dispatch
The method of dispatch may be selected by the customer. Without any shipping instructions from the customer, we reserve us the right to arrange the dispatch by any forwarder/courier of our choice. Any complaints regarding damage, delays or loss must be forwarded to WAVECOM ELEKTRONIK AG in written form
within 48h from the receipt of the goods. Complaints of suspected bad packing must be forwarded to
WAVECOM on the date of receipt.
64 Appendix XML SDK V8.7.0 Remote Control Interface
Return of goods
The return of defect goods requires written approval of WAVECOM ELEKTRONIK AG before the dispatch.
For a return during the warranty period, the costs of the shipping the item(s) back to the customer will be
paid by WAVECOM ELEKTRONIK AG. The charges for the shipping the item(s) to WAVECOM ELEKTRONIK
AG must be paid by the customer. For goods returned after the warranty period, the shipping costs for
both ways must be fully paid by the customer.
Payments
Customer order can only be accepted against advance payment by bank or post, Letter of Credit, check or
credit card. For Letter of credit payments, we charge a general administration fee of a minimum of CHF
500.00.
Reservation of ownership
The delivered goods remain the property of WAVECOM ELEKTRONIK AG until the invoice total is fully paid.
Cancellation
Cancellations of orders must be made in writing and have to be confirmed by WAVECOM ELEKTRONIK AG.
Any additional administrative costs already incurred by WAVECOM ELEKTRONIK AG, must be paid by the
customer.
Changes of order Quantities
Changes in the quantities of an order already placed may result in a change of the applicable discount.
The unit cost may be adjusted to reflect this change.
Legal Domicile
Legal Domicile is Buelach. The buyer declares that for any legal claim against WAVECOM ELEKTRONIK AG,
he waivers his legal domicile, and hereby accepts the legal domicile of Buelach. This contract is based on
Swiss law.
Warranty
Despite careful testing of our equipment, component or functional failures may occur. WAVECOM ELEKTRONIK AG grants a warranty for a period of 12 months from date of delivery. Defective components
will be replaced or repaired free of charge. No liability is taken for any other claims which may arise due to
consequential damage arising from the use of this product. Damage resulting from non-authorized modifications to this equipment by third parties is hereby disclaimed.
Shipping costs for equipment returned to WAVECOM ELEKTRONIK AG will be paid by the customer. In case
of repairs within the warranty period, WAVECOM ELEKTRONIK AG will carry the costs of return shipping to
the customer.
Obligation
The products of WAVECOM ELEKTRONIK AG are sold on the basis of technical specifications valid at the
time of sale. WAVECOM ELEKTRONIK AG has no obligations to upgrade or modify equipment already sold.
Copyright
The software of the WAVECOM decoder is the intellectual property of WAVECOM ELEKTRONIK AG and protected by international copyright law. Any copying of the software is prohibited without the express and
prior consent in writing of WAVECOM ELEKTRONIK AG and punishable by law. In addition all warranty
claims will become void.
Liability
Information contained on this publication may be changed at any time without prior notice. Despite careful
preparation, this publication may contain errors or omissions and WAVECOM ELEKTRONIK AG is not liable
for any resulting losses or damages.
XML SDK V8.7.0 Remote Control Interface Appendix 65
Laws and Regulations
Before using our equipment, take note of the laws and regulations of telecommunications authorities in
your country. It is the responsibility of the users of the equipment to determine whether the reception of
the transmissions which may be decoded, is permitted or not. The manufacturer or vendor is not liable for
violations of law of copyright or telecommunication regulations.
License Terms
1. Wavecom decoder software and other relevant products are license protected, e.g., WIBU CodeMeter
dongle.
2. The license must be legally acquired. The protected software or the product itself can only be operat-
ed simultaneously up to the amount of acquired licenses. This means that a double license allows the
user to operate the product simultaneously in two instances maximum.
3. Any manipulation of the license, e.g., the amount, validity or to circumvent the license is prohibited.
Wavecom cannot fix the occurred damages, e.g., automatic annulations of the license or physical
change of hardware component. In these cases the product must be newly acquired at its full price.
4. Any manipulation to Wavecom software, especially hacking and reverse-engineering of the product is
prohibited. The damage occurred thereby will be passed on to the user, as pointed out in article (3) of
these License Terms.
5. Any Wavecom software may not be copied without the consent of Wavecom.
66 Appendix XML SDK V8.7.0 Remote Control Interface
Manufacturer Address
Manufacturer and International Distribution
WAVECOM ELEKTRONIK AG
Hammerstrasse 8
CH-8180 Buelach
Switzerland
Phone: +41-44-872 70 60
Fax: +41-44-872 70 66
E-mail: info@wavecom.ch
Web: www.wavecom.ch
WAVECOM Distributor
Please check our distributor list on the Internet at www.wavecom.ch
Documentation
W-PCI, W-PCIe, W-CODE Manual V8.1.00
WAVECOM ELEKTRONIK AG
Literature
David Hunter
BEGINNING XML 2nd EDITION
ISBN: 0-7645-4394-6
Wiley Publishing, Indianapolis
XML SDK V8.7.0 Remote Control Interface Appendix 67
Glossary of Terms
base16
Scheme used to transmit binary data. The hexadecimal number system is a base-16 numbering system. It
is the numbering system used to condense binary bytes into a compact form for transmitting or analysis
of computer data. It is composed of the numbers 0-9 and the letters A-F. Each “nibble” (4 bits) of a byte
can be represented by one of the 16 digits.
base2
Scheme used to transmit binary data. Every binary bit is represented as a character of “0” or “1”. The data volume grows by factor 8, i.e., for every binary byte, a character string of 8 bytes is generated.
base64
Scheme used to transmit binary data. Base64 processes data as 24-bit groups, mapping this data to four
encoded characters. It is sometimes referred to as 3-to-4 encoding. Each 6 bits of the 24-bit group is used
as an index into a mapping table (the base64 alphabet) to obtain a character for the encoded data.
base64-mime
Scheme used to transmit binary data. Same principle as base64 with one little difference, it’s the way how
the ends of the encoded strings looks like. Both techniques use the same character set but base64-mime
follows the specification made for SMTP messages. It aligns the string to 4 characters and fills the unused
with the padding character “=”, base64 cuts down the characters to the only needed ones depending on
the number of bits.
DTD
Can accompany a document, essentially defining the rules of the document, such as which elements are
present and the structural relationship between the elements. It defines what tags can go in a XML document, what tags can contain other tags, the number and sequence of the tags, the attributes a tag can
have, and optionally, the values those attributes can have.
RGB
A color perceived by the human eye can be defined by a linear combination of the three primary colors
red, green and blue. These three colors form the basis for the RGB-colorspace.
Unicode
Unicode is a character code that defines every character in most of the speaking languages in the world.
Although commonly thought to be only a two-byte coding system, Unicode characters can use only one
byte, or up to four bytes, to hold a Unicode "code point" (see UTF-8 and UTF-16). The code point is a
unique number for a character or some character aspect such as an accent mark or ligature. Unicode supports more than a million code points, which are written with a "U" followed by a plus sign and the number
in hex; for example, the word "Hello" is written U+0048 U+0065 U+006C U+006C U+006F.
UTF-16
This is a fixed-length character encoding for unicode. It is able to represent any universal character in the
Unicode standard. UTF-16 uses two bytes per character.
XML SDK V8.7.0 Remote Control Interface Glossary of Terms 69
UTF-8
This is a variable-length character encoding for Unicode. It is able to represent any universal character in
the Unicode standard, yet is backwards compatible with ASCII. UTF-8 uses one to four bytes per character, depending on the Unicode symbol. For example, only one byte is needed to encode the 128 US-ASCII
characters in the Unicode range U+0000 to U+007F.
Well-formed
A textual object is a well-formed XML document if: Taken as a whole, it matches the production labeled
document It meets all the well-formedness constraints given in this specification.
XML
The Extensible Markup Language (XML) is a subset of SGML XML has been designed for ease of implementation and for interoperability with both SGML and HTML.
70 Glossary of Terms XML SDK V8.7.0 Remote Control Interface
CustomInput element 19, 31
CustomInputList element 31
CustomInputList message 31
Index
A
acars-enable-ads-c 47
acars-reassemble 47
Activate element 24
Activate messages 24
afc 43
alphabet 39
Alphabet element 30
AlphabetList element 30
AlphabetList message 30
als 45
am-gain 46
am-offset 46
Appendix 64
Architecture 48
auto-mode 43
auto-speed 40
Axis element 7
AxisInfo element 7
B
bandwidth 45
Binary data messages 5
Binary element 5
BinaryFFT element 9
bit-inversion 40
BufferOverflow element 30
BufferOverflow message 30
C
C Application Programming Interface 49
C++ Application Programming Interface 51
Cancellation 65
Card element 23, 27
Cards element 27
Cards message 27
center 43
Changes of order Quantities 65
ClassifierSetup element 18
code 33
code-table 40
Command element 14
Command messages 14
Conditions of Sale 64
Confidence element 32
Confidence message 32
ConfigFile element 21
Configuration element 15
Connect element 23
Connect message 23
CONNECT TO CARD 59
Connecting to the server 56
Constraints 3
Copyright 65
D
Data element 5
Data messages 5
Data Package Protocol 53
data-blocksize 46
data-interleaver 46
Delivery time 64
Disconnect element 24
Disconnect message 24
Dispatch 64
display-format 42
display-mode 42
diversity (mil-188-110-39tone only) 46
Documentation 67
dte-databits 46
dte-parity 46
dte-startbits 46
dte-stopbits 46
E
ecc 38
Encoding 4
Error element 32
Error message 32
Error message tag 32
ExpiryDate element 29
Extended XML header 4
General 64
Get element 21
Get messages 21
GET METADATA CODELIST 59
GET METADATA FOR FEC-A 59
GET STATUS 59, 62
Graphic data messages 7
Graphic element 7
GraphicData element 8
I
ias 38
Indicators element 26
Indicators message 26
Information element 25
Information messages 25
input 43
inputgain 44
ioc-module 45
XML SDK V8.7.0 Remote Control Interface Index 71
Issues 3
K
Key element 16, 29
L
Laws and Regulations 66
Left-to-right codes 62
Legal Domicile 65
letter-figure-mode 42
Liability 65
License element 28
License message 28
License Terms 66
List of Parameters 33
Literature 67
live-sound-mute 47
M
Main command message 14
Main data message tag 5
Main information message tag 25
Main metadata message tag 10
Manufacturer Address 67
Manufacturer and International Distribution 67
MDCode element 10
MDCode message 10
MDDefaultItem element 12
MDDefaultItem message 12
MDInput element 11
MDInput message 11
MDItem element 14
MDItem message 14
MDItemList element 13
MDItemList message 13
MDItemRange element 12
MDItemRange message 12
MDLowerLimit element 13
MDModulation element 11
MDModulation message 11
MDParameter element 12
MDParameter message 12
MDSteps element 13
MDSteps, MDLowerLimit and MDUpperLimit
messages 13
MDUpperLimit element 13
Message categories 3
Message elements 4
Message template 4
Messages 54
MetaData element 10
Metadata messages 10
MilStanagMessageType element 17
modulation 42
N
number-of-channels 44
O
Obligation 65
offset 45
Options 1
Options element 29
output-demod-symbol (W-PCI/e and W-CODE
only) 47
Overview 47
P
Parameter element 15, 26, 33
Parameter names and values 33
ParameterList element 15, 25
ParameterList message 25
passband-bandwidth 45
passband-center 45
Payments 65
Point element 8
polarity 39
Prices 64
R
Raw element 6
Reservation of ownership 65
Result element 9
Result messages 9
Return of goods 65
Revisions 1
S
Sample Code 58
scan-mode 39
Scope 3
Server element 24
SET ALS 62
SET BAUDOT 60
SET BITSTREAM 59
SET CCIR-1 60
SET COQUELET-8 60
Set element 14
SET FEC-A 60
SET FFT 59
SET FFTs PER SECOND 59, 62
SET INMARSAT-C-TDM 61
SET INMARSAT-MINI-M 62
Set messages 14
SET MIL-188-110A 61
SET PACKET-9600 60
SET PACTOR-II 61
SET PSK-31 61
shift 43
shift-register 42
Signal element 10
Signal messages 10
Sink 50, 52
Source 49, 51
speed 43
Speed element 14
Start element 23
Start messages 23
72 Index XML SDK V8.7.0 Remote Control Interface
subcode 40
T
TCP/IP Interface 47
Text data messages 6
Text element 6
threshold-level (W61PC and W-CODE only) 46
Top-down codes 63
Training 1
twinshift-1 45
twinshift-2 45
twinshift-3 45
twin-v1 46
twin-v2 46
W
Warranty 65
WAVECOM Distributor 67
WCloudSource element 28
WCloudSources element 20, 28
WCloudSources message 28
Welcome 1
Win32 Remote Control Interface API 48
X
XML command samples 59
XML header 4
XML Message Format 52
XML Messages 3
XML RCI Image Modes 62
XML Remote Control Interface 53
XMLEncoding 53
XMLEOLType 53
XMLFormatting 52
XML SDK V8.7.0 Remote Control Interface Index 73
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.