
14.2.6. Clear GPRS Queue
The user can request the GSM Commander to clear the GPRS queue via the serial port by
sending the following:
*CLEARQ2#
The GSM Commander will reply with
FLUSH GPRS
if the instruction is successfully
received.
14.2.7. Accessing Inputs and Outputs
The user can change outputs and read inputs via the the Serial Port.
To set an output, Send
*OUTON#
then the GSM Commander will respond with
?
.
Now send two
digits corresponding to the output you want to set. if you want to set output 1, then send
01
.
Likewise, if you want to set output 13, send
13
. In a similar way, you can clear outputs by
sending
*OUTOFF#
To read the inputs, simply send
*READIN#
. The GSM Commander will respond by sending a
hexadecimal representation of all the digital inputs. It will be of the form
INPUTS=0x00000004
.
(In this example, Input 3 is set and the rest are cleared)
14.2.8. Check Signal
The user can request the current GSM Signal Strength via the serial port. The user sends
*SIGNAL#
,
to which the GSM Commander will reply like this:
SIG=60%
14.2.9. Check Status
The user can request the current Status of the device via the serial port. The user sends
*STATUS#
,
to which the GSM Commander will reply with the following parameters:
DT=01/01/2017-12:00:00
< Indicates current date & time of the GSM Commander
Sig=78%
< Indicates the received signal strength
AT=35
< Indicates the amount of airtime remaining
FW=7.47
< Indicates the firmware version
SN=160641-30001
< Indicates the serial number
PWR=On
< Indicates status of mains power
BT=13.2V
< Indicates voltage of battery (if connected)
A=108
< Indicates analog value in counts (0 - 250)
T= 23,18
< 1
st
value indicates temperature of
Probe A
(in °C) if connected and
2
nd
value indicates temperature of
Probe B
(in °C) if connected
IN1,2=0,1
< Indicates status of inputs 1 and 2 (0 = inactive, 1 = active)
OUT1,2=0,1
< Indicates status of outputs1 and 2 (0 = inactive, 1 = active)
SIM=1
< Indicates active SIM card
(Only indicated by the GC281 model)
© Polygon Technologies. All rights reserved
Page 45