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

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.2.4.2 Wi-Fi Operation
User’s Manual
Before you compile and run this sample program, check the TCP/IP configuration
parameters, the IP address, and the SSID in the macros, which are reproduced below.
Now compile and run this sample program. Uncomment the
VERBOSE
window will then display a menu that allows you to complete the configuration of the
user interface.
WIFIDHCPORTSTATIC.C
tion or DHCP. The
ples of using DHCP with your application.
Before you compile and run this sample program, check the TCP/IP configuration
parameters, the IP address, and the SSID in the macros, which are reproduced below.
Modify the values to match your network. You may also need to modify the values for
MY_GATEWAY
Now press
STDIO
WIFIMULTIPLEAPS.C
will need two access points to run this sample program. The access points should be
isolated or on separate networks.
The sample program associates the RabbitCore module with the first access point (
defined below) with WEP key
program waits for a predefined time period, and then pings the Ethernet address of the
access point (
access point and pings its Ethernet address (
switches back and forth between the two access points.
When changing access points, first bring the
ifdown(IF_WIFI0)
Finally, bring the
the sample program checks for status while waiting for the interface to come up or
down.
Before you compile and run this sample program, check the TCP/IP configuration
parameters, the IP address, and the SSID in the macros, which are reproduced below.
#define TCPCONFIG 1
// #define WIFI_REGION_VERBOSE
#define PING_WHO "10.10.6.1"
#define _PRIMARY_STATIC_IP "10.10.6.170"
#define IFC_WIFI_SSID "rabbitTest"
#define USE_DHCP
#define TCPCONFIG 1
#define _PRIMARY_STATIC_IP "10.10.6.100"
#define IFC_WIFI_SSID "rabbitTest"
#define TCPCONFIG 1
#define IFC_WIFI_ENCRYPTION IFPARAM_WIFI_ENCR_WEP
window, type 's' for static configuration or 'd' for DHCP.
macro to display the channel and power limit settings. The Dynamic C
F9
AP_ADDRESS_0
to compile and run the sample program. When prompted in the Dynamic C
if you are not pinging from the local subnet.
IF_WIFI0
SAMPLES\TCPIP\DHCP.C
. Next, change the SSID and key(s) using
—demonstrates changing access points using WEP keys. You
—demonstrates the runtime selection of a static IP configura-
interface back up by calling
). The sample program then associates with the second
KEY0
(defined below). After associating, the sample
AP_1
IF_WIFI0
sample program provides further exam-
,
KEY1
,
interface down by calling
ifup(IF_WIFI0)
AP_ADDRESS_1
#define WIFI_REGION_
ifconfig()
), and then
. Note that
calls.
STDIO
AP_0
65

Related parts for 20-101-1246