Closed olekstomek closed 1 year ago
Timestamp is provided by Android API
Documentation Reference: https://developer.android.com/reference/android/net/wifi/ScanResult#timestamp
Application does not change the value, it only formats it
Okay, the network uptime is set differently for the solution in the router with OpenWrt (Beacon frame) and differently in the WiFiAnalyzer application (API from Android).
I think this might be a related problem: https://issuetracker.google.com/issues/37123392
A feature https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/issues/365 has been added to the app. This shows how long the WiFi network has been operating for. However, the time is not correct. Here are the screenshots from the application:
![1665701596678](https://user-images.githubusercontent.com/26818304/195727195-a0b3868f-983b-4d12-a5e3-5ce1adedd267.jpg)
In the screenshots you can see the networks: HUAWEI P10 lite (this network has only been working for a minute, why is the value
0:11:00:980
?) _GigaLan_siecdomowa_14EXT (not my network) and the OpenWrt networks have almost the same value:0:07:19.XXX
(this is impossible - my OpenWrt network has a different uptime and it will be below) LEDE MiFi - has a value of0:07:24.437
, this network was launched for testing, it was launched a short time ago.Uptime for OpenWrt network:
You can see that the network is operational 6 days 22 hours 55 minutes. Where does the
0:07:19:998
value in the app come from?I am enclosing what times can be seen from the router (which broadcasts LEDE MiFi network) panel (GUI MiFi based on OpenWRT) which also has the option of displaying the operating time of a given WiFi network. The times are correct:
You can see difference. Correct uptime for my networks HUAWEI P10 lite is one minute, OpenWrt is 6 days 22 hours and some minutes.
Smartphone: Xiaomi Mi 9, Android 11 App version: 3.0.10 - 62G (11-30)