Init var Network traffic via mobile not working

Post your questions and help other users.

Moderator: Martin

Post Reply
Augugusto
Posts: 5
Joined: 31 Mar 2017 15:26

Init var Network traffic via mobile not working

Post by Augugusto » 05 Jun 2017 20:23

I'm logging to a file every hour triggertime+" " +(mobile_bytes_transmitted+ mobile_bytes_received), and also paste "<reboot>" when automagic starts. Now that I look at the file, Even​ though I can see that the phone didn't restart, I see the byte counter jump to 0. So I don't know what is up with that

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Init var Network traffic via mobile not working

Post by Martin » 07 Jun 2017 20:17

Hi,

There's a bug on some Android versions/devices so that Android always returns zero to app when WiFi is turned on or off. Unfortunately I'm not aware of a workaround that fixes the problem on all devices. A workaround to mitigate the problem is already in place.

Regards,
Martin

Post Reply