101-1173 Rabbit Semiconductor, 101-1173 Datasheet - Page 70

RCM4400W DEV KIT UNIVERSAL

101-1173

Manufacturer Part Number
101-1173
Description
RCM4400W DEV KIT UNIVERSAL
Manufacturer
Rabbit Semiconductor
Series
RCM4400W RabbitCore™r
Type
Wi-Fi / 802.11.br
Datasheet

Specifications of 101-1173

Frequency
2.4GHz
Wireless Frequency
58.98 MHz
For Use With/related Products
RCM4400W
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1133
64
WIFISCANASSOCIATE.C
the
wifi_ioctl()
specified using an
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
since the scan takes a fair amount of time. Instead, callback functions are used. The
callback function is set with an earlier
The data passed to the callback function are ephemeral since another scan may occur.
Thus, the data need to be used (or copied) during the callback function.
While waiting for user input, it is important to keep the network alive by calling
tcp_tick(NULL)
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
wifi_ioctl()
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.
wifi_ioctl(IF_WIFI0, WIFI_SCANCB, scan_callback, 0);
wifi_ioctl(IF_WIFI0, WIFI_SCAN, "0", 0);
wifi_ioctl()
STDIO
Press s to scan available access points
Press a to scan access points and associate
Press m to print WIFI MAC status
_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
calls a callback function when it is done. The callback function is
wifi_ioctl() WIFI_SCANCB
window.
regularly.
function call with
— demostrates how to scan Wi-Fi channels for SSIDs using
function calls with
macro.
wifi_ioctl()
WIFI_SCAN
WIFI_SCAN
. This takes a while to complete, so
function call.
function call.
do not return data directly
TCP_CONFIG.LIB
RabbitCore RCM4400W

Related parts for 101-1173