101-1262 Rabbit Semiconductor, 101-1262 Datasheet - Page 73

KIT DEV RCM5400W US/INTERNATIONL

101-1262

Manufacturer Part Number
101-1262
Description
KIT DEV RCM5400W US/INTERNATIONL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 5000r
Type
Wi-Fi / 802.11.br
Datasheet

Specifications of 101-1262

Frequency
2.4GHz
Wireless Frequency
73.73 MHz
For Use With/related Products
RCM5400W
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Other names
101-1263
316-1138
User’s Manual
WIFISCAN.C
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
WIFISCANASSOCIATE.C
ifconfig IFS_WIFI_SCAN
callback function when it is done. The callback function is specified using
IFS_WIFI_SCAN
Before you run this sample program, configure the Dynamic C
library and your
Now compile and run the sample program. Follow the menu options displayed in the
Dynamic C
Note that
the scan takes a fair amount of time. Instead, callback functions are used. The callback
function is passed to
1. Use macro definitions in the “Defines” tab in the Dynamic C Options > Project
2. If you are using DHCP, change the definition of the TCPCONFIG macro to 5. The default
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.
value of 1 indicates Wi-Fi with a static IP address.
ifconfig(IF_WIFI0, IFS_WIFI_SCAN, scan_callback, IFS_END);
window.
ifconfig IFS_WIFI_SCAN
STDIO
Press s to scan available access points
Press a to scan access points and associate
Press m to print WIFI MAC status
—initializes the RCM5400W and scans for other Wi-Fi devices that are
_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"
TCPCONFIG
.
window.
ifconfig()
— demostrates how to scan Wi-Fi channels for SSIDs using
macro.
. This takes a while to complete, so
as the only parameter to
function calls do not return data directly since
IFS_WIFI_SCAN
TCP_CONFIG.LIB
ifconfig()
ifconfig
.
calls a
67

Related parts for 101-1262