Feature description
For the termux-wifi-scaninfo command I'd like to get the capabilities string. This should include information about the wifi security. E.g., whether this AP does support WPA2, WPA3, WEP or no encryption.
Reference implementation
Have you checked if the feature is accessible through the Android API?
The Android API documentation states, that there is a capabilities field in the ScanResult object.
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
WifiAnalyzer show those capabilities I'm interested in. Unfortunately, I could not find the exact implementation within their repository.
I think it should be done by adding the line
out.name("capabilities").value(scan.capabilities);
to the WifiAPI in the brackets between line 76 and 115.
Up to now, I did not have the time to test it by myself. If I did, I'll open a pull request, but maybe someone else is faster ;)
Feature description
For the
termux-wifi-scaninfocommand I'd like to get thecapabilitiesstring. This should include information about the wifi security. E.g., whether this AP does support WPA2, WPA3, WEP or no encryption.Reference implementation
Have you checked if the feature is accessible through the Android API?
The Android API documentation states, that there is a
capabilitiesfield in theScanResultobject.Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
WifiAnalyzer show those capabilities I'm interested in. Unfortunately, I could not find the exact implementation within their repository.
I think it should be done by adding the line
to the WifiAPI in the brackets between line 76 and 115.
Up to now, I did not have the time to test it by myself. If I did, I'll open a pull request, but maybe someone else is faster ;)