Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adzierzanowski/sigstr
macOS CLI utility to display Wi-Fi signal strength and some other stats
https://github.com/adzierzanowski/sigstr
macos network stats wifi
Last synced: 27 days ago
JSON representation
macOS CLI utility to display Wi-Fi signal strength and some other stats
- Host: GitHub
- URL: https://github.com/adzierzanowski/sigstr
- Owner: adzierzanowski
- Created: 2020-06-07T23:52:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T00:43:43.000Z (over 2 years ago)
- Last Synced: 2024-11-07T17:33:26.546Z (3 months ago)
- Topics: macos, network, stats, wifi
- Language: C
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sigstr (signal strength)
This is a utility to spit out some Wi-Fi stats.
What makes it a little bit interesting is that I wrote a small wrapper over
macOS API's `CWInterface` in Swift. Then I generated the assembly from the
Swift code and demangled the function names so I could use them in the main
C code avoiding linking issues.This is probably a stupid way to obtain this information* but it was fun.
\* Well, yes it is. It appears that clicking the Wi-Fi icon while holding ⌥
gives you this info.## building
You will probably need the standard XCode CLI stuff and Python3. Then just
```bash
$ make
$ ./sigstr
ssid: my-cool-network
mode: 802.11n
rssi: -70 dBm
noise: -78 dBm
transmit power: 1496 mW
transmit rate: 73.00 Mbps (600 max)
```