10. MESSAGE PARAMETERS
The GSM Commander support the use of parameters in predefined messages. This allows the user to
insert and refer to certain values in message.
➢ \t – Current time (HH:MM:SS)
➢ \d – Current date (DD/MM/YYYY)
➢ \a – Current analog input reading (0-255)
➢ \# – Unit's serial number
➢ \f – Unit's current firmware version
➢ \b – Battery voltage (in volts)
➢ \p – Current power status of mains
➢ \1 – Temperature probe A reading (in °C)
➢ \2 – Temperature probe B reading (in °C)
➢ \s – GSM signal strength (in %)
➢ \c – Airtime credit remaining (local currency)
➢ \i– Current status of inputs (32-bit hexadecimal bitmap)
➢ \o – Current status of outputs (32-bit hexadecimal bitmap)
➢ \v – Last received voice call number
➢ \w – Last received voice call name
➢ \m – Last received message number
➢ \y- Last received message name
➢ \q – Last received message text
➢ \@ - Last scanned RFID tag
➢ \! - Last scanned RFID tag name
➢ \r – Carriage Return (0x0D)
➢ \n – Line Feed (0x0A)
➢ \$ - Asset ID
➢ \+ - Own number
➢ \A – Variable A
➢ \B – Variable B
➢ \C – Variable C
➢ \D – Variable D
➢ \E – Variable E
➢ \F– Variable F
➢ \G– Variable G
➢ \H – Variable H
➢ \I – Variable I
➢ \J – Variable J
➢ \K – Variable K
➢ \L– Variable L
➢ \M – Variable M
➢ \N – Variable N
➢ \O – Variable O
➢ \P – Variable P
For example:
“Serial no \#'s signal is \s%” will send “Serial no 100641-12345's signal is 75%”
For Variables A..P, it is also possible to specify a decimal point. You do this by adding a number (1,2
or 3) after the parameter, and this number will indicate the position of the decimal point. \A1 will
show digit after the decimal, \A2 will show 2 digits etc. Let us assume Var A contains temperature,
and a value of 213 is supposed to correspond to 21.3°C, then you can specify this in a message as
follows: “Temperature in fridge is \A1 degrees”
This parameters also apply on serial / RS232 commands by using the following parameter:
*SLASHx#
x = parameter, example “s” for signal strength (without the slash “\”)
Example: *SLASHs# return the signal strength in the following format: SLASHVAR=80
Please Note: All message parameters are case sensitive.
© Polygon Technologies. All rights reserved Page 40