I want to test OTA in button mode. I have configured the button in DFU project. Now I upload the files in my device in the following pattern:-
1)Bootloader hex file
2)Softdevice file
3)Firmware file.
Now I switch off the device and turn it on again.
After turning on I observed that the device directly enters into bootloader mode without pressing the button. Why does it happen? It should enter the bootloader mode while I press the DFU button while power on. Please help me with it. It directly goes into bootloader mode without even pressing button.