
14.2.10. Check Airtime
The user can request the GSM Commander to check current airtime via the serial port by sending
the following:
*ATCHECK#
The GSM Commander will request the airtime balance from the network and reply with
AT=xx
(where
xx
is the current airtime value)
Please Note:
The airtime remaining will be displayed as “
AT=--
”
if airtime checking has been
disabled or the incorrect network operator has been chosen in the current setup.
14.2.11. Variable Population (
Only available on the 0641 and 1281 models)
The GSM Commander can accept strings via the serial port to populate its variables. This
functionality is quite handy when combining the GSM Commander with external devices to
monitor certain parameters or trigger a corresponding action.
Variables can be populated with positive values by sending the following string:
*VxC*yyyyyyyy#
Where "x" is the variable name, ie A to H, and "
yyyyyyyy
" is an 8 digit number representing the
value.
To populate variable A with the value “300” for example the user will send:
*VAC*00000300#
Variables can be populated with negative values by sending the following string:
*VxD*yyyyyyyy#
Where "x" is the variable name, ie. A to H, and "
yyyyyyyy
" is an 8 digit number representing
the value. (This is similar to the positive number string)
How to populate variable H with the value “-200” for example the user will send:
*VHD*00000200#
14.2.12. Other uses
The GSM Commander can send out a preselected message on the serial port in reaction to a
chain of events. See Section 8.2.2 for more detail. This is very handy for connection to peripherals
like serial displays and other devices.
© Polygon Technologies. All rights reserved
Page 46