Android things Wifi setting
阿新 • • 發佈:2019-01-04
am startservice -n com.google.wifisetup/.WifiSetupService-a WifiSetupService.Connect
The following arguments are supported with this command:
Argument | Description |
---|---|
-e ssid network_ssid |
Connect to the wireless network SSID specified by network_ssid. This argument is required. |
-e passphrase network_pass |
Optional argument to use the passcode specified by network_pass to connect to the network SSID. This argument is not necessary if your network doesn't require a passcode. |
-e passphrase64 encoded_pass |
Optional argument used in place of passphrase for passcodes with special characters (space, !, ", $, &, ', (, ), ;, <, >, `, or | |
--ez hidden true |
Optional argument to indicate that the SSID specified in this command is hidden. If omitted, this value defaults to false. |