The GPRS modem option has the ability to react to a small set of well-defined SMS messages that can be sent from a remote cell phone or other SMS agent.
The syntax of such a command is simple:
the message must begin with the text “gprsd:”
and must contain a valid command after the “:”
See the sections Related configuration items and Available remote SMS commands for more details.
The following GPRS modem configuration items affect usage of remote SMS commands:
“Enable Remote SMS Commands” must be enabled. See SMS Configuration.
“Monitor data poll cycle time” determines the interval that the driver reads SMS messages as part of the “monitor data poll cycle.” See Modem Configuration.
The following SMS commands can be issued remotely:
gprsd:pppon
Causes a startup of the PPP protocol stack, if not already started (otherwise, this command does nothing). Note this is irrespective of the setting for the “enable PPP on ASC0” configuration item.
gprsd:pppoff
Causes any current PPP session to terminate. If there is no current PPP stack initialized, this command does nothing. Note that the PPP stack cannot be restarted again until the “min time before reconnecting PPP” has transpired.
gprsd:sendip
Causes the driver to return the current IP address associated with the current PPP session back to the sender’s phone number. In this manner, a mobile phone can request the IP address, get an answer, and then that IP address can be used to sent up a client session (i.e. Workbench) with the JACE.
gprsd:info
Causes an SMS message that contains mostly a subset of the runtime monitor data to be sent back to the sender’s phone number. This data includes the following:
model
host ID of the JACE (note that this item is not part of the runtime data)
connectedLocalIpAddress
engineState
rssi
roam
Copyright © 2000-2014 Tridium Inc. All rights reserved.