View Single Post
stopgap's Avatar
Posts: 139 | Thanked: 135 times | Joined on Jan 2010 @ Cambridgeshire, UK
#48
Originally Posted by farnwomt View Post
You would probably do better to use transmitted rather than received packets because most networks will have some general chatter on them even if they are only occasional broadcast messages and those packet could keep your network connection up even if you aren't responding to them.

Perhaps the best solution is actually to check if both RX and TX have changed?
Yeah, I am doing that now... just refining the script to work on connection up and down, as well as disconnecting when network is idle. A bit of a steep learning curve all this, but I'm quite enjoying it. I think I've worked out how to make it (optionally) disconnect if battery hits a certain level too.

I'll post it when I have a proper working script here for people to test
 

The Following User Says Thank You to stopgap For This Useful Post: