Initialization process, Wifi module, Cli commands added – ThingMagic Mercury xPRESS Platform v1.7 User Manual
Page 50: Flow control, Power management
![background image](/manuals/640734/50/background.png)
WiFi Module
A D I V I S I O N O F T R I M B L E
50
Using the Optional Modules
Initialization Process
RN-171 initialization will be done only if other high priority interfaces (USB, BT and PoE)
are not successful.
WIFLY_init() is called from init_output() as part of task_Wedge task initialization.
WIFLY_init() will configure the serial interface for RN-171 and also initializes all
configurable parameter variables with configuration defines/values.
The serial interface for RN-171 is configured in WIFLY_init_serial_interface()
HTTP client
WIFLY_IP_MODE
WIFLY_TCP_SERVER_CLIENT
change to
WIFLY_TCP_SERVER_CLIENT +
WIFLY_HTTP_CLIENT
WIFLY_DNS_NAME
www.posttestserver.com
HTTP web server name
WIFLY_HTTP_SERVER_DIR
xpr
Directory name in HTTP web server.
Tags will be available in this directory.
ex: http://posttestserver.com/data/2014/
06/18/xpr/
WIFLY_HTTP_CONTENT_TYPE_F
ORM_URLENCODED
N/A
HTTP Data Formatter type
CLI
commands
added
N/A
N/A
command: wifly-get-mac
N/A
N/A
command: wifly-factory-reset
N/A
N/A
command: wifly-firmware-update
N/A
N/A
command: wifly-get-net-info
Flow control
N/A
N/A
1. Flow control is enable
2. Baud rate = 230400
Power
Management
WIFLY_WLAN_TRANSMIT_POWE
R
12 dBm
WIFLY_TCP_AUTO_CONNECT_TI
MER
2
To connect host TCP/HTTP
automatically every 2 sec
WIFLY_TCP_IDLE_TIMER
60 sec
WIFLY_TCP_SLEEP_TIMER
60 sec
WIFLY_TCP_WAKE_TIMER
30 sec