参数资料
型号: 101-1262
厂商: Rabbit Semiconductor
文件页数: 91/120页
文件大小: 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
标准包装: 1
系列: RabbitCore 5000
类型: Wi-Fi / 802.11.b
频率: 2.4GHz
适用于相关产品: 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.
相关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