I'm having a weird issue where the stock sdk 8.1.0 DFU software is not timing out properly and getting stuck in the bootloader, advertising dfuTarg forever.
Our iOS app does the following to get the DFU app in this state:
Start value is written to control point which causes the device to enter the bootloader. Then the iOS app connects to dfuTarg and writes the start value to the control point again.Then the file size is written to the packet characteristic. After this two different things have occurred in testing. In one scenario the device disconnects and then begins advertising again and never times out.
The only change I made to the stock DFU code was to remove reference to the button press, and to change the following line as described in this post: devzone.nordicsemi.com/.../
Any idea why the DFU timeout would not work properly?
Thanks, Seth