What way is tested and proven to be working?
What way is tested and proven to be working?
Yes it is. Have you checked out the DFU example in the SDK?
I have issues with this example when I try to run it on nrf51822.
After I have change next line in dfu_transport_ble.c:
err_code = NRF_ERROR_INTERNAL; //dfu_ble_get_peer_data(&m_ble_peer_data);
Everything start to work :)
Also it was wrong idea to use LEDs in system driver.
I agree that referring to board stuff like LEDs in dfu_transport_ble.c seems a very bad idea.