
AMW004 Evaluation
Using WiConnect, Section 3
ARG-MW004E-105R
•
AMW004 Evaluation Guide
Page | 6
Page | 6
©2014 ACKme Networks. http://ack.me
February 27, 2015
February 27, 2015
3.2
System Indicator LEDs
The Mackerel evaluation board comes with three system indicator LEDs and two user LEDs. The LED functions are
configurable, using the WiConnect peripheral commands and variables. See
http://wiconnect.ack.me
for more
details., in particular the variables
system.indicator.gpio
and
system.indicator.state
.
By default the system indicator LEDs are configured as follows:
LED
Function
Behavior
Red
Soft AP Indicator
Off
Soft AP off
Fast blink
Soft AP error
Medium blink
Soft AP active
Slow blink
Client connected
Yellow
Network Indicator
Fast blink
No IP address
Medium blink
DHCP in progress
Slow blink
DHCP successful, IP address obtained
Green
WLAN indicator
Off
Wi-Fi off
Fast blink
Error
Medium blink
Connecting to AP
Slow blink
Joined to AP
Blink rates are as follows: Fast blink: 4Hz, Medium blink: 1Hz, Slow blink: 0.5 Hz
3.3
Scanning for Wi-Fi Networks
To scan for Wi-Fi networks in range, use the
wlan_scan
command. Each AP in range is listed on a separate line.
> wlan_scan -v
!3 found
! # Ch RSSI BSSID Rate Security Mode Len SSID
#00 06 -27 84:1B:5E:29:9D:F7 450.0 WPA2-Mixed Inf 17 YOUR_NETWORK_NAME
#01 11 -73 2C:B0:5D:31:6F:6A 300.0 WPA2-AES Inf 6 button
#02 11 -73 EC:1A:59:36:5B:6C 144.4 WPA2-Mixed Inf 5 REGIS
3.4
Joining a Wi-Fi Network
Several methods are available to configure and join the AMW004 module to a Wi-Fi network.
Web Setup
WiConnect provides the option to use a web browser running on a network client (such as a smartphone, tablet or
computer) to select the remote Wi-Fi network the AMW004 module should join, and to enter a password for the
remote network.
When web setup is used, it is helpful to think of the network client as the keyboard and display for the module as
shown in Figure 4.
To start web setup mode, enter the command
setup web
. WiConnect starts the local network and web server as
indicated by the final message:
In progress
.
> setup web
[Disassociated]
IPv4 address: 10.10.10.1