Page 1
(USR-GM3 ) File version: Ver1.0 USR-GM3 is highly-integrated UART to GSM/GPRS module, Users can easily make communication between serial device and cellphone and network device with it. This module is different from the common modules on the market, it is the smallest GPRS DTU, plug-and-play device.
4.4.1. RS485..............................28 4.4.2. Similar RFC2217..........................28 5. Parameters Setting..............................29 5.1. Operating AT command..........................30 5.2. AT Command Format.............................31 5.3. AT Command Set............................33 Appendix A: Contact..............................51 Appendix B: Disclaimer..............................52 Appendix C: Update History............................52 Jinan USR IOT Technology Limited 2 / 52 tec@usr.cn...
Page 3
Quick Start Start This chapter is a quick start guide for using USR-GM3 module. If it is the first time to use USR-GM3 for you, you should read this chapter carefully, and then follow the tips, try to do some tests by yourself. It will help you to know about USR-GM3 generally. If you have experience of using USR-GM3, please escape this chapter.
3. Power up the EVM with DC 5V adapter, then the POWER led will be on, several seconds later, the WORK led will twinkle, and then GPRS LINKA led will be on. Jinan USR IOT Technology Limited 4 / 52...
Page 5
4. Wait for LINKA led on, send data to module via serial port. 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 5 / 52 tec@usr.cn...
Short Description Description Description Description USR-GM3 is new listing at 2015, it is one embedded GSM module. USR-GM3 is designed for embedded system, it is so small and convenient that you can integrate it to your system easily. 2.2. 2.2.
Page 7
� In Heating field, USR-GM3 can be embedded in m-BUS concentrator to achieve the integration of the concentrator and wireless communication. � In water industry, USR-GM3 is also plays a significant role in system of water set copy, wa ter resource management and remote monitoring, wireless communication of water pipe n etwork monitoring.
Page 10
SIM_DAT Data line for SIM SIM_RST Reset line for SIM Keep no connecting Keep no connecting Keep no connecting V_PAD 2.8V output Keep no connecting Keep no connecting Keep no connecting Jinan USR IOT Technology Limited 10 / 52 tec@usr.cn...
1. The line of Antenna should be short to make the insert loss lower and routed as RF line strictly to keep 50ohm matching. 2. It’s better to put the antenna pad on the edge of the PCB. Jinan USR IOT Technology Limited 11 / 52 tec@usr.cn...
Functions Functions 4.1. 4.1. 4.1. 4.1. Work Work Work Work Mode Mode Mode Mode USR-GM3 module can work in 3 modes � SMS message transmission mode � network transmission mode HTTPD mode � 4.1.1. 4.1.1. Switching Switching Work Work Mode Mode 4.1.1.
Page 13
And we have one software for customers to do serial and network tests, customers can get http://www.usriot.com/Product/78.html http://www.usriot.com/Product/78.html it from our website:http://www.usriot.com/Product/78.html http://www.usriot.com/Product/78.html. 1. Set TCP server software, log in remote server via remote desktop connection. Jinan USR IOT Technology Limited 13 / 52 tec@usr.cn...
Page 14
2) Enable socket A AT+SOCKAEN= AT+SOCKAEN= AT+SOCKAEN= AT+SOCKAEN=” ” ” ” on on” ” ” ” 3) Set socket A as TCP client, server address is test.usr.cn(domain), server port is 2317. Jinan USR IOT Technology Limited 14 / 52 tec@usr.cn...
Page 15
3. Restart GM3, wait the connection of socket A has been established, send data to module via serial port, then you will get data at network server software. And send data to module via network, then the data will be got at module serial port. Jinan USR IOT Technology Limited 15 / 52 tec@usr.cn...
Page 16
Note: every command string should terminate with carriage return. Here we use [0D]. 4.1.2.4.1. 4.1.2.4.1. Serial Serial Command Command 4.1.2.4.1. 4.1.2.4.1. Serial Serial AT AT Command Command 1. Set work mode as network transmission. Jinan USR IOT Technology Limited 16 / 52 tec@usr.cn...
Page 17
AT+UATEN=”on”[0D] 3. Query command password. AT+CMDPW[0D] We suppose the command password is ”usr.cn” here. After setting successful, restart GM3, then send “usr.cn#AT+VER” via serial. Then GM3 will respond the firmware version. Jinan USR IOT Technology Limited 17 / 52 tec@usr.cn...
Page 18
We suppose the command password is ”usr.cn” here. Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1.3. After setting successful, restart GM3. When connection is establishing, send “usr.cn#AT+VER” from network. Jinan USR IOT Technology Limited 18 / 52 tec@usr.cn...
About how to use AT commands, please refer to chapter 4.5 “AT command”. We have one software for customers to operating AT commands, customers can get it from http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html website:http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html. Jinan USR IOT Technology Limited 19 / 52 tec@usr.cn...
Page 20
“[20]” means space, 0x20 in hex number. 2. Restart module, then send “data=http://www.usr.cn” to HTTP server via serial port,you will get [http://www.usr.cn] from server. NOTE: the server “www.usr.cn” is USR’s HTTP test server, if you send Jinan USR IOT Technology Limited 20 / 52 tec@usr.cn...
Page 21
In the step 1, serial device send “data=http://www.usr.cn” to GM3, then GM3 prepares HTTP package with head information set before, so the package data is: GET /1.php?data=http://www.usr.cn HTTP/1.1 Host: www.usr.cn Accept:text/html Accept-Language:zh-CN User-Agent: Mozilla/5.0 Connection: Keep-Alive Jinan USR IOT Technology Limited 21 / 52 tec@usr.cn...
Page 22
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 GM3 receives the above data, it will analysis the information, and send the result to serial device. Jinan USR IOT Technology Limited 22 / 52 tec@usr.cn...
Page 23
About how to use AT commands, please refer to chapter 4.5 “AT command”. We have one software for customers to operating AT commands, customers can get it from website:http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html http://www.usriot.com/Download/183.html. Jinan USR IOT Technology Limited 23 / 52 tec@usr.cn...
Page 24
2. Reset module, and send message to module via serial port, then you will get the message on your cellphone. Then send a message back to module, then you will get the message from module’s serial port. Jinan USR IOT Technology Limited 24 / 52 tec@usr.cn...
Page 25
Besides, customers need to configure SMS message transmission, refer to chapter 4.1.2. After setting successful, restart GM3. send “usr.cn#AT+VER” to GM3 from cellphone, then then you will get response from GM3. Jinan USR IOT Technology Limited 25 / 52 tec@usr.cn...
Page 26
Besides, customers need to configure socket A or socket B for network connection, refer to chapter 4.1.3. After setting successful, restart GM3. When connection is establishing, GM3 will send string “www.usr.cn” to server via socket A and socket B. Jinan USR IOT Technology Limited 26 / 52 tec@usr.cn...
4.1.3. After setting successful, restart GM3. When connection is establishing, If device is idle for 30 seconds, GM3 will send string “www.usr.cn” to server via socket A and socket B. Jinan USR IOT Technology Limited 27 / 52 tec@usr.cn...
This function is similar to RFC2217. Customer can change the parameters of serial port dynamically via network. This modification is temporary, when module restarts, the parameters changed will return back to previous values. Jinan USR IOT Technology Limited 28 / 52 tec@usr.cn...
Interpretation of bits parameters Bits Interpretation Value Description Not Used Not Used Data bits Stop bits disable Enable/disable parity enable EVEN Parity type Not Used Not Used No defined Not Used Jinan USR IOT Technology Limited 29 / 52 tec@usr.cn...
Page 30
T1 > 200ms T2 < 50ms T3 < 50ms T5 < 3s into into command command mode: mode: Go into into command command mode: mode: Jinan USR IOT Technology Limited 30 / 52 tec@usr.cn...
Page 31
A~B means the range is from A to B. carriage return, hex number is 0D. command code operator PARA parameter carriage return line feed Jinan USR IOT Technology Limited 31 / 52 tec@usr.cn...
[CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> [CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF> Code Code meaning meaning necessary necessary Code Code meaning meaning necessary necessary carriage return line feed +CMD response head operator PARA parameter carriage return line feed Jinan USR IOT Technology Limited 32 / 52 tec@usr.cn...
Page 33
MS ISDN related to the subscriber UART UART UART UART parameters parameters parameters parameters commands commands commands commands UART query or set serial port parameters RFCEN query or set enable/disable similar RFC2117 Jinan USR IOT Technology Limited 33 / 52 tec@usr.cn...
Page 43
� parameter : � status : enable or disable socket B. � “on” : enable � “off” : disable 28) AT+SOCKASL � function : query or set socket A long or short connection. Jinan USR IOT Technology Limited 43 / 52 tec@usr.cn...
Page 44
{CR} or or or or AT+SOCKALK? AT+SOCKALK? {CR} AT+SOCKALK SOCKALK SOCKALK{CR} {CR} AT+SOCKALK? AT+SOCKALK?{CR} {CR} {CR} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF} � parameter : � status : socket A connection status. � “connected” : connected Jinan USR IOT Technology Limited 44 / 52 tec@usr.cn...
Page 45
{CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ {CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ {CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{ � query current value of parameter: AT+REGTP REGTP REGTP REGTP{CR} {CR} {CR} {CR} or or or or AT+REGTP? AT+REGTP? AT+REGTP? AT+REGTP?{CR} {CR} {CR} {CR} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} {CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited 45 / 52 tec@usr.cn...
Page 46
{CR} AT+REGDT data{CR} {CR} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} {CR}{LF}OK{CR}{LF} � parameter : � data : user-defined register data, hex string, max length is 80 bytes, for example, “7777772E7573722E636E” means “www.usr.cn” in ASCII. Jinan USR IOT Technology Limited 46 / 52 tec@usr.cn...
Need help?
Do you have a question about the USR-GM3 and is the answer not in the manual?
Questions and answers