Use the flutter plugin [nordic_dfu] to upgrade the remote control device hardware

We have used the hardware equipment of your company on the remote control device, and we have used the plug-in nordic_dfu to upgrade the remote control. We are a flutter App. When we use the method provided by the nordic_dfu plugin to upgrade our remote control device, that is, after the App connects to the device, the obtained device macid address and the local upgrade package path are passed into the method, the android App can be upgraded normally. However, the iOS App will report [Unhandled Exception: PlatformException(DEVICE_ADDRESS_ERROR, Device address conver to uuid failed, Device uuid EE:01:06:81:63:3E convert to uuid failed, null】 Error. We can not find the relevant answer in pub.dev, please guide us to solve this problem, thank you very much!

 

1.This is the remote device related information in iOS&Android
iOS print:DiscoveredDevice(id: 62CCCBCA-5C14-2CEA-8DCA-F8E91FB993C8, name: DZ29_633E, serviceData: {7364: []}, serviceUuids: [], manufacturerData: [105, 108, 2, 21, 238, 1, 6, 129, 99, 62], rssi: -61, connectable: Connectable.available)
Android print:DiscoveredDevice(id: EE:01:06:81:63:3E, name: DZ29_633E, serviceData: {00007300-0000-1000-8000-00805f9b34fb: []}, serviceUuids: [], manufacturerData: [105, 108, 2, 21, 238, 1, 6, 129, 99, 62], rssi: -65, connectable: Connectable.available)
manufacturerData -> macid: 69:6C:02:15:EE:01:06:81:63:3E. We chose the last six!

2.This is what I use in flutter
await
NordicDfu().startDfu(
'EE:01:06:81:63:3E',
'assets/a.zip',
fileInAsset: true,
onProgressChanged: (
deviceAddress,
percent,
speed,
avgSpeed,
currentPart,
partsTotal,
) {
Logs.prints('deviceAddress: $deviceAddress, percent: $percent speed = $speed avgSpeed = $avgSpeed currentPart = $currentPart partsTotal = $partsTotal');
},
);
2.This is an error message in ios
Unhandled Exception: PlatformException(DEVICE_ADDRESS_ERROR, Device address conver to uuid failed, Device uuid EE:01:06:81:63:3E convert to uuid failed, null)

3.This is Android working properly

Uploading firmware...
deviceAddress: EE:01:06:81:63:3F, percent: 1 speed = 2.194244623184204 avgSpeed = 2.194244623184204 currentPart = 1 partsTotal = 1
deviceAddress: EE:01:06:81:63:3F, percent: 2 speed = 20.76595687866211 avgSpeed = 3.6417911052703857 currentPart = 1 partsTotal = 1
deviceAddress: EE:01:06:81:63:3F, percent: 3 speed = 75.07691955566406 avgSpeed = 5.149350643157959 currentPart = 1 partsTotal = 1

Parents Reply Children
No Data
Related