20-101-1246 Rabbit Semiconductor, 20-101-1246 Datasheet - Page 77

CORE MODULE RCM5400W

20-101-1246

Manufacturer Part Number
20-101-1246
Description
CORE MODULE RCM5400W
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1246

Module/board Type
MPU Core Module
Wireless Frequency
73.73 MHz
For Use With/related Products
RCM5400W
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1148
6.3 Dynamic C Wi-Fi Configurations
Rabbit has implemented a packet driver for the RCM5400W that functions much like an
Ethernet driver for the Dynamic C implementation of the TCP/IP protocol stack. In addi-
tion to functioning like an Ethernet packet driver, this driver implements a function call to
access the functions implemented on the 802.11b/g interface, and to mask channels that
are not available in the region where the RCM5400W will be used.
The Wi-Fi interface may be used either at compile time using macro statements or at run
time with the
NET.LIB
6.3.1 Configuring TCP/IP at Compile Time
Digi International has made it easy for you to set up the parameter configuration using
already-defined
TCP_CONFIG.LIB
There are two
RCM5400W module. (
These default IP address, netmask, nameserver, and gateway network parameters are set
up for the
The use of quotation marks in the examples described in this chapter is important since the
absence of quotation marks will be flagged with warning messages when encrypted librar-
ies are used.
Wi-Fi Parameters
• Access Point SSID—
• Mode—
User’s Manual
the
structure (BSS) mode, or the SSID of the ad-hoc network in the ad-hoc (IBSS) mode.
The default is shown below.
IFPARAM_WIFI_INFRASTRUCT
for the ad-hoc mode.
The default is shown below.
#define TCPCONFIG 1
#define _PRIMARY_STATIC_IP "10.10.6.100"
#define _PRIMARY_NETMASK
#define MY_NAMESERVER
#define MY_GATEWAY
IFC_WIFI_SSID
#define IFC_WIFI_SSID "rabbitTest"
#define IFC_WIFI_MODE IFPARAM_WIFI_INFRASTRUCT
library.
TCPCONFIG
IFC_WIFI_MODE
ifconfig()
TCPCONFIG
TCPCONFIG 1
TCPCONFIG 5
TCPCONFIG
library at the beginning of your program as in the example below.
TCPCONFIG 0
macros.
IFC_WIFI_SSID
macro to a string for the SSID of the access point in the infra-
macros specifically set up for Wi-Fi applications with the
function call from the Dynamic C
macros from the Dynamic C
determines the mode:
No DHCP
DHCP enabled
for the infrastructure mode, or
"255.255.255.0"
"10.10.6.1"
"10.10.6.1"
is not supported for Wi-Fi applications.)
. This is the only mandatory parameter. Define
LIB\Rabbit4000\TCPIP\
LIB\Rabbit4000\TCPIP\
IFPARAM_WIFI_ADHOC
71

Related parts for 20-101-1246