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

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
66
You do not need to configure the SSID of your network since that is done from the
access point names.
Now configure the access to the two access points.
Modify the access point names and keys to match your access points and network.
WIFIPINGYOU.C
Wi-Fi network.
This sample program uses some predefined macros. The first macro specifies the
default TCP/IP configuration from the Dynamic C
CONFIG.LIB
Use the next macro unchanged as long as you have only one RCM5400W RabbitCore
module. Otherwise use this macro unchanged for the first RabbitCore module.
Then change the macro to
program on the second RCM5400W RabbitCore module.
The next macros assign an SSID name and a channel number to the Wi-Fi network.
Finally, IP addresses are assigned to the RabbitCore modules.
As long as you have only one RCM5400W RabbitCore module, the Dynamic C
window will display the pings sent out by the module. You may set up a Wi-Fi enabled
laptop with the IP address in
If you have two RCM5400W RabbitCore modules, they will ping each other, and the
Dynamic C
#define IPADDR_1
#define IPADDR_2
// First Access Point
#define AP_0 "test1"
#define AP_0_LEN strlen(AP_0)
#define MY_ADDRESS_0 "10.10.6.250"
#define PING_ADDRESS_0 "10.10.6.1" // address on AP 0 to ping
#define KEY_0 "0123456789abcdef0123456789"
// Second Access Point
#define AP_1 "test2"
#define AP_1_LEN strlen(AP_1)
#define MY_ADDRESS_1 "10.10.0.99"
#define PING_ADDRESS_1 "10.10.0.50"// address on AP 1 to ping
#define KEY_1 "0123456789abcdef0123456789"
#define IFC_WIFI_SSID AP_0
#define _PRIMARY_STATIC_IP MY_ADDRESS_0
#define TCPCONFIG 1
#define NODE 1
#define IFC_WIFI_SSID
#define IFC_WIFI_OWNCHANNEL "5"
STDIO
library.
—sends out a series of pings to a RabbitCore module on an ad-hoc
window will display the pings.
"10.10.8.1"
"10.10.8.2"
#define NODE 2
IPADDR_2
"rab-hoc"
to get the pings.
// use this static IP when connected to AP 1
// use this static IP when connected to AP 0
before you compile and run this sample
LIB\Rabbit4000\TCPIP\TCP_
RabbitCore RCM5400W
STDIO

Related parts for 20-101-1246