I'm trying to read the mobile data received today/this week/this month but I don't know how to handle the 2 bytes that I receive.
For example in the webUI i see that bytes received is 3GB (I've restarted the router 2 days ago).
The 2 bytes that I receive are (byte 0; byte1):
- today: 13194; 37050
- this week: 65535; 65535
- this month: 65535; 65535
Let's take for example today, I should take the most signficant byte and multiply by 256 and then add the less significant byte: 13194*256 + 37050 = 4734114 and since the received data is in KB, the result is 4,5GB that is more then what the UI says (that should have the data of today, yesterday and the day before yesterday).
What am I doing wrong?
P.s. To read today's data I read the register 185 and the next one.