WiFi Configuration Guide

WiFi Configuration Guide
Amp’ed RF Technology, Inc.
www.ampedrftech.com
1
Configuration Commands
This document describes the system configuration variables of the WiFi Serial Interface with
their default and range. These values are stored in the non-volatile memory of the module.
1. Usage
1.1. Set/update
To set a configuration variable enter:
at+wf config xxxx = yyyy
Where "xxxx" is the variable name and "yyyy" is the value to set. A variable name may also
be specified as "varzz". Where zz is the sequence number of the variable.
1.2. Inquiry
An inquiry may be made using:
at+wf config xxxx
Where “xxxx” is the variable name. The reply will be the current setting.
1.3. Listing
All non-hidden variables may be listed using:
at+wf config
www.ampedrftech.com
2
2. Configuration Parameters
System Configuration Settings - Version 4.2
Note: All changes require a Reset to take effect
Name
Default
BuildVersion
151202A
DeviceName
Amped WIFI
MAC_ADDR
00043e212345
DHCPMode
true
Range
true=enable DHCP
false=disable DHCP
Description
V4.0
V4.1
V4.2
Date code version of the software (read only)
Up to 20 characters are allowed (case
sensitive)
ü
ü
ü
WiFiMAC address (read only)
ü
ü
ü
ü
ü
ü
DHCP on/off.
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
UART hardware flow control.
Timeout used to determine the end of a
message in units of bit times. Typical: 16
AT command reply prefix. All events that are
displayed are prefixed by this character string
(case sensitive)
ü
ü
ü
ü
ü
ü
ü
ü
ü
Host events display on/off.
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
IPAddress
192.168.0.2
A static IP address, when DHCP off or failed, it
will be used
Netmask
255.255.255.0
Netmask of the network
GateWay
192.168.0.1
Gateway of the network
SSID
Amped RF
ESSID of
destination
PassPhrase
12345678
AuthType
1
HostIPAddr
192.168.0.10
IPProtocol
1
HostPort
2015
LocalPort
2015
the
Access
Point
connection
Password of the Access Point to connect
0=NONE
1= WPA2-PSK
WIFI encryption methods
Remote device’s IP address
0=TCP Server
1=UDP
2=TCP client
Protocol type
Remote device’s listen port number.
Local listen port number.
UartBaudrate
115200
2400, 4800, 9600,
19200, 38400, 57600,
115200, 230400,
460800, 921600
UartParity
none
odd, even, none
UART parity. Typical: none
UartDataBits
8
8, 9
UART data bits per character. Typical:8
UartStopBits
1
UART number of stop bits.Typical:1
UARTFlowControl
False
0.5, 1, 1.5, 2
True= enable UART
hardware RTS/CTS flow
control
False=
disable
RST/CTS flow control
UartTimeout
16
8 - 255
ATReply
AT-WF
HostEvents
TRUE
Hardware
WF43
Module hardware type. (read only)
CpuMHz
42
Module’s CPU speed: 42Mhz is supported
DeviceMode
STA
0=STA; 1=AP
WIFI module operation mode
OutMtuSize
1400
1 - 1420
MaxSTACount
5
1-12
Packet size of UART received. Typical:1400
Maxim station number in AP mode.
Typical:5
True=on; False=off
UART baudrate. Typical: 115200 and 921600
www.ampedrftech.com
3
Multiple connections on/off
ü
ü
ü
Enable/disable Shallow Sleep mode
ü
ü
ü
False
0=Disable; 1=Enable
True=
enable
enter
Shallow Sleep mode
False= disable enter
Shallow Sleep mode
True=
enable
enter
Deep Sleep mode
False= disable enter
Deep Sleep mode
Enable/disable Deep Sleep mode
Channel
1
1-13
ü
ü
ü
ü
StationInactive
120
15-255second
Set the wifi channel
When StationInactive time passed, station
didn’t send any data, ap will confirm whether
station still in region
ü
ü
AudioMode
1
Choose the audio mode
ü
ü
ü
ü
AutoJoin
false
0=DLNA; 1=Airplay
False:disable autojoin
True: enable autojoin
û
û
Autojoin function enable/disable
û
û
ü
MPMode
0
HostShallowSleepEn
False
HostDeepSleepEn
Note: configurations listed with Typical parameters are the values that Amp’ed RF Technology
has tested internally. Other values have not been tested.
www.ampedrftech.com
4