BL4S200 User’s Manual
147
other requirements.
Any attempt to operate a device outside the allowed channel range
or power limits will void your regulatory approval to operate the device in that country.
Before you compile and run this sample program, uncomment the
#define IFC_
WIFI_REGION
line corresponding to the region where your system will be deployed.
The Americas region will be used by default if one of these lines is not uncommented.
Now compile and run this sample program. The Dynamic C
STDIO
window will dis-
play the region you selected.
The sample program also allows you to set up the TCP/IP configuration, and set the IP
address and SSID as shown in the sample code below.
#define TCPCONFIG 1
#define _PRIMARY_STATIC_IP "10.10.6.170"
#define IFC_WIFI_SSID "rabbitTest"
•
REGION_MULTI_DOMAIN.C
—demonstrates how the multi-domain options from the
access point can be used to configure your BL5S220-based system to meet regional
regulations. The sample program includes pings to indicate that the BL5S220-based
system has successfully received country information from your access point.
The country or region you select will automatically set the power and channel require-
ments to operate the BL5S220. Rabbit recommends that you check the regulations for
the country where your system incorporating the BL5S220 will be deployed for any
other requirements.
Before you compile and run this sample program, verify that the access point has the
802.11d option enabled and is set for the correct region or country. Check the TCP/IP
configuration parameters, the IP address, and the SSID in the macros, which are repro-
duced below.
#define TCPCONFIG 1
#define WIFI_REGION_VERBOSE
#define _PRIMARY_STATIC_IP "10.10.6.170"
#define IFC_WIFI_SSID "rabbitTest"
Now compile and run this sample program. The
#define WIFI_REGION_VERBOSE
macro will display the channel and power limit settings. The Dynamic C
STDIO
win-
dow will then display a menu that allows you to complete the configuration of the user
interface.
•
REGION_RUNTIME_PING.C
—demonstrates how the region or country can be set at
run time to configure your BL5S220-based system to meet regional regulations. The
sample program also shows how to save and retrieve the region setting from nonvola-
tile memory. Once the region/country is set, this sample program sends pings using the
limits you set.
The country or region you select will automatically set the power and channel require-
ments to operate the BL5S220. Digi International recommends that you check the regu-
lations for the country where your system incorporating the BL5S220 will be deployed
for any other requirements.
electronic components distributor