hagaygo / OpenWrtManager

Mobile app for interacting with your OpenWrt device.
GNU General Public License v3.0
145 stars 10 forks source link

Fix ambiguous bits labels #36

Closed dianariyanto closed 1 year ago

dianariyanto commented 1 year ago

Traffic actualy in Bytes/s (MBps) but show label as bits/s (Mbps)

hagaygo commented 1 year ago

Thanks for your PR.

While i can understand one can be confused by the units , I am not sure your proposal is indeed the "standard" way.

Even LuCI (OpenWrt web gui) shows different standard :

image

Unless you can point me to some web sites that shows a "standard" way i prefer to leave it as it is now.

dianariyanto commented 1 year ago

On the LuCI (OpenWrt web gui) page it also shows that bit/s is represented by a lowercase "b", while Byte/s is represented by an uppercase "B". Meanwhile, this application (OpenWrt Manager) displays the speed unit Byte/s so I recommend displaying it according to the units represented.

which is 1MegaByte/s equal to 8Megabit/s, as far as I know ISPs use the standard bit/s to show the internet speed value. CMIIW

The symbol for "byte" is "B". Sometimes a lowercase "b" is used, but this use is incorrect because "b" is actually the IEEE symbol for "bit".

reference : https://simple.wikipedia.org/wiki/Byte

dianariyanto commented 1 year ago

Screenshot_20230324-220142

I assume that it is 1.3MB/s instead of 1.3Mb/s because the gateway (mikrotik) shows 10,4Mb/s speed usage.