Hello, are there any detailed analysis and examples of communication instructions for the access control? The agreement documents are not clear.
Example of sending from PC to control board (reading controller SN):
7E30303030303030303030303030303030FFFFFFFF19883D90010200000000006D7E
Split explanation:
7E--Command header
30303030303030303030303030303030--SN's ascii code (not important when reading sn, other commands must be entered correctly)
FFFFFFFF - The default communication password is FFFFFFFF
19883D90 - information code (actually a random number or a serial number)
010200 - The control code corresponding to the instruction (see the command table below)
00000000--The length of the data, there is no data packet part, here is all 0.
6D - Checksum
30303030303030303030303030303030FFFFFFFF19883D9001020000000000 and check the low byte
7E - end of command
Example of control board sending to PC (read controller SN response):
7E1906677946432D38393230413235303530323835FFFFFFFF3102000000001046432D38393230413235303530323835087E
Split analysis:
7E--Command header
19066779 - The network logo sent by the software, and the software will return whatever it sends.
46432D38393230413235303530323835- the sn ASCII code of the controller itself
FFFFFFFF - communication password
310200 - Command response code (check command table)
00000010 - The length of the data packet part
46432D38393230413235303530323835 --- Part of the content of the data packet (here is the read sn command, so the data packet part is the ascii code of sn)
08 - Sum check
7E - end of command