Skip to content

Commit

Permalink
Add BSSID to WiFiProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
w2sv committed Jul 20, 2023
1 parent fd0d1b8 commit 4ae2ca0
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
23 changes: 15 additions & 8 deletions app/src/main/play/listings/en-US/full-description.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
WiFi properties which may be displayed by the widget are:
The widget configuration options include the:
- <i>Color scheme</i>
- <i>Background opacity</i>
- <i>Connection properties to be displayed</i>
- <i>Data refreshing parameters</i>

WiFi connection properties displayed by the widget:
- <i>SSID</i>
- <i>IP Address</i>
- <i>BSSID</i>
- <i>IPv4</i>
- <i>Netmask</i>
- <i>Local IPv6</i>
- <i>First Public IPv6</i>
- <i>Second Public IPv6</i>
- <i>Frequency</i>
- <i>Channel</i>
- <i>Link Speed</i>
- <i>Gateway</i>
- <i>DNS</i>
- <i>DHCP</i>
- <i>Netmask</i>

You can configure which properties are to be displayed. Also, you can choose between a light/dark widget theme
independent of the set device theme, as well as determine the widget background opacity.
The app itself likewise supports both light and dark mode.

The source code is available under the GPL-3.0 license at https://github.com/w2sv/WiFi-Widget.
Feel free to hit me up with enhancement propositions, bug reports or whatever.

Built by yours truly, Janek Zangenberg.
Built by yours truly, Janek Zangenberg aka W2SV.

<b>Credits:</b>
- Logo foreground by <a href="https://freeicons.io/profile/75801">Hilmy Abiyyu Asad</a> licensed under <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons(Attribution 3.0 unported)</a>.
3 changes: 1 addition & 2 deletions app/src/main/play/release-notes/en-US/production.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
- Pimped UI in various regards
- Enabled hiding of last widget data refresh date time
- Added BSSID to WiFi properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ enum class WifiProperty(
},
false
),
BSSID(
R.string.bssid,
R.array.bssid,
{ wifiManager, _ ->
wifiManager.connectionInfo.bssid
}
),
IP(
R.string.ipv4,
R.array.ipv4,
Expand Down
4 changes: 4 additions & 0 deletions common/src/main/res/values/string_arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<item>Service Set Identifier. Your network\'s name.</item>
<item>https://en.wikipedia.org/wiki/Service_set_(802.11_network)#SSID</item>
</string-array>
<string-array name="bssid">
<item>Basic Service Set Identifier. A 48-bit label abiding by MAC-48 conventions which identifies your devices basic service set.</item>
<item>https://en.wikipedia.org/wiki/Service_set_(802.11_network)#BSSID</item>
</string-array>
<string-array name="ipv4">
<item>Internet Protocol Address, serving the two main purposes of identifying the network interface of your device and providing it\'s location within the network, thereby making it addressable. The IPv4 representation corresponds to a 32-bit number. The displayed address is your internal one, meaning that it\'s only visible from within your network.</item>
<item>https://en.wikipedia.org/wiki/IP_address</item>
Expand Down
1 change: 1 addition & 0 deletions common/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
<string name="wifi_disabled">WiFi Disabled</string>
<string name="widget_pinning_not_supported_by_your_device_launcher">Widget pinning not supported by your device launcher</string>
<string name="show_date_time">Show date time</string>
<string name="bssid">BSSID</string>
</resources>
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.uniquePackageNames=true
android.nonFinalResIds=false
version=1.2.6
versionCode=32
version=1.2.61
versionCode=33

0 comments on commit 4ae2ca0

Please sign in to comment.