SMS Command XML Child Elements

The XML child elements for an SMS command.

Command Description
ping Ping the device via SMS to determine whether device can receive SMS messages. No parameters.
provision Configure the device with the Remote Manager server telephone number and optionally the service ID. The restrict sender flag must be off in the device for this command. No parameters.
raw Send raw SMS message from the device with no modification from Remote Manager. This is useful in cases when customers wish to use every byte of the SMS message (Remote Manager protocol takes approximately 5 bytes per message of overhead) or when using a device that doesn’t have Remote Manager protocol support but does have SMS support. SMS raw messages can be a maximum of 160 characters. The supported characters are dependent on your carrier, but are character only (not binary). They are not guaranteed to be delivered, may be delivered more than once, and are not guaranteed to be correct (they are subject to corruption).
reboot Reboot the device immediately. No parameters.
request_connect Request a Remote Manager data connection. If a connection has already been made, forces a reconnect of the management session. No parameters.
command Send a command. Options include: maxResponseSize=’’’’’ Set maximum size of the response. If the response is larger than the maxResponseSize, the response is truncated. The value is the number of SMS messages that make up the response. This is an optional parameter. If not specified, the size of the response is determined by the device.
user_msg Send a message to a registered listener in python. This command is similar to the RCI do_command custom target command. path=’’’’’ Send requests to a specific listener. If this optional parameter is omitted, the message is delivered to the listener on the device that is registered to the null path.
dia Send a DIA command to the running DIA instance. The format of this request is documented in the DIA SMS presentation documentation.
Optional attribute for the above commands format=“base64|text” Set the encoding of the request to Base64 or text: use base64 for Base64 encoding; use text for plain text. The default format is text. All subcommands (cli, user_msg, and so on) support the format=“base64|text” attribute. If the server detects characters that will cause the response to be invalid XML, it encodes the response in Base64 and indicates this with the format=“base64” attribute. That is, even if a request uses format=“text”, the reply may have format=“base64” set.