I made a device based on the nRF52832 and am developing an app to control it. The control works great, I can send and receive BLE signals with react-native-ble-manager. I am moving on to enable firmware updates and I am hitting a snag that I just can't find a way to get past. I got the dfu_application.zip from my build/zephyr directory and fed it to the react-native-nordic-dfu library like:
LOG DFU state: DFU_FAILED
LOG [Error: DFU FILE ERROR]
I can use the same zip in the device manager app to update the firmware successfully, but it doesn't seem to work here. Attached is my full RN project, firmware source, and the DFU zip. I believe the error is coming from Nordic's Android-DFU-Library, but I have not had any luck tracing back what the issue could be. I was hoping someone here might be able to see the mistake that I'm making.
Do I have an issue with my DFU file? I have also tried exporting with "nrfutil nrf5sdk-tools pkg generate" without any luck.
Do I have an issue with how I'm setting up my connection? I'm connecting then bonding through react-native-ble-manager independently then running the startDFU with just the ID/Name
Any help or advice on how to move forward would be greatly appreciated.
Best,
Phirks


