User's Manual

AI7697H
MT7697 IoT SiP Module
A
FEB 21,2017
6 of 9
Product Name
Version
Date
Page
5. Software operating
Connect the board to PC with a serial port cable.
Build the example project and download the binary file to the MT7697.
Reboot the HDK, the console will show "FreeRTOS Running" message to indicate the HDK is booting up.
Use '?' and enter to query the available command line options.
Note that the command line options are still under development and subject to change without notice.
Below are two examples to demonstrate the Wi-Fi station and Wi-Fi access point modes of MT7697.
Example 1. Wi-Fi station mode.
Find your Wi-Fi access point settings:
Before connecting to a Wi-Fi access point, the following information needs to be collected:
1. What is the SSID of your Wi-Fi access point?
2. What is the authentication mode of your Wi-Fi access point?
In general, it is WPA PSK or WPA2 PSK. If you want to use different settings, please read
the table 'Table 1. Supported AuthMode(s)' at the bottom of this example.
3. What is the password of your Wi-Fi access point?
4. What is the encryption mode of your Wi-Fi access point?
In general, AES or TKIP is used. If you want to use different settings, please read the table
'Table 2. Supported EncrypType(s)' at the bottom of this example.
Once you have this information, use the following commands to configure the HDK. This
example assumes you want to use either WPA PSK or WPA2 PSK,your packets are encrypted
with TKIP or AES, the access point SSID is 'myhome' (length 6), and the password of WPA or
WPA2 is '12345678' (length 8).
config write STA AuthMode 9
config write STA EncrypType 8
config write STA Ssid myhome
config write STA SsidLen 6
config write STA WpaPsk 12345678
config write STA WpaPskLen 8
config write common OpMode 1
Press the reset button on the LinkIt 7697 HDK to restart the system.
Boot up with the new configuration.
If everything is correct, similar messages will be shown in the console to notify your HDK has
received an IP address.
************************
DHCP got IP:10.10.10.101
************************
PING from the LinkIt 7697 HDK (SDK v3.1.0)