hi support team,
i have one question about DFU function question,:
in our ncs sdk , nrf5 desktop can dfu from hid feature(from configuration channel setting), if it can be accomplished in our nrf5 sdk?
Regards,
William.
hi support team,
i have one question about DFU function question,:
in our ncs sdk , nrf5 desktop can dfu from hid feature(from configuration channel setting), if it can be accomplished in our nrf5 sdk?
Regards,
William.
Hi William!
Thank you for your patience. I've finally got some input on this from the developers. Basically the speed of the HID DFU is determined by the poll interval defined in scripts/hid_configurator/NrfHidDevice.py. You can change the POLL_INTERVAL_DEFAULT value (for example to 0.002 to communicate with the device every 2ms). This may require that you increase the POLL_RETRY_COUNT (for example to 200) as well so that device communications isn't interrupted.
They have some further comments to:
The implementation was meant to be used as a background DFU. We wanted to reduce negative impact of DFU image transfer on user experience, so we communicated with longer poll interval to avoid making FLASH writes or providing HID configurator responses too often (when we operate on FLASH or provide response for HID configurator we actually delay providing HID input report)
The DFU could be delayed in case device provides HID input reports to host. If device provides the HID reports, we assume that user actively uses it and we delay writing data to FLASH to avoid delaying delivery of HID input report.
Best regards,
Carl Richard
Thanks a lot! i will feed it back to customer.
Regards,
William.