Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dfu hangs on "Enabling DFU Mode" #127

Open
vngo15 opened this issue Jul 1, 2022 · 1 comment
Open

Dfu hangs on "Enabling DFU Mode" #127

vngo15 opened this issue Jul 1, 2022 · 1 comment

Comments

@vngo15
Copy link

vngo15 commented Jul 1, 2022

We are trying to implement the dfu update on one of our devices. During our testing phase, we discovered that the dfu state sometime got stuck on the "Enabling DFU Mode." We had tried the following:

  • Aborting the update after it gets stuck which doesn't do anything
  • Manually canceling the peripheral connection and retrying with new Service Initiator and Service Controller which gets stuck in the same place

The only thing that seems to help is restarting the app and/or the device

Here is our code for starting the firmware update process:

let firmware = DFUFirmware(urlToZipFile: url)
let initiator = DFUServiceInitiator().with(firmware: firmware)
initiator.alternativeAdvertisingNameEnabled = false
initiator.disableResume = true
initiator.dataObjectPreparationDelay = 0.4
     
initiator.logger = self
initiator.delegate = self
initiator.progressDelegate = self
            
self.serviceController = initiator.start(target: pairedDevice.peripheral)

Successful DFU update log:

"Firmware: [Callback] Central Manager did update state to: Powered ON"
"Firmware: Connecting to eWave..."
"Firmware: centralManager.connect(peripheral, options: nil)"
"Firmware: [Callback] Central Manager did connect peripheral"
"Firmware: Connected to eWave"
"Firmware: Discovering services..."
"Firmware: peripheral.discoverServices(nil)"
"Firmware: Services discovered"
"Firmware: Starting Secure DFU..."
"Firmware: Connected to eWave"
"Firmware: Services discovered"
"Firmware: Secure DFU Service found"
"Firmware: Discovering characteristics in DFU Service..."
"Firmware: peripheral.discoverCharacteristics(nil, for: FE59)"
"Firmware: DFU characteristics discovered"
"Firmware: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)"
"Firmware: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50"
"Firmware: Buttonless DFU indications enabled"
"Firmware: Application with buttonless update found"
"Firmware: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50"
"Firmware: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200101"
"Firmware: Response (Op Code = 1, Status = 1) received"
"Firmware: [Callback] Central Manager did disconnect peripheral"
"Firmware: Disconnected by the remote device"
"Firmware: Scanning for the DFU Bootloader..."
"Firmware: centralManager.scanForPeripherals(withServices, [FE59]"
"Firmware: DFU Bootloader found with name DfuTarg"
"Firmware: Connecting to DfuTarg..."
"Firmware: centralManager.connect(peripheral, options: nil)"
"Firmware: [Callback] Central Manager did connect peripheral"
"Firmware: Connected to DfuTarg"
"Firmware: Discovering services..."
"Firmware: peripheral.discoverServices([FE59])"
"Firmware: Services discovered"
"Firmware: Secure DFU Service found"
"Firmware: Discovering characteristics in DFU Service..."
"Firmware: peripheral.discoverCharacteristics(nil, for: FE59)"
"Firmware: DFU characteristics discovered"
"Firmware: MTU set to 247"
"Firmware: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)"
"Firmware: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Secure DFU Control Point notifications enabled"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000200000000000000000000"
"Firmware: Command object selected (Max size = 512, Offset = 0, CRC = 00000000) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010190000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201"
"Firmware: Packet Receipt Notif disabled (Op Code = 2, Value = 0)"
"Firmware: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x128d010a4708011243080310221a058102fe950320002800300038dca5064224080312203bb2885f9115bc96b80e7644524fa87293f3b759cfce34169d5290cebbd068f8480152040801120010001a40ed013d88caaeeeaa8dd4d812f92be6028026af980727746f3e79567415a7f8d5b14e7db0c1f9d6e7a73e8431be9ee3c658a58b8df12df3b9930bf7f2b630678c, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)"
"Firmware: Command object sent (CRC = C3092342)"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030190000000422309c3"
"Firmware: Checksum (Offset = 144, CRC = C3092342) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Command object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x020c00, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201"
"Firmware: Packet Receipt Notif enabled (Op Code = 2, Value = 12)"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601001000000000000000000000"
"Firmware: Data object selected (Max size = 4096, Offset = 0, CRC = 00000000) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 1/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100100000f03179cd"
"Firmware: Checksum (Offset = 4096, CRC = CD7931F0) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 2/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100200000cafbc91a"
"Firmware: Checksum (Offset = 8192, CRC = 1AC9FBCA) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 3/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010030000069e82ceb"
"Firmware: Checksum (Offset = 12288, CRC = EB2CE869) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 4/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010040000047ae3468"
"Firmware: Checksum (Offset = 16384, CRC = 6834AE47) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 5/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100500000d3cb32e5"
"Firmware: Checksum (Offset = 20480, CRC = E532CBD3) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 6/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301006000002a581ce2"
"Firmware: Checksum (Offset = 24576, CRC = E21C582A) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 7/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100700000a52de7a2"
"Firmware: Checksum (Offset = 28672, CRC = A2E72DA5) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 8/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301008000007b7f3574"
"Firmware: Checksum (Offset = 32768, CRC = 74357F7B) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 9/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100900000dc3c0837"
"Firmware: Checksum (Offset = 36864, CRC = 37083CDC) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 10/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100a000000579b2c5"
"Firmware: Checksum (Offset = 40960, CRC = C5B27905) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 11/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100b0000078c228ca"
"Firmware: Checksum (Offset = 45056, CRC = CA28C278) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 12/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100c00000c6cc3661"
"Firmware: Checksum (Offset = 49152, CRC = 6136CCC6) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 13/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100d000001bfde6e1"
"Firmware: Checksum (Offset = 53248, CRC = E1E6FD1B) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 14/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100e000003c376172"
"Firmware: Checksum (Offset = 57344, CRC = 7261373C) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 15/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100f00000368c91fb"
"Firmware: Checksum (Offset = 61440, CRC = FB918C36) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 16/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100000100c461e586"
"Firmware: Checksum (Offset = 65536, CRC = 86E561C4) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 17/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100100100870f3662"
"Firmware: Checksum (Offset = 69632, CRC = 62360F87) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 18/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100200100da3501d6"
"Firmware: Checksum (Offset = 73728, CRC = D60135DA) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 19/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301003001006fb9dddf"
"Firmware: Checksum (Offset = 77824, CRC = DFDDB96F) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 20/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100400100f3733992"
"Firmware: Checksum (Offset = 81920, CRC = 923973F3) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 21/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301005001006466d09f"
"Firmware: Checksum (Offset = 86016, CRC = 9FD06664) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 22/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301006001006630d5ae"
"Firmware: Checksum (Offset = 90112, CRC = AED53066) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 23/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010070010074f0b267"
"Firmware: Checksum (Offset = 94208, CRC = 67B2F074) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 24/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100800100aa420418"
"Firmware: Checksum (Offset = 98304, CRC = 180442AA) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 25/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100900100c6a75c27"
"Firmware: Checksum (Offset = 102400, CRC = 275CA7C6) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x0102dc020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101"
"Firmware: Data object 26/26 created"
"Firmware: wait(400)"
"Firmware: Uploading firmware..."
"Firmware: Sending firmware to DFU Packet characteristic..."
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301dc92010018e42b4c"
"Firmware: Checksum (Offset = 103132, CRC = 4C2BE418) received"
"Firmware: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50"
"Firmware: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401"
"Firmware: Data object executed"
"Firmware: Upload completed in 22.78 seconds"
"Firmware: [Callback] Central Manager did disconnect peripheral"
"Firmware: Disconnected by the remote device"

