wifi_scanner

command
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Overview

Scan available WiFi networks via the wificond system service.

Uses IWificond via the "wifinl80211" service to get client interfaces, then uses the IWifiScannerImpl from a client interface to retrieve scan results. Also queries available channels and PHY capabilities.

Note: Requires root or appropriate SELinux permissions to interact with wificond. The scan results structure is empty in generated code (NativeScanResult fields not yet mapped), so only the count is shown.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/wifi_scanner ./examples/wifi_scanner/
adb push build/wifi_scanner /data/local/tmp/ && adb shell /data/local/tmp/wifi_scanner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL