NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
WiLink8 Feature Guide/Smart Config
![]() |
Feture Description[edit]
The smart Config is a method to allow a WL8 WLAN Device to be connected to the network by a 3rd party device configuration.
The Device might be initialized to certain Group ID.
The procedure main target is to receive from the 3rd party device the SSID and Password of the Network Access Point that the device should connect.
Once the Device gets these parameters it will connect to the AP and obtain an IP Address. The Device might be initialized to certain group.
Setup & Configuration[edit]
The setup needed to use 'Smart Config' include:
- 3rd party WLAN device with Python script running or the smart config application for iPhone/Android
- Remote Access Point to use for configuration
- Optional: Second Access Point for the WL8 device to connect to (Could be the same AP that was used for configuration)
User Guide & Examples[edit]
On 3rd party device:
- Connect the 3rd party device to a remote AP.
- Run the python script / smart config application (iPhone/Android).
- Start the smart config process by running the smart config command with the required attributes as follows:
- -s <ssid>
- -a <ip>
- -p <password> (-p open : no passowrd)
- -d <string> (-d none : no private data)
- Note: example to pass 2 tokens 3+4 (-d \x03\x06qwerty\x04\x05abcde)
- Note: example to pass 2 tokens 3+4 (-d \x03\x06qwerty\x04\x05abcde)
- -e (use encryption: 1 / 0)
- -s <ssid>
For Example:
smart_config_app_ENC7.py -s example_ap -a 10.11.12.17 -p 99887766 -d qwerty -e 1
This command will try to configure the WL8 device to connect to the access point named 'example_ap' which its IP is 10.11.12.17 and password 99887766.
Also it will send custom data of 'qwerty' and the process will be encrypted.
Note: For the smart config Android/iPhone app, enter the "Password" in the required field and press "Start".
On the configured WL8 device:
1. Start STA role.
wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf -B
2. If encryption is used, run:
wpa_cli -iwlan0 smart_config_set_group_key 0 smartconfigAES16
3. Start the smart config scan:
wpa_cli -iwlan0 smart_config_start 1
Errata/Limitations[edit]
- Configuration is not supported when 3rd party device is connected in MIMO/SISO40 rates.