TANC-security / keypad-firmware

ECP keypad implementation for Arduino/AVR
https://alarmtool.com/
GNU Lesser General Public License v2.1
39 stars 8 forks source link

F7 CRC #10

Open KathyRayburn opened 5 years ago

KathyRayburn commented 5 years ago

Has anyone determined the algorithm for computing F7 message CRCs? It doesn't appear to be the same as is used for the messages sent from the keypad.

Also, it appears there is some initialization that occurs when a keypad powers up. I see these messages sent out: 10 87 00 00 04 04 04 00 5D (I'm not sure why it says 87 bytes when only 7 are available.)

Thanks to all the folks who worked on this project, it's been very helpful in emulating the panel.

markkimsal commented 5 years ago

Tom Vickers has some projects that are the compliment of this one. He's re-creating the panel firmware to talk to standard keypads. So, if there's someone who knows how to create the F7 CRC, it's probably Tom.

https://github.com/TomVickers/Arduino2keypad/blob/ef0e8f3b38f804afa7154dedb7ecaf6a09b34ee7/arduinoProj/USB2keybus/KeypadSerial.cpp

KathyRayburn commented 5 years ago

Thanks! That's exactly what I needed.