參數(shù)資料
型號: 101-1262
廠商: Rabbit Semiconductor
文件頁數(shù): 91/120頁
文件大?。?/td> 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
標準包裝: 1
系列: RabbitCore 5000
類型: Wi-Fi / 802.11.b
頻率: 2.4GHz
適用于相關(guān)產(chǎn)品: RCM5400W
已供物品: 板,模塊,線纜,CD,電源
其它名稱: 316-1138
66
RabbitCore RCM5400W
You do not need to configure the SSID of your network since that is done from the
access point names.
Now configure the access to the two access points.
// First Access Point
#define AP_0 "test1"
#define AP_0_LEN strlen(AP_0)
#define MY_ADDRESS_0 "10.10.6.250" // use this static IP when connected to AP 0
#define PING_ADDRESS_0 "10.10.6.1" // address on AP 0 to ping
#define KEY_0 "0123456789abcdef0123456789"
// Second Access Point
#define AP_1 "test2"
#define AP_1_LEN strlen(AP_1)
#define MY_ADDRESS_1 "10.10.0.99" // use this static IP when connected to AP 1
#define PING_ADDRESS_1 "10.10.0.50"// address on AP 1 to ping
#define KEY_1 "0123456789abcdef0123456789"
#define IFC_WIFI_SSID AP_0
#define _PRIMARY_STATIC_IP MY_ADDRESS_0
Modify the access point names and keys to match your access points and network.
WIFIPINGYOU.C
—sends out a series of pings to a RabbitCore module on an ad-hoc
Wi-Fi network.
This sample program uses some predefined macros. The first macro specifies the
default TCP/IP configuration from the Dynamic C LIB\Rabbit4000\TCPIP\TCP_
CONFIG.LIB
library.
#define TCPCONFIG 1
Use the next macro unchanged as long as you have only one RCM5400W RabbitCore
module. Otherwise use this macro unchanged for the first RabbitCore module.
#define NODE 1
Then change the macro to #define NODE 2 before you compile and run this sample
program on the second RCM5400W RabbitCore module.
The next macros assign an SSID name and a channel number to the Wi-Fi network.
#define IFC_WIFI_SSID
"rab-hoc"
#define IFC_WIFI_OWNCHANNEL "5"
Finally, IP addresses are assigned to the RabbitCore modules.
#define IPADDR_1
"10.10.8.1"
#define IPADDR_2
"10.10.8.2"
As long as you have only one RCM5400W RabbitCore module, the Dynamic C STDIO
window will display the pings sent out by the module. You may set up a Wi-Fi enabled
laptop with the IP address in IPADDR_2 to get the pings.
If you have two RCM5400W RabbitCore modules, they will ping each other, and the
Dynamic C STDIO window will display the pings.
相關(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)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風(fēng)格: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 產(chǎn)品:Plugs 系列:DH 端口數(shù)量: 位置/觸點數(shù)量:51 節(jié)距:1 mm 觸點電鍍: 觸點材料: 型式:Male 電流額定值:0.5 A 安裝風(fēng)格:Cable 端接類型:IDC 顏色: 安裝角:
10112626102L 制造商:FCI 功能描述:MINI SAS 1X4 EXTERNAL