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

Error updating DFU - Platform exception

Hi,

We are developing a flutter mobile app, for Actility/Abeeway (chips from Avnet Silica) using flutter pluggin that relies on the Android SDK. In some situations (after 2/3 succefull updates) we are getting the PlatformException error. Here are the Android logs (Before exception):

08-03 13:26:45.477 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:45.950 14599 14662 D BluetoothAdapter: startLeScan(): null
08-03 13:26:45.953 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:45.958 14599 14785 D BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=10 mScannerId=0
08-03 13:26:47.509 14599 14662 D BluetoothGatt: close()
08-03 13:26:47.509 14599 14662 D BluetoothGatt: unregisterApp() - mClientIf=8
08-03 13:26:47.534 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:47.541 14599 14994 D BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=8 mScannerId=0
08-03 13:26:48.500 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:48.559 14599 14662 D BluetoothGatt: connect() - device: DD:F9:55:CA:3C:89, auto: true
08-03 13:26:48.559 14599 14662 D BluetoothGatt: registerApp()
08-03 13:26:48.560 14599 14662 D BluetoothGatt: registerApp() - UUID=adaf2023-244b-45e5-b46d-ca82b1128af2
08-03 13:26:48.571 14599 14994 D BluetoothGatt: onClientRegistered() - status=0 clientIf=8
08-03 13:26:48.960 14599 14662 D BluetoothAdapter: startLeScan(): null
08-03 13:26:48.961 14599 14662 E BluetoothAdapter: LE Scan has already started
08-03 13:26:48.961 14599 14662 D BluetoothAdapter: stopLeScan()
08-03 13:26:48.963 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:48.969 14599 14662 D BluetoothAdapter: startLeScan(): null
08-03 13:26:48.972 14599 14662 D BluetoothAdapter: isLeEnabled(): ON
08-03 13:26:48.987 14599 14994 D BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=10 mScannerId=0
08-03 13:26:53.970 14599 14994 D BluetoothGatt: onClientConnectionState() - status=133 clientIf=9 device=DD:F9:55:CA:3C:89
08-03 13:26:53.970 14599 14994 E DfuBaseService: Connection state change error: 133 newState: 0
08-03 13:26:53.970 14599 15550 E DfuBaseService: Device not reachable. Check if the device with address DD:F9:55:CA:3C:89 is in range, is advertising and is connectable
08-03 13:26:53.976 14599 15550 D BluetoothGatt: close()
08-03 13:26:53.976 14599 15550 D BluetoothGatt: unregisterApp() - mClientIf=9
08-03 13:26:54.585 14599 14641 I flutter : 2021-08-03 11:26:54.585505Z UTC: SCREEN: FlowType.FIRMWARE_UPDATE Error Updating -> PlatformException(2, DFU FAILED, device address: DD:F9:55:CA:3C:89, null)

Can you give us a clue what could be happening

Best regards,

Parents Reply Children
No Data
Related