参数资料
型号: 101-1262
厂商: Rabbit Semiconductor
文件页数: 92/120页
文件大小: 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
标准包装: 1
系列: RabbitCore 5000
类型: Wi-Fi / 802.11.b
频率: 2.4GHz
适用于相关产品: RCM5400W
已供物品: 板,模块,线缆,CD,电源
其它名称: 316-1138
User’s Manual
67
WIFISCAN.C
—initializes the RCM5400W and scans for other Wi-Fi devices that are
operating in either the ad-hoc mode or through access points in the infrastructure mode.
No network parameter settings are needed since the RCM5400W does not actually join
an 802.11 network. This program outputs the results of the scan to the Dynamic C
STDIO
window.
WIFISCANASSOCIATE.C
— demostrates how to scan Wi-Fi channels for SSIDs using
ifconfig IFS_WIFI_SCAN
. This takes a while to complete, so ifconfig() calls a
callback function when it is done. The callback function is specified using ifconfig
IFS_WIFI_SCAN
.
Before you run this sample program, configure the Dynamic C TCP_CONFIG.LIB
library and your TCPCONFIG macro.
1. Use macro definitions in the “Defines” tab in the Dynamic C Options > Project
Options menu to modify any parameter settings.
If you are not using DHCP, set the IP parameters to values appropriate to your network.
Set the macro IFC_WIFI_SSID= to define a C-style string to set the SSID of your
access point as, for example,
or use an empty string, "", to associate with the strongest BSS available.
Alternatively, you may create your own CUSTOM_CONFIG.LIB library modeled on the
Dynamic C TCP_CONFIG.LIB library. Then use a TCPCONFIG macro greater than or
equal to 100, which will invoke your CUSTOM_CONFIG.LIB library to be used.
Remember to add the CUSTOM_CONFIG.LIB library to LIB.DIR.
2. If you are using DHCP, change the definition of the TCPCONFIG macro to 5. The default
value of 1 indicates Wi-Fi with a static IP address.
Now compile and run the sample program. Follow the menu options displayed in the
Dynamic C STDIO window.
Note that ifconfig IFS_WIFI_SCAN function calls do not return data directly since
the scan takes a fair amount of time. Instead, callback functions are used. The callback
function is passed to ifconfig() as the only parameter to IFS_WIFI_SCAN.
ifconfig(IF_WIFI0, IFS_WIFI_SCAN, scan_callback, IFS_END);
_PRIMARY_STATIC_IP = "10.10.6.100"
_PRIMARY_NETMASK = "255.255.255.0"
MY_NAMESERVER = "10.10.6.1"
MY_GATEWAY = "10.10.6.1"
IFC_WIFI_SSID = "My Access Point"
Press s to scan available access points
Press a to scan access points and associate
Press m to print WIFI MAC status
相关PDF资料
PDF描述
X-10GW21 SWITCH LEVER SPDT 10A SOLDER
X-10GW2-B SWITCH ROLLER SPDT 10A SCREW
X-10GW2 SWITCH LEVER SPDT 10A SOLDER
X-10GW SWITCH LEVER SPDT 10A SOLDER
X-10GM2 SWITCH BASIC SPDT 10A SOLDER
相关代理商/技术参数
参数描述
10112620-106LF 功能描述:集管和线壳 RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector
10112620-142LF 制造商:FCI 功能描述:578-5NPF-BERGSTIK STR 制造商:FCI 功能描述:HEADER BERGSTIK STR 制造商:FCI 功能描述:OEM ITEM 578-5NPF-BERGSTIK STR
1011-262-0305 制造商:TE Connectivity / Deutsch 功能描述:BACKSHELL DT RECEPTACLE R/A 3WAY
10112626-101LF 功能描述:I/O 连接器 MINI-SAS HD 1X1 EXT BOARD CONN RoHS:否 制造商:Hirose Connector 产品:Plugs 系列:DH 端口数量: 位置/触点数量:51 节距:1 mm 触点电镀: 触点材料: 型式:Male 电流额定值:0.5 A 安装风格:Cable 端接类型:IDC 颜色: 安装角:
10112626102L 制造商:FCI 功能描述:MINI SAS 1X4 EXTERNAL