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 = 0
The 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
I try to update a firmware with the library and use the same method of your example app:
The problem is that I set the
delegateand thedelegateProcess, but they are nil into theDFUServiceSelector.In
DFUServiceInitiator:self.initiator.delegateis not nil, but inDFUServiceSelector:self.initiator.delegateis nil. For thisthe callback for the state and the progress not work