#Poutine-Terminal-reader-updates

1 messages ยท Page 1 of 1 (latest)

lost depot
wary oyster
#

Hi ๐Ÿ‘‹
Let me take a look

mellow wadi
#

Thanks ๐Ÿ™‚

wary oyster
#

Hmmm... those docs appear to not be available....fun ๐Ÿ˜…

#

But just so I understand what you're trying to accomplish here, are you trying to listen for available updates but only trigger them manually?

#

Okay! Got some answers

mellow wadi
#

Mmm kind of. We only want to support updating the reader on our app when connecting to the reader, so am wondering if we can just use updateAvailable instead of having logic on the listener

wary oyster
#
  1. It's totally okay to defer the update. Just be aware that firmware updates can take 8-10 minutes
#

The purpose for the early announcement is to allow installation when it's convenient, rather than required

mellow wadi
#

Right, understand all of that -- perhaps slightly different question, I assume that both Reader.updateAvailable is set to true and onReaderUpdateAvailable happen at the same time, correct?

#

If onReaderUpdateAvailable is triggered but no action is taken, and then (at a later time) the reader is disconnected, and then (at an even later time) that same reader gets connected, is it fair to assume Reader.updateAvailable is true?

wary oyster
#

I would say yes to the first assumption and you should try testing the 2nd.

mellow wadi
#

๐Ÿ‘

#

Will try that, thank you ๐Ÿ™‚