Hello, I'm using softdevice 6.0, SDK 15.0, secure bootloader buttonless S132. On the phone with Android I'm using: nRF Toolbox 2.9.0 with DFU Library version 1.10.3.
I start the firmware update with firmware A and stop before it finishes by closing the app DFU. If I retry the update with the same firmware A, the app DFU resumes from the percentage from where it was interrupted, but the app DFU returns the error "OPERATION NOT PERMITTED and disconnects (I also attach the log). At this point I make an update with a frimware B. The update restarts from the beginning and, if I do not interrupt the app, it is successful.
What is the solution to this criticism in Android?
Best regards
nRF Connect, 2020-06-22 SE-007-E000027 (FE:10:CD:01:21:29) D 10:13:42.482 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED V 10:13:42.969 Connecting to FE:10:CD:01:21:29... D 10:13:42.969 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 10:13:43.104 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 10:13:43.104 Connected to FE:10:CD:01:21:29 V 10:13:43.106 Requesting new MTU... D 10:13:43.106 gatt.requestMtu(517) I 10:13:43.765 MTU changed to: 247 V 10:13:43.792 Discovering services... D 10:13:43.793 gatt.discoverServices() D 10:13:43.868 [Callback] Services discovered with status: 0 I 10:13:43.868 Services discovered V 10:13:43.913 Generic Access (0x1800) - Device Name [R W] (0x2A00) - Appearance [R] (0x2A01) - Peripheral Preferred Connection Parameters [R] (0x2A04) - Central Address Resolution [R] (0x2AA6) Generic Attribute (0x1801) Unknown Service (7f04f3f0-b665-11e3-a5e2-0800200c9a66) - Unknown Characteristic [W WNR] (92b403f0-b665-11e3-a5e2-0800200c9a66) - Unknown Characteristic [N R] (7d32c0f0-bef5-11e3-b1b6-0800200c9a66) Client Characteristic Configuration (0x2902) - Unknown Characteristic [N R] (2d417c80-b667-11e3-a5e2-0800200c9a66) Client Characteristic Configuration (0x2902) - Unknown Characteristic [N R] (f9f84152-b667-11e3-a5e2-0800200c9a66) Client Characteristic Configuration (0x2902) Secure DFU Service (0xFE59) - Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50) Client Characteristic Configuration (0x2902) Battery Service (0x180F) - Battery Level [N R] (0x2A19) Client Characteristic Configuration (0x2902) Device Information (0x180A) - Manufacturer Name String [R] (0x2A29) - Model Number String [R] (0x2A24) - Serial Number String [R] (0x2A25) - Hardware Revision String [R] (0x2A27) - Firmware Revision String [R] (0x2A26) - Software Revision String [R] (0x2A28) D 10:13:43.913 gatt.setCharacteristicNotification(7d32c0f0-bef5-11e3-b1b6-0800200c9a66, true) D 10:13:43.915 gatt.setCharacteristicNotification(2d417c80-b667-11e3-a5e2-0800200c9a66, true) D 10:13:43.918 gatt.setCharacteristicNotification(f9f84152-b667-11e3-a5e2-0800200c9a66, true) D 10:13:43.922 gatt.setCharacteristicNotification(00002a19-0000-1000-8000-00805f9b34fb, true) D 10:14:05.248 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) E 10:14:05.259 Error 8 (0x8): GATT CONN TIMEOUT I 10:14:05.260 Disconnected D 10:14:05.375 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED D 10:19:28.806 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED D 10:19:28.806 gatt.close() D 10:19:28.844 wait(200) V 10:19:29.047 Connecting to FE:10:CD:01:21:29... D 10:19:29.047 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 10:19:29.185 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 10:19:29.185 Connected to FE:10:CD:01:21:29 V 10:19:29.187 Requesting new MTU... D 10:19:29.187 gatt.requestMtu(517) I 10:19:29.515 MTU changed to: 247 V 10:19:29.542 Discovering services... D 10:19:29.542 gatt.discoverServices() D 10:19:29.700 [Callback] Services discovered with status: 0 I 10:19:29.700 Services discovered V 10:19:29.746 Generic Access (0x1800) - Device Name [R W] (0x2A00) - Appearance [R] (0x2A01) - Peripheral Preferred Connection Parameters [R] (0x2A04) - Central Address Resolution [R] (0x2AA6) Generic Attribute (0x1801) Unknown Service (7f04f3f0-b665-11e3-a5e2-0800200c9a66) - Unknown Characteristic [W WNR] (92b403f0-b665-11e3-a5e2-0800200c9a66) - Unknown Characteristic [N R] (7d32c0f0-bef5-11e3-b1b6-0800200c9a66) Client Characteristic Configuration (0x2902) - Unknown Characteristic [N R] (2d417c80-b667-11e3-a5e2-0800200c9a66) Client Characteristic Configuration (0x2902) - Unknown Characteristic [N R] (f9f84152-b667-11e3-a5e2-0800200c9a66) Client Characteristic Configuration (0x2902) Secure DFU Service (0xFE59) - Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50) Client Characteristic Configuration (0x2902) Battery Service (0x180F) - Battery Level [N R] (0x2A19) Client Characteristic Configuration (0x2902) Device Information (0x180A) - Manufacturer Name String [R] (0x2A29) - Model Number String [R] (0x2A24) - Serial Number String [R] (0x2A25) - Hardware Revision String [R] (0x2A27) - Firmware Revision String [R] (0x2A26) - Software Revision String [R] (0x2A28) D 10:19:29.746 gatt.setCharacteristicNotification(7d32c0f0-bef5-11e3-b1b6-0800200c9a66, true) D 10:19:29.749 gatt.setCharacteristicNotification(2d417c80-b667-11e3-a5e2-0800200c9a66, true) D 10:19:29.751 gatt.setCharacteristicNotification(f9f84152-b667-11e3-a5e2-0800200c9a66, true) D 10:19:29.756 gatt.setCharacteristicNotification(00002a19-0000-1000-8000-00805f9b34fb, true) D 10:19:51.867 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) E 10:19:51.868 Error 8 (0x8): GATT CONN TIMEOUT I 10:19:51.868 Disconnected D 10:19:51.922 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED