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 = “”
Table 29 Example of routing by prefix
Incoming message
Destination
“CLIENTAabcde”
Client A
“CLIENTabcde”
Client B
“CLabcde”
Client C
“Oabcde”
Client D
“ABCDE”
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.
Vanguard 3000 Series Multicarrier Cellular Data Modem & IP Router PN 001-7300-100 Rev. B
| Page 111