-
-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Describe the bug
An OSDP device that I am using takes a long time to respond to file transfer messages from the CP. When libosdp is used as a CP, this results in the file transfer(firmware upgrade) messages not being sent, because libosdp decides that the PD is not responding.
Expected behavior
File transfer messages do not cause a timeout
Observed behavior
File transfer messages work
Additional context
I did a local fix by just setting OSDP_RESP_TOUT_MS to 800(from 200) in order to make sure that it works. There are two options that I can see on how to fix this:
- For file transfer messages, automatically increase the timeout to be 3x
OSDP_RESP_TOUT_MS - Add a flag to configure the timeout at runtime(to be 3x the standard
OSDP_RESP_TOUT_MS)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels