-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP Implementation? #1
Comments
Greetings.... To be honest I think the CP would work this way, but I can't see any decent examples in the original library of CP usage. [CP being of course Control Panel]. Python is likely the most comprehensive example for CP, and it is not that much more extensive than the others. What I have not uploaded yet on this code is the command handler for the PD. My code appears below as an aide to show you how I am doing things. My personal code is working well, with multiple virtual PD's and multiple wiegand readers working on a STM32F411 rather well. I must say that I am occasionally get a repeated packet from the InnerRange Inception which causes the secure channel (SC) to drop out. I think I know the cause, but am working on it. I suspect that the Inception is doing something different from the library when packets are repeated. Doing a test right now. I am looking at turning my code into a product. But we will see. I can't see any reason why CP wouldnt work. `int pd_command_handler(void *self, struct osdp_cmd *cmd) switch (cmd->id){
} ` |
Thank you for your response! After your comment i have managed to create PoC for CP implementation with HID reader and ESP32. Not quite working as intended yet, but atleast something. You are right about the examples on libosdp repo, they are not that useful. But the documentation and inspecting your code helped a lot. |
Hi,
Would CP mode be possible with you approach? If so, could you provide basic example?
Thanks!
The text was updated successfully, but these errors were encountered: