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
Click to show internal directories.
Click to hide internal directories.