PINGLED_WPA2_CCMP.C —This sample program is an extension of
參數(shù)資料
型號(hào): 101-1262
廠商: Rabbit Semiconductor
文件頁數(shù): 95/120頁
文件大?。?/td> 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 5000
類型: Wi-Fi / 802.11.b
頻率: 2.4GHz
適用于相關(guān)產(chǎn)品: RCM5400W
已供物品: 板,模塊,線纜,CD,電源
其它名稱: 316-1138
70
RabbitCore RCM5400W
PINGLED_WPA2_CCMP.C
—This sample program is an extension of PINGLED.C. It
demonstrates the use of WPA2 PSK (Wi-Fi Protected Access with Pre-Shared Key).).
WPA is a more secure replacement for WEP. The implementation in the sample pro-
gram uses the Advanced Encryption Standard (AES) based algorithm, also known as
the CCMP (Counter Mode with Cipher Block Chaining Message Authentication Code
Protocol) cypher suite.
Apart from the configuration of WPA2_CCMP at the top of the sample program, the rest
of the code is identical to the case without WPA2 PSK. Indeed, most of the TCP/IP
sample programs should work with WPA2 CCMP simply by using the same configura-
tion settings.
Configure your access point for WPA2 PSK before you run this sample program.
Specify the CCMP cypher suite, and enter a suitable pre-shared key. The key may be
entered either as 64 hexadecimal digits or as an ASCII string of up to 63 characters.
TIP: There is a good chance of typos since the key is long. First, enter the key in this
sample program macro, then copy and paste it to your access point. This ensures that
both the RCM5400W and the access point have the same key.
TIP: For an initial test, it may be easier to use the 64 hex digit form of the key rather than
the ASCII passphrase. A passphrase requires considerable computation effort, which
delays the startup of the sample program by about 30 seconds.
Now change PING_WHO to the address of the host you want to ping.
You may modify the PING_DELAY define to change the amount of time (in milliseconds)
between the outgoing pings.
Uncomment the VERBOSE define to see the incoming ping replies.
Finally, compile and run this sample program. LED DS2 will flash when a ping is sent.
LED DS3 will flash when a ping is received.
POWERDOWN.C
—This program demonstrates how to power down the radio transmitter
(U18) to reduce power consumption. Note that powering down the Wi-Fi portion of the
RCM5400W module results in a loss of the network interface (unlike an Ethernet con-
nection), and so is only suitable for applications such as data logging where only inter-
mittent network connectivity is required.
The sample program demonstrates the powerdown operation as a simple sequential
state machine. LED DS2 on the Prototyping Board will be on when the network inter-
face is up, and LED DS3 will be on when the Wi-Fi circuit is powered up.
Before you compile and run this sample program, modify the configuration macros,
including the DOWNTIME and the UPTIME values. The interface will be powered up and
down for these intervals.
Now set up a continuous ping on another host, and observe the pings time out succes-
sively, then succeed, depending on the LED state.
SMTP.C
—This program demonstrates using the SMTP library to send an e-mail when
the S2 and S3 switches on the Prototyping Board are pressed. LEDs DS2 and DS3 on
the Prototyping Board will light up when e-mail is being sent.
相關(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 觸點(diǎn)類型:Pin (Male) 節(jié)距:1 mm 位置/觸點(diǎn)數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型: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 端接類型:IDC 顏色: 安裝角:
10112626102L 制造商:FCI 功能描述:MINI SAS 1X4 EXTERNAL