Auto flight using a Qualcomm Snapdragon Flight platform (3) - WiFi mode switching
There are two WiFi mode available, they could be switched according to the following operations:
1. Access Point Mode Configuration(default):
adb shell
cd /data/misc/wifi/
vi wpa_supplicant.conf
*SSID - QsoftAP
*Password 1234567890 (psk)
echo softap > wlan_mode
Reboot
2. Station Mode Configuration:
adb shell
cd /data/misc/wifi/
vi wpa_supplicant.conf
*Modify the wpa supplicant settings to match the WiFi network you wish to connect.
echo station > wlan_mode
Reboot
*SSH over Wi-Fi:
$ ssh root@<IP address of target>
password: oelinux123
1. Access Point Mode Configuration(default):
adb shell
cd /data/misc/wifi/
vi wpa_supplicant.conf
*SSID - QsoftAP
*Password 1234567890 (psk)
echo softap > wlan_mode
Reboot
2. Station Mode Configuration:
adb shell
cd /data/misc/wifi/
vi wpa_supplicant.conf
*Modify the wpa supplicant settings to match the WiFi network you wish to connect.
echo station > wlan_mode
Reboot
*SSH over Wi-Fi:
$ ssh root@<IP address of target>
password: oelinux123
留言
張貼留言