66
RabbitCore RCM4400W
•
Your Own Channel—
_WIFI_OWNCHANNEL
determines the channel on which to operate.
Define it to a
string,
not an integer.
The default is shown below.
#define _WIFI_OWNCHANNEL "0"
The default
"0"
means that any valid channel may be used by the requested SSID. This
parameter is mandatory when creating an ad-hoc network. While it is optional for the
infrastructure mode, it is usually best left at the default
"0"
.
Note that there are restrictions on which channels may be used in certain countries.
These are provided in Table 5 for some countries.
•
Region/Country—
_WIFI_REGION_REQ
sets the channel range and maximum power
limit to match the region selected. Table 5 lists the regions that are supported and their
corresponding macros.
The region selected
must
match the region where the RCM4400W RabbitCore module
will be used.
The default is shown below.
#define _WIFI_REGION_REQ _AMERICAS_REGION
•
Disable/enable WEP encryption—
_WIFI_WEP_FLAG
indicates whether or not WEP
encryption is being used.
The default (WEP encryption disabled) is shown below.
#define _WIFI_WEP_FLAG WIFICONF_WEP_DISABLE
The following WEP encryption options are available.
•
WIFICONF_WEP_DISABLE
— no WEP encryption is used.
•
WIFICONF_WEP_ENABLE
— use WEP encryption. You will need to define at least one
WEP key (see below).
•
WIFICONF_WEP_TKIP
— use TKIP or WPA encryption. You will need to define a pass-
phrase or a key for TKIP encryption, as well as define the
WIFI_USE_WPA
macro (see
below).
•
The following four encryption keys are provided. If WEP encryption is enabled, at least
one key should be specified — do not use the defaults. You will have to modify these
keys according to the encryption keys in effect for the Wi-Fi network you wish to
access. A key is specified as either 5 or 13 comma-separated byte values.
#define _WIFI_KEY0 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01,
0x23, 0x45, 0x67, 0x89
#define _WIFI_KEY1 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01,
0x23, 0x45, 0x67, 0x89
#define _WIFI_KEY2 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01,
0x23, 0x45, 0x67, 0x89
#define _WIFI_KEY3 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01,
0x23, 0x45, 0x67, 0x89
Summary of Contents for RabbitCore RCM4400W
Page 1: ...RabbitCore RCM4400W C Programmable Wi Fi Core Module OEM User s Manual 019 0160 080131 F...
Page 6: ...RabbitCore RCM4400W...
Page 24: ...18 RabbitCore RCM4400W...
Page 32: ...24 RabbitCore RCM4400W...
Page 58: ...50 RabbitCore RCM4400W...
Page 102: ...94 RabbitCore RCM4400W...
Page 120: ...112 RabbitCore RCM4400W...
Page 124: ...116 RabbitCore RCM4400W...
Page 126: ......