
© 2014 Burnside Technology Ltd.
Page 15 of 24
Rev 1.1
STATn
Returns the status of the terminal in one of three different formats specified by n. If n
is omitted it is interpreted as zero. The resolution of the battery display is 10
millivolts, and the resolution of the supply is 50 millivolts.
n = 0 For general status, useful during installation:
State: n (terminal state, see table 2 below)
Signal: -79dBm
Supply: On/Off
Bat: 4.12V
PSTN: 48V
Temperature – (in degrees Celsius)
Now: 20
Min: 18
Max: 26
Battery: OK/Fault
Ver: 1.0 (firmware version)
IMEI: 357749031743900
n = 1 For information about faults for a technician, each item is sent on a separate line
which is convenient for a smart phone display.
n = 2 Unlike the other status commands, this format does not send “Stat2:” preceding the
information. Otherwise the information is the same as type 1, but each item is sent on
one line with each field separated by a comma. This is intended for a monitoring
centre:
<Imei number> or identity number/name from PNUM 12
Power: Fail/Recovered after d:h:m:s
Battery: 4.2V,OK/Low/Exhausted/Fault
Temperature: 20 (degrees Celsius) OK/Fault
Hook state: On/Off/Howl
PSTN: 48V,OK
Tamper: Open/Closed
Signal: -dBm
n = 3 All information in a format intended for a computer:
index:val,index:val... to index 13
The index values are as follows:
0 = Signal in –dBm (eg -79)
1 = Power supply state (0 for none, 1 for active)
2 = Battery voltage (eg 4.1)
3 = PSTN voltage in volts (eg 48)
4 = Temperature now (in Celsius) (eg 22)
5 = Minimum temperature recorded (eg -6)
6= Maximum temperature recorded (eg 37)
7 = Model/HW ver./Firmware ver. (eg 1/2/1.03)
8 = Hook howl state (0 is OK, 1 is off-hook & howling)
9 = Power break (0 for none, otherwise 1. Cleared on read)
10 = Call state (0 for idle, 1 for call in progress,)
11 = Battery state (0 for normal, 1 for fault)
12 = IMEI (eg 357749031743900)
13= PSTN state (0 for normal, 1 for fault)
14= Input (0 for closed, 1 for open)