{"action":"closed","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/124","repository_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/124/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/issues/124/events","html_url":"https://github.com/NordicSemiconductor/Android-DFU-Library/issues/124","id":360814948,"node_id":"MDU6SXNzdWUzNjA4MTQ5NDg=","number":124,"title":"Handling zip containg bl+sd+app with BL already up-to-date","user":{"login":"NitroG42","id":1549495,"node_id":"MDQ6VXNlcjE1NDk0OTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1549495?v=4","gravatar_id":"","url":"https://api.github.com/users/NitroG42","html_url":"https://github.com/NitroG42","followers_url":"https://api.github.com/users/NitroG42/followers","following_url":"https://api.github.com/users/NitroG42/following{/other_user}","gists_url":"https://api.github.com/users/NitroG42/gists{/gist_id}","starred_url":"https://api.github.com/users/NitroG42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitroG42/subscriptions","organizations_url":"https://api.github.com/users/NitroG42/orgs","repos_url":"https://api.github.com/users/NitroG42/repos","events_url":"https://api.github.com/users/NitroG42/events{/privacy}","received_events_url":"https://api.github.com/users/NitroG42/received_events","type":"User","site_admin":false},"labels":[{"id":178336994,"node_id":"MDU6TGFiZWwxNzgzMzY5OTQ=","url":"https://api.github.com/repos/NordicSemiconductor/Android-DFU-Library/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-17T10:54:44Z","updated_at":"2018-10-17T11:04:51Z","closed_at":"2018-10-17T11:04:51Z","author_association":"NONE","body":"Hello, \r\nI'm having a hard time handling a case where our device needs to update its bootloader and his application, but the bootloader is already at the latest version.\r\nTo give some context the user use our phone app to pair with our device, it will try to update it to the latest version. For some reason, if the bootloader is updated but not the app, we won't be able to know (because updating the bootloader first make our phone unable to read the BL version, so it will try to update it again). The issue is that when we try to update the BL, we get a FW version error, because the bootloader is already up to date. It's normal, the issue is that we can't update the app right after, because the device is in bootloader mode and the DFU library won't find the device.\r\n\r\nMy thinking was to send a zip containing all (SD, BL, and app, before we were separating between two zip, one containing BL and the other one the APP), and that the library will be able to take care of this annoying use case.\r\nUnfortunatelly, it throw the same error, (FW version error, bootloader is already up to date), and then stop, instead of continuing and flashing the app.\r\nDon't you think the library should continue ?\r\nDo you have a workaround for this issue ?\r\n\r\nRight now the problem for the Android App to handle that is when we are pairing to the device, as it won't be able to keep the paired state (bc the update failed), and we shouldn't keep data in the database that the device has already the latest bootloader and should go right to the firmware.\r\n\r\nThank you !"}}
{"actor":{"display_login":"philips77"}}