Replies: 2 comments 1 reply
-
The +64 has been around since epoch and probably needs a more careful assessment with all the things that we know today. Please note: that number can be reduced but not removed. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This will be tracked at #219. Closing this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I implemented libsodp (CP mode) on my device and connected two readers (PD) from different manufacturers. One of them has a Receive Buffer Size of 64B, and CP is unable to send any commands to it after the osdp_CAP command.
It fails in the function
osdp_phy_packet_init
because of this line:exp_len = sizeof(struct osdp_packet_header) + 64; /* 64 is estimated */
Thus, libsodp requires the PD to have more than a 64B + header buffer.
I did not find explicit minimum rx buffer requirements for PD in the standard. Are there any?
Thank You
Beta Was this translation helpful? Give feedback.
All reactions