15 at+cdnsorip, 16 tcp/ip examples, 1 以gprs方式连接到server端ip地址并开始传送数据 – Rainbow Electronics 900 User Manual
Page 168: 2 以csd方式连接到server端ip地址并开始传送数据, 3 连接到server端udp地址并开始传送数据, 15 at+cdnsorip 17.16 tcp/ip, Examples

FLYFOT-M260-MODULE
Page: 168 / 239
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
Reference
Note
17.15 AT+CDNSORIP
AT+CDNSORIP
Set Link the SERVER is IP address or domain name
Set command
AT+ CDNSORIP=
Response
OK
AT+
CDNSORIP=1
OK
Note
:
Set Link the SERVER is domain name
Query command
AT+CDNSORIP?
Response
1
OK
Parameter
0:
Set Link the SERVER is IP address.
1:
Set Link the SERVER is domain name
.
Reference
Note
17.16 TCP/IP Examples
17.16.1 以 GPRS 方式连接到 SERVER 端 IP 地址并开始传送数据
1. AT+CIPCSGP=1,”CMNET”
2. AT+CIPSTART=”TCP”, 218.246.2.150,2020
3. AT+CIPSEND
4. AT+CIPCLOSE
5. AT+CIPSHUT
17.16.2 以 CSD 方式连接到 SERVER 端 IP 地址并开始传送数据
1. AT+CIPCSGP=0,17201,172,172,2
2. AT+CIPSTART=”TCP”, 218.246.2.150,2020
3. AT+CIPSEND
4. AT+CIPCLOSE
5. AT+CIPSHUT
17.16.3 连接到 SERVER 端 UDP 地址并开始传送数据
1. AT+CIPSTART=”UDP”, 218.246.2.150,3030
2. AT+CIPSEND
3. AT+CIPCLOSE
4. AT+CIPSHUT