I have programmed custom services on my evaluation kit and everything works great. I am now looking to implement updating my application from iOS and Android app.
Using:
SDK 5.2.0 S110 6.0.0
I have been trying to understand how to use the bootloader and do DFU but not able to wrap my head around it. I checked out the Bootloader/DFU example in the documentation. When I open the Keil project and select dfu_dual_bank for s110. I see dfu_dual_bank.c & dfu_transport_ble.c but I don't see those filed included or referenced anywhere.
What is the procedure for add dfu to an existing application for the evaluation kit ? Is the DFU implemented as a service ?
I see services_init in dfu_transport_ble but I don't see a main() function in that file. But don't see other functions being referenced. Also functions like advertising_start() one_ble_evt() ble_evt_dispath() etc are in dfu_transport_ble.c
If I have other services do I need to move these functions from dfu_transport_ble.c to main.c to combine them ?
Not able to understand where to start and how to add.