User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
75
21 COMMAND STRING - READING STATUS OF
SERVICES
21.1 Command for reading current information of Services
You can use AT command to read the info of trigger capable Services.
21.1.1 AT+CSTRSTAT Command
Description:
This command is to read current parameter or status of a particular service.
Command Syntax:
AT+CSTRSTAT=”<type> <id>
Response Syntax:
OK
+CME ERROR: 3
Command
Possible responses:
AT+ CSTSTAT=”AL 1”
AL 1 : ST 01/01/01,12:00:00 TR 2
OK
Note: read current setting of Alarm #1
AT+ CSTRSTAT=”TM 10
TM 10: CV 66 SW 1 TR 20
OK
Note: read current info of countdown timer #10
AT+CSTRSTAT=”IP 9”
+CME ERROR: 3
Note: id out of range
Defined Values:
<type>
Define type of Service:
AL alarm
CT counter
IP Input Port
CT Countdown timer
EM email
AI Analogue input
SC Socket Communication
<id>
Service id
21.1.2 Reading Alarm Service
Enter AT+CSTRSTAT = “AL 1” will get Alarm #1 info:
AL 1 : ST 01/01/01,12:00:00 TR 3
a b c
a. Service id
b. datetime set (space if not set)
c. Command String id to be executed if
trigger (0 if not to trigger)