Client Interface - CalAmp Vanguard 3000 User Manual

Multicarrier 3g cellular broadband router
Hide thumbs Also See for Vanguard 3000:
Table of Contents

Advertisement

Receive All Mode
The Receive All mode allows a client to receive a copy of all incoming SMS messages, even those sent to another client.
This promiscuous mode overwrites any previous registration made by this client. To revert to normal mode, the client
must reissue the register message.
Prefix Matching
The SMS Manager performs a case-sensitive longest-first match when determining the proper destination for an
incoming message. For example, given the following registrations:
Client A = "CLIENTA"
Client B = "CLIENT"
Client C = "CL"
Client D = ""

CLIENT INTERFACE

This section describes the SMS client interface.
TCP
The client connects to the SMS Manager via a TCP socket on port 6290. The socket will not deliver received messages
until a prefix string has been registered. If the socket is closed and reopened, the prefix string must be reregistered.
Client Message Format
The format of commands, responses, and data messages is loosely based on the NMEA 0183 message format, using the
$P "proprietary" message type with a CalAmp "CAL" vendor identifier.
The SMS client interface uses the following message format:
$PCALx[y],<message body>\n
Where x is a command letter and y is an optional feature to control message responses from the SMS Manager. In the
absence of the optional response control character, the manager will default to respond to the command.
All messages are delimited by the first occurrence of a carriage return (\r, 0x0D) or newline (\n, 0x0A) character. Any
trailing characters, such as the \n in a \r\n pair, are ignored until the dollar-sign, $, that starts a new message is seen.
Table 29 Example of routing by prefix
Incoming message
"CLIENTAabcde"
"CLIENTabcde"
"CLabcde"
"Oabcde"
"ABCDE"
Vanguard 3000 Series Multicarrier Cellular Data Modem & IP Router PN 001-7300-100 Rev. B
Destination
Client A
Client B
Client C
Client D
Client D
| Page 111

Advertisement

Table of Contents
loading

Table of Contents