2) The CRC sent is wrong
Input : 0x7E 0x00 0x08 0x01 0x00 0x0A 0x3E 0x11 0x22
return : none
3) When the length of the command sent is not enough or the waiting time exceeds 400ms after sending 0x7e
0x00, it will be treated as an unknown command
Input : 0x7E 0x00 0x08 0x01 0x00 0x0A 0x3E
return : none
1.3 Save the flag bit to the internal Flash instruction
To save the device flag list to the internal Flash, you need to send a save command .
Note : The device cannot save a single flag bit configuration individually, it must keep the entire list at the same
time .
Command format :
Input : {Head1} {Types} {Lens} {Address} {Datas} {CRC}
Among them :
Head1 : 0x7E 0x00
Types : 0x09
Lens : 0x01
Address : 0x0000
Datas : 0x00
CRC : CRC_CCITT check value (0xDE 0xC8)
Returns : {Head2} {Types} {Lens} {Datas} {CRC}
1) Save successfully
Among them :
Head2 : 0x02 0x00
Types : 0x00 (write successful)
Lens : 0x01
Datas : 0x00
CRC : CRC_CCITT check value (0x33 0x31)
2) Failed to deliver CRC check
no response command
3) Unknown command response
no response command
1.4 Reset the flag bits to factory settings
If you want to restore the content of the device flag to the factory settings and save it to Flash, you need to send
a factory reset command .
Command format :