-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
Description
I try to update a firmware with the library and use the same method of your example app:
self.dfuInitiator = DFUServiceInitiator(queue: DispatchQueue(label: "FirmwareUpdate"))
self.dfuInitiator?.delegate = self
self.dfuInitiator?.progressDelegate = self
self.dfuInitiator?.logger = self
self.dfuInitiator?.dataObjectPreparationDelay = 0.4
self.dfuInitiator?.packetReceiptNotificationParameter = 0The problem is that I set the delegate and the delegateProcess, but they are nil into the DFUServiceSelector.
In DFUServiceInitiator: self.initiator.delegate is not nil, but in DFUServiceSelector: self.initiator.delegate is nil. For this
the callback for the state and the progress not work