- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any documentation about what commands I can send to the board through the USB-UART port?
I know pressing the reset button,I can get some configurations back from the USB-UART port.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
test.console application is programmed into your board.
These command will be sent from PC(USB) to the MCU(UART).
Some of them controls Wi-Fi SoC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It depends on which application programmed into the EVB.
Most of sample application in SDK don't accept any commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You mean I need to program the MCU chip to interpret the data from the UART and define some actions based on it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have an EVB that programmed some application like AT commands, you don't need program.
You can ask the vendor about these commands.
Otherwise, you should program something into your EVB.
By the way, what kind of evaluation you'll do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, by typing help command in the console, we can get all the command list it supports.
Console Commands:
help [<command> [<example_num>]]
- Print help message or command example.
dhcpc
- Perform DHCP as a client to obtain an IP address.
get_mac_addr
- Get the device MAC address.
get_rssi
- Get the received signal strength of the AP (client mode only).
join <ssid> <open|wpa|wpa2> [key] [ip netmask gateway]
- Join an AP. DHCP assumed if no IP address provided
join_default
- Join the AP 'YOUR_AP_SSID' and obtain an IP address using DHCP
join_specific <ssid> <bssid> <channel> <open|wpa|wpa2> <key> [ip netmask gateway]
- Join a specific AP. DHCP assumed if no IP address provided
leave
- Leave an AP.
powersave <1|0>
- Enable/disable powersave mode.
scan
- Scan all enabled channels and print a list of APs found.
set_ip <ip> <netmask> <gateway>
- Set a static IP.
set_tx_power <0-32>
- Set the tx power in dBm.
get_tx_power
- Gets the tx power in dBm.
status
- Print status of the Wi-Fi and network interfaces.
start_ap <ssid> <open|wpa|wpa2> <key> <channel>
- Start AP mode.
stop_ap
- Stop AP mode.
wifi_on
- Turn Wi-Fi device on.
wifi_off
- Turn Wi-Fi device off.
wifi_reset
- Reset the Wi-Fi device.
antenna <0|1|3>
- Antenna selection. 3 = Auto
set_country <country code>
- Set country.
ping <destination>
- Pings the specified IP or Host.
start_dhcpd
- Starts a DHCP daemon.
stop_dhcpd
- Stops the DHCP daemon.
get_random
- Get a random number.
join_wps <pbc|pin> [pin] [<ip> <netmask> <gateway>]
- Join an AP using WPS
tcp_test_tx_server
- Waits for connection then sends TCP packets.
tcp_test_rx_server
- Waits for connection then receives TCP packets.
tcp_test_tx_client [server ip]
- Connects to a server then sends TCP packets.
tcp_test_rx_client [server ip]
- Connects to a server then receives TCP packets.
ap_test_all
- Performs all AP tests.
iperf
- Run iperf --help for usage.
mallinfo
- Print memory allocation information
sta_join_test
- Performs STA join tests.
tcp_test_tx_server
- Waits for connection then sends TCP packets.
tcp_test_rx_server
- Waits for connection then receives TCP packets.
tcp_test_tx_client [server ip]
- Connects to a server then sends TCP packets.
tcp_test_rx_client [server ip]
- Connects to a server then receives TCP packets.
thread [priority] <cmds>
- Spawns a new thread for the specified command. Optionally run at a specific priority.
spawn [priority] <cmds>
- Spawns a new thread for the specified command. Optionally run at a specific priority.
are these commands sent to the MCU or the wifi SOC?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
test.console application is programmed into your board.
These command will be sent from PC(USB) to the MCU(UART).
Some of them controls Wi-Fi SoC.