![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm5400w/rabbitcore-rcm5400w_user-manual_3121494079.webp)
User’s Manual
73
These macros specify the WEP keys to use for WEP encryption. These keys can be
either 40-bit or 104-bit (i.e., 5 bytes or 13 bytes). They must be defined as a comma-
separated list of byte values.
Note that you do not necessarily need to define all four WEP keys. You may typically
just define one key, but make sure it matches the key used on all other devices, and set
IFC_WIFI_WEP_KEYNUM
to point to the correct key.
If both
IFC_WIFI_WEP_KEY#_BIN
and
IFC_WIFI_WEP_KEY#_HEXSTR
are defined
for a particular key, the hex version will be used.
•
Use WPA encryption.
The following macro must also be used to compile WPA functionality into the Wi-Fi
driver. This is necessary to enable TKIP encryption.
#define WIFI_USE_WPA
•
Set WPA passphrase—
IFC_WIFI_WPA_PSK_PASSPHRASE
is a string that matches the
passphrase on your access point. It may also point to a variable.
Define an ASCII passphrase here, from 1 to 63 characters long. An example is shown
below.
#define IFC_WIFI_WPA_PSK_PASSPHRASE "now is the time"
If possible, you should use
IFC_WIFI_WPA_PSK_HEXSTR
instead of
IFC_WIFI_
WPA_PSK_PASSPHRASE
to set the key.
•
Set WPA hexadecimal key—
IFC_WIFI_WPA_PSK_HEXSTR
is a string of hexadecimal
digits that matches the 256-bit (64-byte) hexadecimal key used by your access point.
Specify a 64 hexadecimal digit (256 bits) key here. This key will be used and will over-
ride any passphrase set with the
IFC_WIFI_WPA_PSK_PASSPHRASE
macro. The
example hex key shown below
#define IFC_WIFI_WPA_PSK_HEXSTR \
"57A12204B7B350C4A86A507A8AF23C0E81D0319F4C4C4AE83CE3299EFE1FCD27"
is valid for the SSID
"rabbitTest"
and the passphrase
"now is the time"
.
Using a passphrase is rather slow. It takes a Rabbit 5000 more than 20 seconds to gen-
erate the actual 256-bit key from the passphrase. If you use a passphrase and
#define
WIFI_VERBOSE_PASSPHRASE
, the Wi-Fi library will helpfully print out the hex key
corresponding to that passphrase and SSID.
•
Authentication algorithm—
IFC_WIFI_AUTHENTICATION
can be used to specify the
authentication modes used.
The default shown below allows enables both open-system authentication and shared-
key authentication.
#define IFPARAM_WIFI_AUTH_ANY
Содержание 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: ......