07-14-2021, 02:05 PM
Almost immediately after my last post I found the logs in nrfConnect. They seem to indicate that a timeout is occurring but I'm not sure whether it's happening on the phone or watch side (or what is causing it).
Here are what (I think) are the relevant portions of the log:
```
...
A 15:54:48.974 [DFU] Initialize DFU Parameters completed
I 15:54:49.922 [DFU] Notification received from 00001531-1212-efde-1523-785feabcd123, value (0x): 10-02-01
A 15:54:49.922 [DFU] Response received (Op Code = 2, Status = 1)
V 15:54:49.922 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123
D 15:54:49.922 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123)
I 15:54:50.009 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 03
A 15:54:50.009 [DFU] Receive Firmware Image request sent
A 15:54:50.036 [DFU] Uploading firmware...
V 15:54:50.036 [DFU] Sending firmware to characteristic 00001532-1212-efde-1523-785feabcd123...
D 15:54:56.280 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
E 15:54:56.280 Error 8 (0x8): GATT CONN TIMEOUT
I 15:54:56.280 Disconnected
E 15:54:56.307 [DFU] Device has disconnected
D 15:54:56.307 [DFU] gatt.disconnect()
D 15:54:56.307 [DFU] gatt.close()
D 15:54:56.319 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D 15:54:56.334 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V 15:54:56.334 [DFU] DFU service started
I 15:54:56.334 [DFU] Firmware file opened successfully
D 15:54:56.334 [DFU] wait(1000)
D 15:54:57.323 [DFU] wait(1000)
V 15:54:58.323 [DFU] Connecting to DFU target...
D 15:54:58.361 [DFU] gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferredPhy = LE_1M | LE_2M)
...
```
Here are what (I think) are the relevant portions of the log:
```
...
A 15:54:48.974 [DFU] Initialize DFU Parameters completed
I 15:54:49.922 [DFU] Notification received from 00001531-1212-efde-1523-785feabcd123, value (0x): 10-02-01
A 15:54:49.922 [DFU] Response received (Op Code = 2, Status = 1)
V 15:54:49.922 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123
D 15:54:49.922 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123)
I 15:54:50.009 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 03
A 15:54:50.009 [DFU] Receive Firmware Image request sent
A 15:54:50.036 [DFU] Uploading firmware...
V 15:54:50.036 [DFU] Sending firmware to characteristic 00001532-1212-efde-1523-785feabcd123...
D 15:54:56.280 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
E 15:54:56.280 Error 8 (0x8): GATT CONN TIMEOUT
I 15:54:56.280 Disconnected
E 15:54:56.307 [DFU] Device has disconnected
D 15:54:56.307 [DFU] gatt.disconnect()
D 15:54:56.307 [DFU] gatt.close()
D 15:54:56.319 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D 15:54:56.334 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V 15:54:56.334 [DFU] DFU service started
I 15:54:56.334 [DFU] Firmware file opened successfully
D 15:54:56.334 [DFU] wait(1000)
D 15:54:57.323 [DFU] wait(1000)
V 15:54:58.323 [DFU] Connecting to DFU target...
D 15:54:58.361 [DFU] gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferredPhy = LE_1M | LE_2M)
...
```