Hi,
Do you need to figure out from the DFU controller, whether the DFU was successful? For that you can use the Device Information Service, which may contain information about the device such as manufacturer name, hardware and firmware versions, etc.
Or do you need to figure this out on the device itself? (I.e. for automatically doing post-update processing on the first start-up of a new application.) You could for instance store the current application version number in flash and check that version number on startup. If it is older than the current application then you know that there has been an update and you can do the processing then write the new version number to flash.
Regards,
Terje
Hi,
Do you need to figure out from the DFU controller, whether the DFU was successful? For that you can use the Device Information Service, which may contain information about the device such as manufacturer name, hardware and firmware versions, etc.
Or do you need to figure this out on the device itself? (I.e. for automatically doing post-update processing on the first start-up of a new application.) You could for instance store the current application version number in flash and check that version number on startup. If it is older than the current application then you know that there has been an update and you can do the processing then write the new version number to flash.
Regards,
Terje