Is it possible to set the file transfer status manually and signaling it via osdp_FTSTAT #277
-
|
The current API does not allow the PD to change the status for a file transfer? From This would be nice, if my hw needs a reboot after a file has been received. Thus, I would like to set the state to 2 (rebooting). What's your opinion on this topic? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @rherrmannr, the idea sounds interesting. Do you want to create a PR with your proposed change? |
Beta Was this translation helpful? Give feedback.
-
|
@rherrmannr in your last PR, you attempt to transparently forward the OSDP file transfer return codes. But what you really need is the end state or outcome of that transfer. So the events should be:
To get here, we need to refactor the file.c to pass through file transfer state machine and trigger the event from the end state. |
Beta Was this translation helpful? Give feedback.
Commit f0990cd now address this.