User’s Manual
49
WIFI_AUTH
The authentication option is used to configure different types of authentication that the
Wi-Fi device supports. There are three types of authentication that are supported—open-
system authentication (
WIFICONF_AUTH_OPEN_SYS
), shared-key authentication
(
WIFICONF_AUTH_SHARED_KEY
), or both (
WIFICONF_AUTH_ALL
). The most important
consideration is to use the same type of authentication as the access point you are planning
on using; hence,
WIFICONF_AUTH_ALL
is the most flexible value.
WIFI_STATUS
This command macro returns the status of the connections (to an access point or peer) into
a user-supplied structure. The structure is defined in the Wi-Fi libraries as follows.
struct _wifi_status {
int quality;
int signal;
int noise;
int status;
int rate;
unsigned char bssid[6]; // associated hw address
char ssid[32]; // associated ssid
};
quality
is a value from 0–92 that is calculated from the signal and noise values. A higher
value means higher quality. The status member can have one of the following values:
1 = disables
2 = searching for connection
3 = connected to IBSS (ad-hoc mode)
4 = connected to ESS (infrastructure mode)
5 = out of range.
rate
indicates the transmit data rate at which the card is currently operating:
1 = 1 Mbits/s
2 = 2 Mbits/s
4 = 5.5 Mbits/s
8 = 11 Mbits/s
bssid
indicates the hardware address of the access point to which the Wi-Fi Compact-
Flash card is connected.
ssid
indicates the SSID name of the connected access point
Содержание RCM3000
Страница 1: ...802 11b Wi Fi Add On Kits for RabbitCore and PowerCore Modules User s Manual 019 0092 051130 D ...
Страница 8: ...4 802 11b Wi Fi Add On Kits ...
Страница 28: ...24 802 11b Wi Fi Add On Kits ...
Страница 56: ...52 802 11b Wi Fi Add On Kits ...
Страница 60: ...56 802 11b Wi Fi Add On Kits ...
Страница 68: ...64 802 11b Wi Fi Add On Kits ...
Страница 78: ...74 802 11b Wi Fi Add On Kits ...
Страница 80: ...76 802 11b Wi Fi Add On Kits ...
Страница 82: ...78 RabbitCore RCM3800 ...
Страница 86: ......