User’s Manual
69
•
PINGLED_STATS.C
—This program is similar to
PINGLED.C
, but it also displays
receiver/transmitter statistics in the Dynamic C
STDIO
window.
Before you compile and run this sample program, change
PING_WHO
to the host you
want to ping. You may modify
PING_DELAY
define to change the amount of time in
milliseconds between the outgoing pings.
Modify the value in the
MOVING_AVERAGE
macro to change the moving average filter-
ing of the statistics. Also review the
GATHER_INTERVAL
and
GRAPHICAL
macros,
which affect the number of samples to gather and create a bar graph display instead of a
numeric display.
Uncomment the
VERBOSE
define to see the incoming ping replies.
•
PINGLED_WPA_PSK.C
—This program demonstrates the use of WPA PSK (Wi-Fi
Protected Access with Pre-Shared Key). WPA is a more secure replacement for WEP.
The implementation in the sample program supports use of the TKIP (Temporal Key
Integrity Protocol) cypher suite.
The sample program uses macros to configure the access point for WPA PSK, specify
the TKIP cypher suite, assign the access point SSID, and set the passphrase.
#define WIFI_USE_WPA // Bring in WPA support
#define IFC_WIFI_ENCRYPTION IFPARAM_WIFI_ENCR_TKIP // Define cypher suite
#define IFC_WIFI_SSID "parvati"
#define IFC_WIFI_WPA_PSK_PASSPHRASE "now is the time"
The next macro specifies a suitable pre-shared key to use instead of the passphrase. The
key may be entered either as 64 hexadecimal digits or as an ASCII string of up to 63
characters.
#define IFC_WIFI_WPA_PSK_HEXSTR
TIP:
There is a good chance of typos since the key is long. First, enter the key in this
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.
TIP:
For an initial test, it may be easier to use the 64 hex digit form of the key rather than
the ASCII passphrase. A passphrase requires considerable computation effort, which
delays the startup of the sample program by about 30 seconds.
Change
PING_WHO
to the host you want to ping. You may modify
PING_DELAY
to
change the amount of time in milliseconds between the outgoing pings.
Uncomment the
VERBOSE
define to see the incoming ping replies.
Once you have compiled the sample program and it is running, LED DS2 will flash
when a ping is sent, and LED DS3 will flash when a ping is received.
Содержание RabbitCore RCM5400W
Страница 1: ...RabbitCore RCM5400W C Programmable Wi Fi Core Module OEM User s Manual 019 0169 080630 A...
Страница 6: ...RabbitCore RCM5400W...
Страница 24: ...18 RabbitCore RCM5400W...
Страница 32: ...26 RabbitCore RCM5400W...
Страница 52: ...46 RabbitCore RCM5400W...
Страница 60: ...54 RabbitCore RCM4400W...
Страница 83: ...OEM User s Manual 77 APPENDIX A RCM5400W SPECIFICATIONS Appendix A provides the specifications for the RCM5400W...
Страница 96: ...90 RabbitCore RCM5400W...
Страница 114: ...108 RabbitCore RCM4400W...
Страница 118: ...112 RabbitCore RCM4400W...
Страница 120: ......