Brian May
Brian May
I think somebody needs to write a pull request... Ideally in such a way that it doesn't break existing code (if this is sane and feasible or not I don't...
Does the user actually have the permission? Is it global or specific to the cashbox object. A simple set of instructions (e.g. with the example project included) I can use...
"Waiting for network connection." seems to be common when the connection goes down (without reason). The retry time is set to 100 seconds, and sometimes there doesn't appear to be...
Might be related to #14. Similar to what is discussed in this bug, it often doesn't seem to retry reconnecting when it says it will - or at least the...
I sometimes see "Connection lost - no network connection". Looking at the source this happens if ``isOnline()`` returns False and the ``ConnectionLost`` function is called. https://github.com/dc297/mqttclpro/blob/01965085ad328d2f7983186e1f3a3adda2e01cb4/app/src/main/java/in/dc297/mqttclpro/MQTTService.java#L1089 So either the network...
The "Connection lost - no network connection" message is in the ``ConnectionLost`` function. Trying to work out what calls this? Maybe Android? https://github.com/dc297/mqttclpro/blob/01965085ad328d2f7983186e1f3a3adda2e01cb4/app/src/main/java/in/dc297/mqttclpro/MQTTService.java#L101
Ok, so it seems that Android really is shutting the network down after the screen is off for about 4 to 6 minutes. This is despite having "Keep Wi-Fi on...
Looks like pinging an Android device isn't a good way of determining if the wifi is awake or not. This was confusing me into thinking that nothing I did was...
Yes, there is still a problem here. Even if Android is disconnecting the network, it should still be possible to reconnect again after Android wakes up. As demonstrated by other...
I notice that there are a few logging calls in the source, the best way forward would probably be to connect the phone to something like "adb logcat" to display...