Stuck DFU log:

"Firmware: [Callback] Central Manager did update state to: Powered ON"
"Firmware: Connecting to eWave..."
"Firmware: centralManager.connect(peripheral, options: nil)"
"Firmware: [Callback] Central Manager did connect peripheral"
"Firmware: Connected to eWave"
"Firmware: Discovering services..."
"Firmware: peripheral.discoverServices(nil)"
"Firmware: Services discovered"
"Firmware: Starting Secure DFU..."
"Firmware: Connected to eWave"
"Firmware: Services discovered"
"Firmware: Secure DFU Service found"
"Firmware: Discovering characteristics in DFU Service..."
"Firmware: peripheral.discoverCharacteristics(nil, for: FE59)"
"Firmware: DFU characteristics discovered"
"Firmware: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)"
"Firmware: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50"
"Firmware: Buttonless DFU indications enabled"
"Firmware: Application with buttonless update found"
"Firmware: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50..."
"Firmware: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)"
"Firmware: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50"

Any pointers would be super helpful

@philips77
Copy link
Member

After writing 0x01 the device should reply with an indication with value 0x200101 and restart in bootloader mode. The library is waiting for the reply and disconnection event.
Please, check why that never happens in the device side. Perhaps you need to restart Bluetooth, as the handle numbers may be cached, before doing the update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants