Receive All ModeThe 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 clientmust reissue the register message.Prefix MatchingThe SMS Manager performs a case-sensitive longest-first match when determining the proper destination for anincoming message. For example, given the following registrations:Client A = “CLIENTA”Client B = “CLIENT”Client C = “CL”Client D = “”Table 29 Example of routing by prefixIncoming message Destination“CLIENTAabcde” Client A“CLIENTabcde” Client B“CLabcde” Client C“Oabcde” Client D“ABCDE” Client DCLIENT INTERFACEThis section describes the SMS client interface.TCPThe client connects to the SMS Manager via a TCP socket on port 6290. The socket will not deliver received messagesuntil a prefix string has been registered. If the socket is closed and reopened, the prefix string must be reregistered.Client Message FormatThe 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], body>\nWhere x is a command letter and y is an optional feature to control message responses from the SMS Manager. In theabsence 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. Anytrailing 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