Firmware features, 1 command set, 2 autorun – Rainbow Electronics DAB-WLS-C01 (WiFi) User Manual

Page 13: 3 tcp/ip, 4 dhcp, 5 http server, 6 power saving

Advertising
background image

DSH_WISMC01_1v2 WISM 40 pin TCP-IP Data Sheet.doc © 2007 EZURiO Ltd

Page 13

8.

Firmware Features

8.1 Command Set

The Wireless LAN module has an integrated high level language called UWScript. UWScript provides

both the command set and a structured programming language for the module. This language is

described in detail in the UWScript Core Language and the UWScript Wireless LAN specific extension

documents. Accompanying these are release notes specific to each module and firmware release,

detailing the functions supported with each release.

8.2 Autorun

The interpreter in the WLAN module allows a script named autorun.uws to execute automatically at

power on. This functionality is enabled using the UART_DSR input pin. When the signal is de-asserted,

the autorun script will be executed at power on. If the UART_DSR signal is asserted then the autorun

script is ignored. After power on the UART_DSR line can be reconfigured by scripts and used as

GPIO10.

8.3 TCP/IP

The module includes a fully featured TCP/IP stack. The stack is RFC compliant for maximum

interoperability and is designed specifically for the embedded environment. The stack fully supports

UDP and TCP BSD sockets as well as providing underlying support infrastructure for the implementation

of IP Security.

8.4 DHCP

With the Dynamic Host Configuration Protocol - DHCP - the process of configuring devices on a network

gets automated. With very little administrator intervention it is easy to accommodate new devices to a

network. Another big advantage of DHCP is that it allows for easy connection of mobile devices. DHCP-

enabled modules can move from one place to another with no disturbances. The TCP/IP stack

automatically gets an IP address and configuration suitable for the network segment it is currently

attached to.

8.5 HTTP Server

The module provides an integrated HTTP server which is fully integrated with the UWScript

environment allowing the user to rapidly develop web based solutions for machine reporting and

control. User web pages can be written using any webpage generation tool and downloaded into the

module. Dynamic web page content can be supplied from a script whilst control of the module and of

any attached machines can be achieved using HTTP POST commands which are again processed using

scripts.

8.6 Power Saving

The module supports the Wireless LAN IEEE power saving function. When this power saving mode is

enabled, the wireless LAN chipset goes to sleep when it is not actively receiving from the access point.

The chipset wakes up on a regular basis to receive broadcast messages from the AP or to transmit or

receive unicast messages. By using this technique the average power consumption of the chipset is

reduced from around 250mA in active receive mode to less than 35mA. The EZURiO module offers IEEE

power save operation in three different modes:

Powersave mode 1: The wireless LAN chipset operates in IEEE powersave mode and the

module microcontroller remains fully awake and ready to receive commands and data from

the host. This mode of power saving reduces the average consumption of the module to

<35mA.

Powersave mode 5: In this mode the module powers down the WLAN chipset, and awaits

commands from the host or from a script running on the module. Since the WLAN module is

powered down, the script cannot interact with the WLAN whilst in this mode. The average

current consumption in this mode is reduced to <25mA.

Powersave mode 6: In this mode the module powers down the WLAN chipset and places the

microcontroller into a low power standby mode. Entry into powersave 6 is under script

control. The module wakes up when a pre-defined PIO transition occurs. As the Wireless

Advertising