false possitives from [device checkForFirmwareUpdateAsync]
This function appears to return true the first time any given sensor is checked from any given app install.
user picks sensor to connect to -> check if new firmware is available -> update firmware if needed -> connect to sensor
So if I connect to sensor A from my iphone the first time I connect it will tell me the firmware needs to update and it will go through the update process. If I disconnect then reconnect with the same phone it correctly says the firmware is up to date. Now if I connect to the same sensor with a different iphone OR if I delete the app off of my phone and reinstall it then the first connection attempt will again say the firmware needs to be updated.
I've tried to do the check for newer firmware with both checkForFirmwareUpdateWithHandler and checkForFirmwareUpdateAsync but both exhibit this behavior.
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #31595d}
span.s1 {font-variant-ligatures: no-common-ligatures}
This discussion has been closed.
Comments
task.error != nil
.connectAsync
task. If the task fails due to outdated firmware, update the firmware and reconnect. Otherwise, continue to the main app code.