4.1. AT commands Set...............................19 4.1.1. AT command Mode..........................19 4.1.2. Serial AT command..........................20 4.1.3. Network AT command..........................20 4.1.4. SMS AT Command..........................21 4.2. AT Command Set..............................22 4.2.1. AT Command Set............................ 24 4.2.1.1. AT+H...............................25 Jinan USR IOT Technology Limited / 45 www.usriot.com...
1. Quick Start This chapter is a quick start guide for using USR-GPRS232-730 module. If it is the first time to use, you should read this chapter carefully, and then follow the tips, try to do some tests by yourself. It will help you to know USR-GPRS232-730 generally.
Page 6
For example, if you send “http://www.usr.cn”, at the same time, the DATA led will be on for a while. Then, you will get “http://www.usr.cn” in the receiving window from our test server. Jinan USR IOT Technology Limited / 45 www.usriot.com...
2. Product Introduction 2.1. Short Description USR-GPRS232-730 is new listing at 2015, RS232 and RS485 interface supported. With easy settings, it can realize data transmission in most application. 2.2. Features RS232 or RS485 interface, transmission between serial and GPRS ...
USR-GPRS232-730 User Manual h.usriot.com 3.1. Setup Process USR-GPRS232-730 will automatically connect to GPRS network and server, get into correct work mode and open serial port according to the pre-set parameters. Pre-set parameters Work mode Network transparent transmission mode ...
Customers don’t need to know the detail of communication, just need some simple setting. USR-GPRS232-730 support 2 sockets, socket A and socket B, they are standalone with each other. This module only supports TCP Client and UDP Client.
The server “www.usr.cn” is USR’s HTTP test server, if you send “data=http://www.usr.cn” to it, it will feed back the data after “=” with “[]” including. In step 1, serial device send “data=http://www.usr.cn” to USR-GPRS232-730, then module prepares HTTP package with head information set before, so the package data is: GET /1.php?data=http://www.usr.cn HTTP/1.1...
Expires: Wed, 24 Jun 2015 04:18:35 GMT Content-Length: 19 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html [http://www.usr.cn] After USR-GPRS232-730 receives the above data, it will analysis the information, and send the result to serial device. 3.2.3. SMS Transmission Mode 3.2.3.1. Description Base station Serial data...
Under network transmission mode, customers can send Heart Beat Package to network server or serial device. Sending heart beat data to network server, is used to check if connection is alive. If USR-GPRS232-730 sends data unsuccessful for 3 times, it will try to reconnect to server.
Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1. After setting successful, restart USR-GPRS232-730. When connection is establishing, If device is idle for 30 seconds, USR-GPRS232-730 will send string “www.usr.cn” to server via socket A and socket B.
Parity type EVEN Mark No defined write 0 3.7. Indicator Status Indicator status meaning POWER “on” means normal power supply, “off” means power supply failure GPRS “on” means attached, “off” means attach failure Jinan USR IOT Technology Limited / 45 www.usriot.com...
3.8. Firmware Upgrade USR-GPRS232-730 can be upgrade by UART port. The upgrade port is reserved on PCB, user need to take the shell off. An USB to TTL cable is needed. Wiring hole is GND, RXD, TXD from left to right.
Page 18
USR-GPRS232-730 User Manual h.usriot.com Get back to home and click upgrade Wait until progress bar finished, upgrade succeed. Jinan USR IOT Technology Limited / 45 www.usriot.com...
4.1. AT commands Set 4.1.1. AT command Mode When USR-GPRS232-730 works in one of the three modes: SMS message transmission, network transmission mode or HTTPD mode. You can get module into “command mode” by sending specific timing data to it, then send commands to change module’s running parameters. If changing is done, get module back to previous work mode.
AT+UATEN=”on”[0D] Query command password. AT+CMDPW[0D] We suppose the command password is ”usr.cn” here. After setting successful, restart USR-GPRS232-730, then send “usr.cn#AT+VER” via serial. Then USR-GPRS232-730 will respond the firmware version. 4.1.3. Network AT command Steps Jinan USR IOT Technology Limited / 45 www.usriot.com...
We suppose the command password is ”usr.cn” here. Besides, customers need to configure SMS message transmission, refer to chapter 4.1. After setting successful, restart USR-GPRS232-730. send “usr.cn#AT+VER” to USR-GPRS232-730 from cellphone, then then you will get response from USR-GPRS232-730. Jinan USR IOT Technology Limited / 45 www.usriot.com...
A~B means the range is from A to B command code operator PARA parameter carriage return in ASCII, 0x0D in hex line feed in ASCII, 0x0A in hex Jinan USR IOT Technology Limited / 45 www.usriot.com...
Page 23
All the followings are using without echo as examples. Command string: [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> Code Meaning Necessary carriage return line feed +CMD response head operator PARA parameter carriage return line feed carriage return line feed operating successful carriage return line feed Jinan USR IOT Technology Limited / 45 www.usriot.com...
Set 20 bits device ID in cloud CLOUDPA Set 8 bit communication password in cloud 4.2.1.1. AT+H function : help message format : query : AT+H{CR}{CR}{LF}help message{CR}{LF}{CR}{LF}OK{CR}{LF} parameter : help message : commands introduction Jinan USR IOT Technology Limited / 45 www.usriot.com...
: quit from command mode format : setting: AT+ENTM{CR}{CR}{LF}OK{CR}{LF} 4.2.1.5. AT+WKMOD function : query/set work mode format : query parameter introductions: AT+WKMOD=?{CR} {CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+WKMOD{CR} or AT+WKMOD?{CR} {CR}{LF}+WKMOD:mode{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+WKMOD=mode{CR} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
AT+CMDPW=?{CR} {CR}{LF}+CMDPW:<"password">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+CMDPW{CR} or AT+CMDPW?{CR} {CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+CMDPW=password{CR} {CR}{LF}OK{CR}{LF} parameter : password : command password 4.2.1.10. AT+CACHEN function : query/set enable/disable data cache. format : Jinan USR IOT Technology Limited / 45 www.usriot.com...
Module will restart if no data received in serial and net port whithin this time. format: query parameter introductions: query current value of parameter: AT+RSTIM{CR}orAT+RSTIM?{CR} {CR}{LF}+RSTIM:time{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+RSTIM=time{CR} Jinan USR IOT Technology Limited / 45 www.usriot.com...
: 7 : 7 data bits 8 : 8 data bits flow control : “NONE” : no flow control “CRTS” : use RTS/CTS for flow control “RS485” : enable RS485 function Jinan USR IOT Technology Limited / 45 www.usriot.com...
: server address, IP or domain name port : server port, 1~65535 4.2.1.27. AT+SOCKAEN function : query/set enable/disable socket A. format : query parameter introductions: AT+SOCKAEN=?{CR} {CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+SOCKAEN{CR} or AT+SOCKAEN?{CR} Jinan USR IOT Technology Limited / 45 www.usriot.com...
: query/set socket A long or short connection. format : query parameter introductions: AT+SOCKASL=?{CR} {CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+SOCKASL{CR} or AT+SOCKASL?{CR} {CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+SOCKASL=type{CR} {CR}{LF}OK{CR}{LF} parameter : type : connection style Jinan USR IOT Technology Limited / 45 www.usriot.com...
: socket A connection status. “connected” : connected “disconnected” : disconnected 4.2.1.32. AT+SOCKBLK function : query socket B connection status. format : query current value of parameter: AT+SOCKBLK{CR} or AT+SOCKBLK?{CR} {CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
“link&data” : support both of above two ways 4.2.1.39. AT+HEARTEN function : query/set enable/disable heartbeat. format : query parameter introductions: AT+HEARTEN=?{CR} {CR}{LF}+HEARTEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+HEARTEN{CR} or AT+HEARTEN?{CR} {CR}{LF}+HEARTEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: Jinan USR IOT Technology Limited / 45 www.usriot.com...
AT+HEARTTP{CR} or AT+HEARTTP?{CR} {CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+HEARTTP=type{CR} {CR}{LF}OK{CR}{LF} parameter : type : sending type “COM” : send data to serial port “NET” : send data to network Jinan USR IOT Technology Limited / 45 www.usriot.com...
: query/set HTTP request head. format : query parameter introductions: AT+HTPHD=?{CR} {CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+HTPHD{CR} or AT+HTPHD?{CR} {CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+HTPHD=head{CR} {CR}{LF}OK{CR}{LF} parameter : head : HTTP request head Jinan USR IOT Technology Limited / 45 www.usriot.com...
USR-GPRS232-730 User Manual h.usriot.com 5. Contact Us Company: Jinan USR IOT Technology Limited Address: Floor 11, Building1, No.1166 Xinluo Street, Gaoxin Distric, Jinan, Shandong, 250101, China Tel: 86-531-55507297, 86-531-88826739 Web: http://www.usriot.com Support : http://h.usriot.com Email: sales@usr.cn, tec@usr.cn 6. Disclaimer This document provides information about USR-C322 modules, this document does not grant any license to intellectual property rights.
Need help?
Do you have a question about the USR-GPRS232-730 and is the answer not in the manual?
Questions and answers