WIFISCAN.C —initializes the RCM5400W and scans for other Wi-Fi devices that are opera" />
參數(shù)資料
型號(hào): 101-1262
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 92/120頁(yè)
文件大?。?/td> 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 5000
類(lèi)型: Wi-Fi / 802.11.b
頻率: 2.4GHz
適用于相關(guān)產(chǎn)品: RCM5400W
已供物品: 板,模塊,線纜,CD,電源
其它名稱(chēng): 316-1138
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)當(dāng)前第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)
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
相關(guān)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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10112620-106LF 功能描述:集管和線殼 RoHS:否 產(chǎn)品種類(lèi):1.0MM Rectangular Connectors 產(chǎn)品類(lèi)型:Headers - Pin Strip 系列:DF50 觸點(diǎn)類(lèi)型:Pin (Male) 節(jié)距:1 mm 位置/觸點(diǎn)數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類(lèi)型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點(diǎn)材料:Brass 觸點(diǎn)電鍍: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 產(chǎn)品:Plugs 系列:DH 端口數(shù)量: 位置/觸點(diǎn)數(shù)量:51 節(jié)距:1 mm 觸點(diǎn)電鍍: 觸點(diǎn)材料: 型式:Male 電流額定值:0.5 A 安裝風(fēng)格:Cable 端接類(lèi)型:IDC 顏色: 安裝角:
10112626102L 制造商:FCI 功能描述:MINI SAS 1X4 EXTERNAL