Hello,
We are in the final stages of our product development and we would like to add a feature used during assembly to give some sort of confirmation that everything is working OK on the board. Via USB we would like to report a single number value. We already implement the DFU Trigger module (we use the nRF52840), and I was thinking the easiest approach might be to just add an extra opcode. Currently the module has:
- 0x00: DFU_DETACH
- 0x07: Firmware_Info
- 0x08: Version_String
We'd like to add something like 0x09, Status_Report.
Could someone give me some pointers on where to extend the trigger module to support such a response? I had a hard time understanding where the above three opcodes are processed. And also if this is the right way to tackle this problem. I have little experience with USB classes and as such this seemed like the easiest approach to me, but other ideas are of course welcome.