Hello, we use your company's access control products, after adding the card using the normal card adding instruction, swipe the card to open the door, and an invalid card is prompted.
The command is as follows: add card sending code card number 0x1B625A is read after swiping the card, decimal is 1794650, and it has also been read with the manufacturer's test software. There is no problem with the card number.
7E 4D 43 2D 35 38 31 32 52 31 37 30 32 30 32 34 33 FF FF FF FF 00 00 3D 6C 07 04 00 00 00 00 25 00 00 00 01 00 00 1B 6 2 5A FF FF FF FF 99 12 31 23 59
~ SNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSN PwdPwdPwd PackNoPackNo 07 04 00 Len0x25
1 card Card number 0x1B625A No password 209912312359 All four doors are in the 01 time zone The number of valid times The privilege to open 4 doors Ordinary card No holiday options
Return code：7E 00 00 3D 6C 4D 43 2D 35 38 31 32 52 31 37 30 32 30 32 34 33 FF FF FF FF 21 01 00 00 00 00 00 39 7E
Indicates that the command was executed normally. However, if you swipe the card and indicate that the card is invalid, if it is authorized with the manufacturer's test software, it will become the first card and the door cannot be opened.
Please help to find out what is wrong, thank you, very urgent
Hello, thanks for using our company's access control products
Regarding the above problems encountered in your secondary development, after our analysis, the errors are as follows:
Problem 01 in the code: The authorization validity period should not exceed 2089 (there is a hardware limitation, please do not exceed this time)
Question 02 in the code: For your code, the access level to open the door is expressed as no access level, changed to 0xF8, binary is 1111 1000, the first 4 1s represent 4 doors, 1000, the 1 represents holidays, and 000 represents a normal card
It is recommended that you use the secondary development and debugging tools provided by our company to communicate with the access control through the tools, and then check our communication process in the "communication monitoring" position on the left side of the communication, so that you can get a good understanding of our correct communication process, this is estimated to help you.
Thank you again for using our products, thank you