USR IOT USR-GPRS232-730 User Manual
Hide thumbs Also See for USR-GPRS232-730:

Advertisement

USR-GPRS232-730 User Manual
h.usriot.com
USR-GPRS232-730 User Manual
File Version: V1.0
Jinan USR IOT Technology Limited
1
/ 45
www.usriot.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-GPRS232-730 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for USR IOT USR-GPRS232-730

  • Page 1 USR-GPRS232-730 User Manual h.usriot.com USR-GPRS232-730 User Manual File Version: V1.0 Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 2: Table Of Contents

    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...
  • Page 3 4.2.1.34. AT+REGEN..........................37 4.2.1.35. AT+REGTP..........................38 4.2.1.36. AT+REGID..........................38 4.2.1.37. AT+REGDT..........................38 4.2.1.38. AT+REGSND..........................39 4.2.1.39. AT+HEARTEN..........................39 4.2.1.40. AT+HEARTDT..........................40 4.2.1.41. AT+HEARTTP..........................40 4.2.1.42. AT+HEARTTM..........................41 4.2.1.43. AT+HTPTP..........................41 4.2.1.44. AT+HTPURL..........................41 4.2.1.45. AT+HTPSV..........................42 Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 4 USR-GPRS232-730 User Manual h.usriot.com 4.2.1.46. AT+HTPHD..........................42 4.2.1.47. AT+DSTNUM..........................43 4.2.1.48. AT+SMSEND..........................43 4.2.1.49. AT+CLOUDEN........................... 43 4.2.1.50. AT+CLOUDID..........................44 4.2.1.51. AT+CLOUDPA..........................44 5. Contact Us..................................45 6. Disclaimer..................................45 7. Update History................................45 Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 5: Quick Start

    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...
  • Page 7: Product Introduction

    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 ...
  • Page 8: Parameters

    HTTPD mode Setup command AT+ command Software Network protocol TCP /UDP/ DNS/HTTP Max TCP connection UART AT command Config Network AT command SMS ATcommand Application software Customize for VIP customers 2.4. Dimensions Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 9: Function

    USR-GPRS232-730 User Manual h.usriot.com 3. Function Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 10: Setup Process

    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 ...
  • Page 11: Network 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.
  • Page 12: Setup Steps

    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...
  • Page 13: Sms Transmission Mode

    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...
  • Page 14: Register Package

    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.
  • Page 15: Usr Cloud

    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.
  • Page 16: Similar Rfc2217

    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...
  • Page 17: Firmware Upgrade

    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...
  • Page 19: Parameters Setting

    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.
  • Page 20: Serial At Command

    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...
  • Page 21: Sms At Command

    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...
  • Page 22: At Command Set

    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...
  • Page 24: At Command Set

    RFCEN query/set enable/disable similar RFC2117 Socket parameters commands query/set APN code SOCKA query/set socket A parameters SOCKB query/set socket B parameters SOCKAEN query/set enable/disable socket A SOCKBEN query/set enable/disable socket B Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 25: At+H

    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...
  • Page 26: At+Z

    : 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...
  • Page 27: At+Calen

    AT+NATEN=?{CR} {CR}{LF}+NATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+NATEN{CR} or AT+NATEN?{CR} {CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+NATEN=status{CR} {CR}{LF}OK{CR}{LF} parameter : status : enable or disable network command “on” : enable “off” : disable Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 28: At+Uaten

    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...
  • Page 29: At+Stmsg

    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...
  • Page 30: At+S

    : setting: AT+RELD{CR} {CR}{LF}OK{CR}{LF} 4.2.1.15. AT+CLEAR function : restore factory settings. format : setting: AT+CLEAR{CR} {CR}{LF}OK{CR}{LF} 4.2.1.16. AT+CFGTF function : save current setting as default setting. format : setting: AT+CFGTF{CR} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 31: At+Ver

    AT+ICCID{CR} or AT+ICCID?{CR} {CR}{LF}+ICCID:code{CR}{LF}{CR}{LF}OK{CR}{LF} parameter : code : ICCID code 4.2.1.20. AT+IMEI function : query IMEI code. format : query current value of parameter: AT+IMEI{CR} or AT+IMEI?{CR} {CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF} parameter : code : IMEI code Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 32: At+Cnum

    : 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...
  • Page 33: At+Rfcen

    AT+APN{CR} or AT+APN?{CR} {CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+APN=code{CR} {CR}{LF}OK{CR}{LF} parameter : code : APN code 4.2.1.25. AT+SOCKA function : query/set socket A parameters. format : query parameter introductions: AT+SOCKA=?{CR} {CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 34: At+Sockb

    : 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...
  • Page 35: At+Sockben

    : 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...
  • Page 36: At+Sockbsl

    : 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...
  • Page 37: At+Sockiden

    AT+REGEN=?{CR} {CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+REGEN{CR} or AT+REGEN?{CR} {CR}{LF}+REGEN:status{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+REGEN=status{CR} {CR}{LF}OK{CR}{LF} parameter : status : enable or disable register package “on” : enable “off” : disable Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 38: At+Regtp

    AT+REGID{CR} or AT+REGID?{CR} {CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+REGID=id{CR} {CR}{LF}OK{CR}{LF} parameter : id : register ID 4.2.1.37. AT+REGDT function : query/set register user-defined data. format : query parameter introductions: Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 39: At+Regsnd

    “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...
  • Page 40: At+Heartdt

    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...
  • Page 41: At+Hearttm

    {CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+HTPTP=type{CR} {CR}{LF}OK{CR}{LF} parameter : type : HTTP request type “GET” : get “POST” : post 4.2.1.44. AT+HTPURL function : query/set HTTP URL. format : query parameter introductions: AT+HTPURL=?{CR} {CR}{LF}+HTPURL:<"URL">{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 42: At+Htpsv

    : 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...
  • Page 43: At+Dstnum

    2 : 8 bits coding, not compressed 3 : UCS8 coding data : content of SMS message 4.2.1.49. AT+CLOUDEN function: query/set whether enable USR CLOUD function format: query parameter introductions: AT+ CLOUDEN =?{CR} {CR}{LF}+ CLOUDEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 44: At+Cloudid

    AT+ CLOUDPA =?{CR} {CR}{LF}+ CLOUDPA:<"pass">{CR}{LF}{CR}{LF}OK{CR}{LF} query current value of parameter: AT+ CLOUDPA {CR} or AT+ CLOUDPA?{CR} {CR}{LF}+ CLOUDPA: pass {CR}{LF}{CR}{LF}OK{CR}{LF} set parameter: AT+ CLOUDPA = pass {CR} {CR}{LF}OK{CR}{LF} parameter : pass: 8 bit password Jinan USR IOT Technology Limited / 45 www.usriot.com...
  • Page 45: Contact Us

    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.

Table of Contents