This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error 10 on DFU

I'm using S132 (SDK 12.3) and I'm trying to perform DFU over the air. The procedure I am using with this device (and failing) is being used on other devices an succeeding.

Using the Android Nordic DFU service, I get the log found here. The most relevant part is the following:

09-18 15:19:56.033 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [0]: [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
09-18 15:19:56.078 21651-6746/com.some.app E/DfuImpl: Executing object failed (error 10)
09-18 15:19:56.078 21651-6746/com.some.app D/BluetoothGatt: cancelOpen() - device: ED:5C:7E:C3:7C:05
09-18 15:19:56.083 21651-21668/com.some.app D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=ED:5C:7E:C3:7C:05
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [5]: [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [5]: [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-0A
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [20]: [DFU] Remote DFU error: REMOTE DFU OPERATION FAILED
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [1]: [DFU] Disconnecting...
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [0]: [DFU] gatt.disconnect()
09-18 15:19:56.084 21651-21651/com.some.app D/someService: Thread: main
                                                                    ED:5C:7E:C3:7C:05 [5]: [DFU] Disconnected

Here, the service fails to perform the DFU and reports error 10.

My biggest question is why is this happening with only this device. But to start, I'd like to know where can I find an error list, so I can know what error 10 is and go from there.

Thanks!

Related