CB-OWSPA311GI-01 ConnectBlue, CB-OWSPA311GI-01 Datasheet - Page 26

KIT START OEM WIRELESS LAN RS232

CB-OWSPA311GI-01

Manufacturer Part Number
CB-OWSPA311GI-01
Description
KIT START OEM WIRELESS LAN RS232
Manufacturer
ConnectBlue
Series
OEM Serial Port Adapter™r
Type
Bluetoothr
Datasheet

Specifications of CB-OWSPA311GI-01

Frequency
2.4GHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
809-1018
8.3 Examples
Example 1, Configure a WLAN Connection
Example 2, Enable DHCP and configure a Remote Peer
The address range managed by the DHCP server is derived from the manually set netmask and
ip address. If the netmask set to a range that is less than the maximum of 7 possible clients, the
manageable range is reduced accordingly.
To enable the DHCP server use the DHCP Activation command, AT*ANDHCP. Do not forget to
set a valid static IP address too. (AT*ANIP)
E.g.
AT*ANIP=192.168.0.99,255.255.0.0,192.168.0.99,1
AT*ANDHCP=2,1
The capabilities of the OWSPA311g DHCP server are limited. It can track leases for a maximum
of 7 clients.
If nothing else is mentioned, all of these examples assume factory default settings for the set-
tings that are not changed.
Many AT commands require that you reboot the module before the settings are activated.
Note: The module will not try to associate with an access point unless a connection
property on a higher layer has been defined. Please see the following examples for in-
structions on how to set up an outgoing and incoming connection.
This example describes how to configure the module to make it possible to associate with an
access point. The example requires a wireless access point setup using the SSID “HailToTheK-
ingBaby” on channel 6, not using any encryption or authentication.
This example describes how to enable IP settings using DHCP and how to configure the module
to connect to a remote peer. The example requires that a DHCP server is available on the wire-
less network and that a host with the IP address 10.0.0.9 is listening on the TCP port 5002.
1. Connect to the module and enter AT mode.
2. Set the SSID by sending the AT command AT*AGSSID=”HailToTheKingBaby”,1
3. Configure channel and save it. Usually channel number can be set to 0 to enable auto-
4. Restart the module with the AT command AT*AMWS=0,0,0,0,1,0
5. The module will now restart but will not try to associate with the access point (see the
1. Connect to the module and enter AT mode.
2. Setup WLAN configuration settings (see Example 1, Configure a WLAN Connection).
3. Enable DHCP IP settings with the AT command AT*ANDHCP=1,1
4. Add a remote TCP peer with the AT command
5. Set the number of configured remote peers to 1 with the AT command
6. Restart the module with the AT command AT*AMWS=0,0,0,0,1,0
channel but in this example we set it explicit to 6 with the AT command
AT*AGCH=6,1
note above).
AT*ADWDRP=0,tcp://10.0.0.9:5002,2,0,”peer1”,1
AT*ADNRP=1,1
Version 1.6.6 - 2009-11
26

Related parts for CB-OWSPA311GI-01