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

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
70
PINGLED_WPA2_CCMP.C
demonstrates the use of WPA2 PSK (Wi-Fi Protected Access with Pre-Shared Key).).
WPA is a more secure replacement for WEP. The implementation in the sample pro-
gram uses the Advanced Encryption Standard (AES) based algorithm, also known as
the CCMP (Counter Mode with Cipher Block Chaining Message Authentication Code
Protocol) cypher suite.
Apart from the configuration of
of the code is identical to the case without WPA2 PSK. Indeed, most of the TCP/IP
sample programs should work with WPA2 CCMP simply by using the same configura-
tion settings.
Configure your access point for WPA2 PSK before you run this sample program.
Specify the CCMP cypher suite, and enter a suitable pre-shared key. The key may be
entered either as 64 hexadecimal digits or as an ASCII string of up to 63 characters.
Now change
You may modify the
between the outgoing pings.
Uncomment the VERBOSE define to see the incoming ping replies.
Finally, compile and run this sample program. LED DS2 will flash when a ping is sent.
LED DS3 will flash when a ping is received.
POWERDOWN.C
(U18) to reduce power consumption. Note that powering down the Wi-Fi portion of the
RCM5400W module results in a loss of the network interface (unlike an Ethernet con-
nection), and so is only suitable for applications such as data logging where only inter-
mittent network connectivity is required.
The sample program demonstrates the powerdown operation as a simple sequential
state machine. LED DS2 on the Prototyping Board will be on when the network inter-
face is up, and LED DS3 will be on when the Wi-Fi circuit is powered up.
Before you compile and run this sample program, modify the configuration macros,
including the
down for these intervals.
Now set up a continuous ping on another host, and observe the pings time out succes-
sively, then succeed, depending on the LED state.
SMTP.C
the S2 and S3 switches on the Prototyping Board are pressed. LEDs DS2 and DS3 on
the Prototyping Board will light up when e-mail is being sent.
TIP: There is a good chance of typos since the key is long. First, enter the key in this
TIP: For an initial test, it may be easier to use the 64 hex digit form of the key rather than
sample program macro, then copy and paste it to your access point. This ensures that
both the RCM5400W and the access point have the same key.
the ASCII passphrase. A passphrase requires considerable computation effort, which
delays the startup of the sample program by about 30 seconds.
—This program demonstrates using the SMTP library to send an e-mail when
PING_WHO
DOWNTIME
—This program demonstrates how to power down the radio transmitter
PING_DELAY
to the address of the host you want to ping.
and the
—This sample program is an extension of
WPA2_CCMP
UPTIME
define to change the amount of time (in milliseconds)
values. The interface will be powered up and
at the top of the sample program, the rest
RabbitCore RCM5400W
PINGLED.C
. It

Related parts for 20-101-1246