User’s Manual
47
This table describes the various requests that can be made for the remaining parameters.
In the data column:
char*
indicates that data argument is a string, and the
len
field is ignored
char[]
indicates that the argument is a character array, and
len
indicates the size
struct
*
indicates that the argument is a pointer to a
struct
, and
len
indicates the size of the
struct
If you don’t want encryption enabled, do not execute any of the WEP commands in the table.
RETURN VALUE
0 if successful
cmd
*data
len
Description
WIFI_SSID
char*
0–32 characters
Set SSID string
WIFI_MODE
char*
0
WIFICONF_INFRASTRUCT
or
WIFICONF_ADHOC
WIFI_OWNSSID
char*
1–32 characters
Set SSID string for ad-hoc mode
WIFI_OWNCHAN
char*
0
"0" through "14"
WIFI_WEP_FLAG
char*
0
WIFICONF_WEP_ENABLE
or
WIFICONF_WEP_DISABLE
WIFI_WEP_
USEKEY
char*
0
"0" through "3"
WIFI_WEP_KEY0
char[]
5 or 13
64-bit or 128-bit key
WIFI_WEP_KEY1
char[]
5 or 13
64-bit or 128-bit key
WIFI_WEP_KEY2
char[]
5 or 13
64-bit or 128-bit key
WIFI_WEP_KEY3
char[]
5 or 13
64-bit or 128-bit key
WIFI_WEP_AUTH
char*
0
WIFICONF_AUTH_OPEN_SYS
,
WIFICONF_AUTH_SHARED_KEY
or
WIFICONF_AUTH_ALL
WIFI_STATUS
struct wifi_
status*
sizeof(struct
wifi_status)
Status returned in
*data
WIFI_SCANRES
_wifi_
scanResult
sizeof(_wifi_
scanResult)
Scan result returned in
*data
WIFI_MAC
char*
0
"on" or "off"
WIFI_SCANREQ
NULL
0
NULL
WIFI_TX_RATE
char*
0
WIFICONF_RATE_1MBPS
,
WIFICONF_RATE_2MBPS
,
WIFICONF_RATE_5_5MBPS
or
WIFICONF_RATE_11MBPS
Содержание 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: ......