I have been using the “device is online?” block and noticed the following behaviour:
In areas such as the underground railway where there the device is connected to the data network but in practice the reception is so bad that there is no real data connectivity, an app which uses the “device is online?” block is not working as “expected”. Technically speaking, offline would mean that there is absolutely no signal which usually visible by an X next to the coverage bars icon on the top of the screen. Practically speaking though, it would be when the device cannot download data from a source even if the device “claims” that there is data coverage (i.e. one bar).
Don’t get me wrong, I am not saying that the devs are implementing this the wrong way, but I would like to understand based on which factors the block returns a true or false. Is it based on the a ping reply to a specific server or maybe the TTL needs to be higher than a certain value? Is it based on what the device reports as a strict “Yes, the device is connected to the data network even if no data can be sent or received due to low coverage” or “No, the link is down as marked with an X next to the coverage bars”?
Thanks in advance