softap_tether_offload

command
v0.0.6 Latest Latest
Warning

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

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

Documentation

Overview

Query tethering and network interface status via INetworkManagementService.

Uses the "network_management" system service to list network interfaces, check tethering status, and query interface configurations. Replaces the previous vendor offload HAL approach with system-level APIs.

Note: Some tethering methods were removed in Android API 36+.

Build:

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

Jump to

Keyboard shortcuts

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