6. The module will now restart and associate with the access point and use the configured
static IP settings. When associated, it will try to connect to the remote peer
test.connectblue.se on TCP port 6666. The remote peer name will be resolved using the
configured DNS server.
Example 8, Enable remote configuration
This example describes how to enable remote configuration, i.e. how to enter AT mode from a
remote peer. By default this functionality is disabled because it may pose a security risk. If re-
mote configuration is allowed, any remote peer may enter AT mode using the configured es-
cape sequence. From there, all configuration settings are exposed. With this in mind the follow-
ing steps are required to enable remote configuration.
1. Configure WLAN and IP settings.
2. Configure one or more remote TCP peers or enable the TCP listener (UDP peers don’t make
sense because it is a one way communication channel).
3. Enable remote configuration with the command AT*ACCB=1,1
4. Let the module associate with the network.
5. From any of the remote TCP peers send the escape sequence to enter AT mode (for more
information, see Chapter 2). Alternatively connect to the configured TCP listener and send
the escape sequence. The remote peer is now in AT mode and all AT commands are avail-
able. Several remote peers can be in AT mode at the same time without affecting the com-
munication with the other peers.
6.
When configuration is finished, leave AT mode with the command AT*ADDM
8.4 Use Cases
The aim of these uses cases is to describe what to configure in different scenarios.
Use case 1, Sensor network, infrastructure, asynchronous
Problem description: An industry needs to monitor the air quality and humidity in a large as-
sembly hall. They have concluded that they need to place 20 sensors on different locations in
the assembly hall. They want the sensors to be battery powered and report the samplings wire-
lessly. The assembly hall already has an access point ready. The sensors report data every 10
seconds. The data packet sent is 1kb.
Security: WPA2 PSK.
Data delivery: All values are as important.
Solution:
Using an access point is preferable in this scenario since the devices will be battery powered. An
infrastructure network provides a lot better power saving properties than an ad-hoc network.
Using WPA2 PSK is no problem and we can follow Example 6, WLAN Connection with WPA2
Encryption to enter the correct parameters.
Since all values are important we choose a TCP connection for sending the data. This means
that somewhere on the network there has to be a computer with an open port accepting the
connections from the modules. We set up the connection parameters by following Example 2,
Enable DHCP and configure a Remote Peer.
The short interval of 10 seconds for every new packet means that we should not make the
module disconnect after a period of idle since booting up and scanning uses a lot of energy as
well as takes time.
Version 1.6.6 - 2009-11
29
相关PDF资料
CB-OWSPA311GX-04 MOD OEM WIRELESS LAN 311G I
CB-RWSPA311GS-03 SERIAL PORT ADAPTER WIRELESS LAN
CB-SPA312I-02 SERIAL PORT ADAPTER 312I BTOOTH
CBC-PV-01N PHOTOVOLTAIC SOLAR CELL
CBC-PV-02N PHOTOVOLTAIC SOLAR CELL
CC-900W-CA5 MODEM WIRELESS 900MHZ 5V W/ANT
CC-EVB-900W KIT EVAL SOCKET RADIO
CC2431DK KIT DEV FOR CC2431
相关代理商/技术参数
CB-OWSPA311GI-04 功能描述:MOD OEM WIRELESS LAN 311G I RoHS:是 类别:RF/IF 和 RFID >> RF 收发器 系列:CB-OWSPA 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:30 系列:- 频率:4.9GHz ~ 5.9GHz 数据传输率 - 最大:54Mbps 调制或协议:* 应用:* 功率 - 输出:-3dBm 灵敏度:- 电源电压:2.7 V ~ 3.6 V 电流 - 接收:* 电流 - 传输:* 数据接口:PCB,表面贴装 存储容量:- 天线连接器:PCB,表面贴装 工作温度:-25°C ~ 85°C 封装/外壳:68-TQFN 裸露焊盘 包装:管件
CB-OWSPA311GX-04 功能描述:MOD OEM WIRELESS LAN 311G I RoHS:是 类别:RF/IF 和 RFID >> RF 收发器 系列:CB-OWSPA 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:30 系列:- 频率:4.9GHz ~ 5.9GHz 数据传输率 - 最大:54Mbps 调制或协议:* 应用:* 功率 - 输出:-3dBm 灵敏度:- 电源电压:2.7 V ~ 3.6 V 电流 - 接收:* 电流 - 传输:* 数据接口:PCB,表面贴装 存储容量:- 天线连接器:PCB,表面贴装 工作温度:-25°C ~ 85°C 封装/外壳:68-TQFN 裸露焊盘 包装:管件
C-BOXQX2 功能描述:烙铁 QX2 BOX NOZZLE CUSTOM RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included
CBP 3/8 制造商:Thomas & Betts 功能描述:STEEL COVER 制造商:Thomas & Betts 功能描述:Covers For Steel City Metallic Boxes
CBP0735A 制造商:2POWER 功能描述:BATTERY LI-ION SONY VAIO PCG-F
CBP-1 功能描述:TERM BARRIER 1CIRC SGL ROW .375 RoHS:是 类别:连接器,互连式 >> 接线座 - 隔板块 系列:CB 标准包装:1 系列:43000 端接块类型:阻隔块 电路数:3 导线入口数目:3 间距:0.438"(11.12mm) 行数:1 电流:20A 电压:600V 线规:12-22 AWG 顶部端子:螺钉(不包括) 底部端子:快速连接(0.250") 阻挡层类型:双壁(双) 特点:法兰 颜色:- 包装:散装 安装类型:底座安装或面板安装 工作温度:105°C 材料 - 绝缘体:聚丙烯(PP) 材料可燃性额定值:UL94 V-0
CBP-10 功能描述:TERM BARRIER 10CIRC SGL ROW .375 RoHS:是 类别:连接器,互连式 >> 接线座 - 隔板块 系列:CB 标准包装:1 系列:43000 端接块类型:阻隔块 电路数:21 导线入口数目:21 间距:0.438"(11.12mm) 行数:1 电流:20A 电压:600V 线规:12-22 AWG 顶部端子:螺钉 底部端子:绕接线,绝缘 阻挡层类型:双壁(双) 特点:- 颜色:- 包装:散装 安装类型:底座安装或面板安装;通孔 工作温度:105°C 材料 - 绝缘体:聚丙烯(PP) 材料可燃性额定值:UL94 V-0
CBP100-C 功能描述:电路板硬件 - PCB CB POST NYLON RoHS:否 制造商:Harwin 类型:Shield Clip 长度:9.4 mm 螺纹大小: 外径: 材料:Beryllium Copper 电镀:Tin