Chapter 22
Command string - Reading status ofone
services
22.1
Command for reading current information of Services
AT+CSTRSTAT
To read current parameter or status of a particular service.
Syntax:
AT+CSTRSTAT="<type> <id>"
Response:
OK
Defined Values:
<type>
define type of Service:one
AL
Alarm
CT
Counter
TM
Countdown timer
IP
Input port
PW
Device power control
EM
AI
Analog input
OP
Output port
<id>
service id
Example:
Command
Response
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
22.1.1
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
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
105