Command |
~AAAS |
Description |
Set Alarm Mode |
Syntax |
~AAAS[CHK](cr)
~ |
a delimiter character |
AA |
address of setting module (00 to FF) |
A |
command for setting alarm mode |
S |
alarm mode
0 = alarm mode 0
1 = alarm mode 1 |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
!AA[CHK](cr) |
Invalid Command |
?AA[CHK](cr) |
Syntax error or communication error may get no response.
! |
delimiter for valid command |
? |
delimiter for invalid command. |
AA |
address of response module (00 to FF) |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
~01A0 |
Response |
!01 |
Description |
Set address 01 alarm mode 0, return success. |
|
|