– Do not concatenate after ST operation; set time operation should be at the last part of Command String.
– After alarm time, the ST setting of that Alarm will be lost.
– This service will make use of Maestro modem internal alarm command (AT+CALA) so please avoid using
AT+CALA command by yourself when alarm service is used.
– If the modem is restarted, date time setting of each alarm will be checked against real-time clock time. If time
is passed the setting will be canceled.
– Alarm Service is "one-shot" type. There is no periodic alarm like "daily" or "weekly".
– If the alarm time needs to be updated, please disable the alarm and set it again to a new time.
21.2 Counter Service
Counter is used to execute a Command String when a counter value equals a preset value. There are total of 5
counters.
1st field
Service
type
2nd field
Service
id
3rd field
Operation
type
4th field
Operation argument
Explanation
CT (1 to 5)
DE 1 to 255
Decrement the value of counter with
argument value
IN 1 to 255
Increment the value of counter with
argument value
RS 0 Reset the counter value to zero
ST -32768 to 3767
Set the "trigger" value; If counter value
equal this value, it will execute TR
TR
(1 to 50)
0
Set Command String to be run,
0 to cancel setting
Example: Set counter #1 to execute Command String #10 if counter value equals 100.
CT␣1␣ST␣100␣CT␣1␣TR␣10
Example: Increase counter #1 value by 20.
CT␣1␣IN␣20
Example: Reset counter #1 value to 0.
CT␣1␣RS␣0
Note:
– Initial Counter and trigger values are zero.
– The Counter is recorded by a signed 16 bit register, if the Counter value is 32767 and you increase it by 1, the
value will change to -32768.
– There is no limit on no. of times of triggering. E.g. If you first set trigger value to 2 and reset Counter to 0, then
you increment counter by 2, then decrement by 2 and increment by 2 again. Then the associated Command
String will be executed twice.
94 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com