# Run sample applications The Qualcomm QCC730M Evaluation Kit (EVK) is preinstalled with the QCLI Demo, a command-line application that demonstrates various features and technologies supported by the QCC730 platform. The QCLI Demo includes the following command groups. | Group | Description | | --- | --- | | WLAN | Commands for Wi-Fi operations. | | Platform | Commands for platform-related operations, such as system reset, memory access, and system time configuration. | | I2CM | Commands for I2C primary controller features. | | GPIO | Commands for general-purpose input/output (GPIO) features. | | Net | Commands for network-related services. | | FLASH | Commands for flash system operations. | | Lowpower | Commands for managing power modes and transitions. | | Fs | Commands for file system operations. | | FwUp | Commands for over-the-air (OTA) upgrades of application and secondary boot loader (SBL) images. | | RNG | Commands for generating random numbers. | | QCC | Commands for testing the Qualcomm crypto core (QCC) module. | | Crypto | Commands for testing the public key accelerator (PKA) module. | The following procedure describes how to connect to the QCC730M EVK from a Windows^®^ computer and run the QCLI Demo to connect the EVK to an access point (AP). ## Prerequisites - A Windows computer - A serial communication tool installed on the computer, such as [SecureCRT](https://www.vandyke.com/products/securecrt/) or [Tera Term](https://teratermproject.github.io/index-en.html). You can also use the QCC IDE for serial communication. For details, see [QCC IDE for QCC730 User Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-Y8730-9). ## Set up the connection 1. Connect the QCC730M EVK to your computer by using a USB cable. The board powers on automatically. 2. Identify the COM ports assigned to the QCC730M EVK in **Device Manager**. To quickly open **Device Manager** on Windows 10 or Windows 11, select **Windows+X** and then select **Device Manager**. The QCC730M EVK is assigned with two COM ports when connected to a PC. Typically, the higher-numbered COM port is used. However, if that port doesn’t work, use the other port in the following steps. 3. In the serial communication tool, establish a connection to the higher-numbered COM port with the following settings: - **Baud rate**: 115200 - **Data bits**: 8 - **Parity**: None - **Stop bits**: 1 - **Flow control**: None 4. Press the **Reset** button on the board to restart the QCC730M EVK. After the board restarts, the following command-line interface (CLI) menu appears in the console. [qapi\_wlan] [LOG] wlan\_qapi\_init 124 00000000 9 2: (drv\_flash\_info\_init:800) found device 1660c4 app\_init entry FwUp: Firmware Upgrade Registered Crypto: Crypto Registered app\_init over Starting scheduler QCLI\_Task enter Command List: Commands: 1. Help 2. ver Subgroups: 3. WLAN 4. platform 5. I2CM 6. NET 7. FLASH 8. lowpower 9. wificert 10. FTM 11. FwUp 12. Crypto > >qccsdk\_start\_app\_main Calling app\_main() qcli demo! app\_main over Returned from app\_main() 000001002 24 2: (socpm\_slp\_clk\_cal\_get\_hbin:168) Xocnt 31617, Refxcont 32812, RC running Faster ,Bin 6, TS data 202, TS\_data\_valid 1 ## Connect to an AP Run the following commands in the console to connect to and ping an AP from the QCC730M EVK. Note - All commands are case-insensitive. - The following output examples are for reference only. The actual output in your environment may vary. 1. Enable the WLAN module. wlan enable Copy to clipboard Output example: >wlan enable [qapi\_wlan] [LOG] wlan\_drv\_set\_cb 30 [qapi\_wlan] [LOG] qapi\_WLAN\_Enable 40 entry [qapi\_wlan] [LOG] send WMI cmd=43 00006237 7 2: (halphy\_regulatory\_GetDefaultCountryCodeNewRegRules:633) Found country code in BDF country\_id:840 , index:192 00006248 7 2: (halphy\_regulatory\_with\_domain\_code:539) Total reg rules including 2G:1, 5G:6, & 6G:3 00006261 2 2 nt\_wlan(wlan\_main\_part1:388):phy mode set to: 0x00000005(5) 0x00000000(0) 0x00000000(0) [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=5 data=0x57bc8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=5 [qapi\_wlan] [INFO] QAPI\_WLAN\_ENABLE\_CB\_E sent [qapi\_wlan] [LOG] block mode, WMI cmd done [qapi\_wlan] [LOG] qapi\_WLAN\_Enable 52 exit WLAN: enabled [qapi\_wlan] [LOG] send WMI cmd=45 00006301 4 3 nt\_wlan(nt\_dpm\_add\_dev:257):DPM Add Device : 0x00000001(1) 0x00000000(0) 0x00000000(0) [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=19 data=0x57cc8 00006318 (\_hal\_mod\_rxp\_desc\_set:2988) ADDR1 MAC Addr: 0x08:0x08:0x08:0x08:0x08:0x08 00006325 (\_hal\_mod\_rxp\_desc\_set:2988) ADDR1 MAC Addr: 0xff:0xff:0xff:0xff:0xff:0xff [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=7 data=0x57dc8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=19 [qapi\_wlan] [INFO] QAPI\_WLAN\_IF\_ADD\_COMP\_CB\_E sent, network\_id=2 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=7 [qapi\_wlan] [LOG] wmi\_set\_mode\_event 115 entry [qapi\_wlan] [LOG] block mode, WMI cmd done 2. Configure the Wi-Fi security passphrase. wlan SetWpaPassphrase Copy to clipboard Replace <passphrase> with the AP’s passphrase. Output example: >wlan SetWpaPassphrase 123456789 [qapi\_wlan] [INFO] set passphrase=123456789 3. Configure the Wi-Fi security parameters. wlan SetWpaParameters Copy to clipboard The parameters of the command are as follows: > > > - <verison>: Specifies the security protocol version. Valid options are `WPA`, `WPA2`, `SAE`, and `SAE_WPA2`. > - <ucipher>: Specifies the unicast cipher. Valid options are `CCMP` and `TKIP`. > - <mcipher>: Specifies the mulitcast cipher. Valid options are `CCMP` and `TKIP`. Output example: >wlan SetWpaParameters WPA2 CCMP CCMP [qapi\_wlan] [INFO] set e\_wpa\_ver=4 [qapi\_wlan] [INFO] set e\_cipher=3 4. Connect to the AP. wlan connect Copy to clipboard Replace <SSID> with the AP’s service set identifier (SSID). Output example: >wlan connect test [qapi\_wlan] [INFO] set WMI\_CONNECT\_CMD ssid=test WLAN: connect to ssid test [qapi\_wlan] [LOG] send WMI cmd=28 [qapi\_wlan] [LOG] No specific event for WMI\_SET\_PASSPHRASE\_CMDID, just go [qapi\_wlan] [LOG] send WMI cmd=1 [qapi\_wlan] [LOG] unblock mode, should check WMI cmd done in event cb 5. Check the WLAN information. wlan info Copy to clipboard Output example: >wlan info WLAN: ssid = test WLAN: channel = 2437 WLAN: Phy mode = abgn WLAN: Power mode = Max Perf WLAN: Mac Addr = 10:10:10:10:10:11 WLAN: mode = station 6. Start the DHCPv4 client. NET dhcpv4c wlan1 new Copy to clipboard Output example: >NET dhcpv4c wlan1 new NET: DHCP client start success > >00481853 11 2: (nt\_dpm\_netif\_dhcp\_hdlr:749) DHCP v4 indication, dhcp state:6 [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=17 data=0x57bc8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=17 [qapi\_wlan] [LOG] wmi\_ip\_addr\_ready\_event 256 entry 00488786 4 3 nt\_wlan(nt\_dpm\_ba\_add:318):NT DPM ADD BA 0x00000000(O) 0x00000000(O) 0x00000008(8) [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=16 data=0x57cc8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=16 [qapi\_wlan] [LOG] DHCP operation successful [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=17 data=0x57dc8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=17 [qapi\_wlan] [LOG] wmi\_ip\_addr\_ready\_event 256 entry NET: DHCPv4c: IP=192.168.1.104 Subnet Mask=255.255.255.0 Gateway=192.168.1.1 7. Check `ifconfig` and make sure the QCC730M EVK has obtained an IP address. NET ifconfig Copy to clipboard In the following output example, the obtained IP address is 192.168.1.104. >NET ifconfig NET: wlan1:UP NET: **\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*** NET: IP Configuration(interface 1) NET: Phy address:10:10:10:10:10:11 NET: IPv4: 192.168.1.104 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.1.1 NET: DHCP Enabled : yes NET: DNS Server : 192.168.1.1 NET: **\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*** NET: local:UP NET: **\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*** NET: IP Configuration(interface 0) NET: Phy address:00:00:00:00:00:00 NET: IPv6 Address … … … . : ::1 NET: IPv4: 127.0.0.1 Subnet Mask: 255.0.0.0 Default Gateway: 127.0.0.1 NET: DHCP Enabled : no NET: DNS Server : 192.168.1.1 NET: **\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*** 8. Ping the AP. NET ping Copy to clipboard Replace <ip_address> with the AP’s IP address. Output example: >NET ping 192.168.1.1 NET: Pinging 192.168.1.1 with 64 bytes of data: > >Net: 64 bytes from 192.168.1.1: seq=1 time=998 ms Net: 64 bytes from 192.168.1.1: seq=2 time=3 ms Net: 64 bytes from 192.168.1.1: seq=3 time=10 ms Net: 64 bytes from 192.168.1.1: seq=4 time=2 ms ping complete: Sent packets = 4, Received packets = 4 [qapi\_wlan] [LOG] wlan\_qapi\_event: return\_type=1 event\_id=18 data=0x57ec8 [qapi\_wlan] [LOG] msg WMI cmd\_id=58 return\_status=1 event\_id=18 ## Next steps - [QCC730.FR.1.0 Programming Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-Y8730-2) Last Published: Aug 05, 2025 [Previous Topic Get familiar with the board](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-253/topics/get_familiar_with_the_board.md) [Next Topic Develop an application](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-253/topics/develop_an_application.md)