CB-OEMSPA311I-01 ConnectBlue, CB-OEMSPA311I-01 Datasheet - Page 28
![KIT STARTER OEM SRL 311I RS232](/photos/14/9/140959/cb-oemspa311i-01_sml.jpg)
CB-OEMSPA311I-01
Manufacturer Part Number
CB-OEMSPA311I-01
Description
KIT STARTER OEM SRL 311I RS232
Manufacturer
ConnectBlue
Series
OEM Serial Port Adapter™r
Type
Bluetoothr
Datasheet
1.CB-OEMSPA311I-01.pdf
(60 pages)
Specifications of CB-OEMSPA311I-01
Frequency
2.4GHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
809-1006
Example 5, WLAN Connection with WEP Encryption
Example 6, WLAN Connection with WPA2 Encryption
Example 7, Example DNS Configuration and Usage
This example requires an access point with WEP128 encryption enabled and the key set to “Mis-
terFancypants”.
Note: To enter hexadecimal values in the key, the value must be escaped with “\”. For
example, the hexadecimal value 0x42 should be entered as “\42”.
This example requires an access point with WPA2 encryption enabled and the key set to “Mis-
terFancypants”.
This example describes how to configure the DNS settings and connect to a remote peer using
its host and domain name instead of its IP address. The example requires that a DNS server is
available on the wireless network and that the name of the remote peer resolves in the DNS. In
the example we use one DNS server with the address 192.168.0.5 and a remote peer with the
name test.connectblue.se.
1. Follow Example 1, Configure a WLAN Connection, but before you restart the module
2. Set the authentication mode to shared secret with the AT command AT*AGAM=1,1
3. Set the encryption mode to WEP128 with the AT command AT*AGEM=2,1
4. Set the first encryption key with the AT command
5. Set the active encryption key to 1 with the AT command AT*AGAFP=1,1
6. Restart the module with the AT command AT*AMWS=0,0,0,0,1,0
7. The module will now restart but not associate with the access point because of the rea-
1. Follow Example 1, Configure a WLAN Connection, but before you restart the module
2. Set the authentication mode to WPA/WPA2 PSK with the AT command AT*AGAM=2,1
3. Set the encryption mode to AES/CCMP with the AT command AT*AGEM=4,1
4. Set the first encryption key with the AT command
5. Make sure the module uses encryption key 1 by setting it to this with the AT command
6. Restart the module with the AT command AT*AMWS=0,0,0,0,1,0
7. The module will now restart but not associate with the access point because of the rea-
1. Configure WLAN and static IP settings (Example 3, Static IP Address and TCP Listener,
2. Configure DNS server with the AT command AT*ANDNS=192.168.0.5,0.0.0.0,1
3. Add a remote TCP peer with the AT command
4. Set the number of configured remote peers to 1 with the command AT*ADNRP=1,1
5. Restart the module with the AT command AT*AMWS=0,0,0,0,1,0
execute the following commands.
AT*AGFPWI=1,"MisterFancypants",1
son described in example 1.
execute the following commands.
AT*AGFPWI=1,"MisterFancypants",1
AT*AGAFP=1,1
son described in example 1.
step 1-3)
AT*ADWDRP=0,tcp://test.connectblue.se:6666,2,0,”peer1”,1
Version 1.6.6 - 2009-11
28