USR-G761w Guide Line h.usriot.com Contents USR-G761w Guide Line ............................1 Configuring methods ............................1 1.1. Serial AT command ........................... 1 1.2. SMS AT command ..........................2 1.3. Transparent AT command........................ 2 Function settings ............................... 3 2.1. Work mode ............................3 2.1.1.
2. Sending the “+++” to your USR-G761w with your serial, The USR-G761w will return an “a” if it receives your “+++”. 3. Send an “a” to the USR-G761w within 3 seconds after you receive the “a“. The USR-G761w will return “+ok” if it receives the “a”...
1.2. SMS AT command If your USR-G761w is in fields or you don’t know the serial parameters, you can use SMS AT command to configure the USR-G761w. The SMS AT command format is as follow. Your settings will take effect after restarting.
2. Function settings Every time USR-G761w power on, it will work in work mode (Transparent mode, SMS mode or HTTPD client mode). Then you can AT command mode and use AT command to configure it. Your new parameters will take effect after restarting.
Page 6
Figure 1 AT command set Example: Set the work mode as transparent mode AT+WKMOD=NET Enable the socket A AT+SOCKAEN=ON Set socket A as TCP Client AT+SOCKA=TCP,test.usr.cn,2317 Set socket A as persistent connection AT+SOCKASL=LONG Restart: AT+Z Jinan USR IOT Technology Limited 4 / 35 www.usriot.com...
Set URL of HTTP request: AT+HTPURL=/1.php[3F] Set server of HTTP request: AT+HTPSV=test.usr.cn,80 Set HTTP header: AT+HTPHD=Connection: close[0D][0A] Set HTTP request out time: AT+HTPTO=10 Whether cut off the HTTP header of response data: AT+HTPFLT=ON Jinan USR IOT Technology Limited 5 / 35 www.usriot.com...
Query/Set whether filter source telephone number AT+SMSPH Query/Set whether send SMS in transparent mode Figure 3 AT command set Example: Set work mode is SMS mode AT+WKMOD=SMS Set the target mobile number AT+DSTNUM=15866668888 Jinan USR IOT Technology Limited 6 / 35 www.usriot.com...
There are some methods to separate the data to packages. 7.2.2.1. Time-triggered package Then USR-G761w receive the serial data, if there is no data for a certain period, it will make the package and send it to Jinan USR IOT Technology Limited 7 / 35 www.usriot.com...
Protocol is 8 bytes, please refer to the form below. Name Header Baud rate Function Bits Checksum Bytes number Sum of Baud Baud rate Please refer to next State Fixed Header rate(3 bytes) Big end form and Function Jinan USR IOT Technology Limited 8 / 35 www.usriot.com...
Page 11
55 AA 55 00 25 80 (9600,N,8,1) Figure 5 Protocol Format Bits Stats Value Description Data bits Stop bits Disable Parity Enable Parity methods EVEN Mark Undefined Figure 6 Function Bits Jinan USR IOT Technology Limited 9 / 35 www.usriot.com...
AT+ Z 7.3.2. Heartbeat package The AT command is as follow Command Command function Default parameters AT+ HEARTEN Set/Query enable or disable the heartbeat package AT+ HEARTDT Set/Query heartbeat data 7777772E7573722E63 Jinan USR IOT Technology Limited 10 / 35 www.usriot.com...
4. You can configure the parameters on the panel. 5. Click Set Save All param to save your parameters 6. Restart the USR-G761w make new parameters take effect. 8. AT Command Set Every AT Command will have a response from USR-G761w.
Page 15
<CR><LF><CR><LF> Enable the echo: <AT+>[CMD]<CR><LF>+[CMD]:[PARA] <CR><LF><CR><LF> 8.1.1.4. Setting Format Single parameter: <AT+>[CMD]=[PARA] <CR><LF> Multi Parameters: <AT+>[CMD]=[PARA0,PARA1,PARA2] <CR><LF> 8.1.1.5. Response format of setting Disable the echo: <CR><LF>+OK<CR><LF><CR><LF> Enable the echo: <AT+>[CMD]<CR><LF>+OK <CR><LF><CR><LF> Jinan USR IOT Technology Limited 13 / 35 www.usriot.com...
Query/Set socket A connection status SOCKBLK Query/Set socket B connection status SOCKATO Query/Set socket A timeout when you don’t use persistent connection SOCKBTO Query/Set socket B timeout when you don’t use persistent connection Jinan USR IOT Technology Limited 14 / 35 www.usriot.com...
Page 17
Query/Set whether show the source number Figure 11 AT command set 8.1.2.1. AT Function: Test command Format: Query: AT{CR} {CR}{LF}OK{CR}{LF}{CR}{LF}OK{CR}{LF} 8.1.2.2. AT+H Function: Help command Format: Query: AT+H{CR} Jinan USR IOT Technology Limited 15 / 35 www.usriot.com...
Page 18
USR-G761w Guide Line h.usriot.com {CR}{LF}help message{CR}{LF}{CR}{LF}OK{CR}{LF} Parameters: help message: help instructions 8.1.2.3. AT+Z Function: Restart the USR-G761w Format: AT+Z{CR} {CR}{LF}OK{CR}{LF} 8.1.2.4. AT+E Function: Query/Set the echo status of device AT command Format: Query current parameters:...
Page 19
Message: start information, the information which will be output automatically after power on. ASCII which in 1~20 bytes. Example: AT+STMSG=www.usr.cn 8.1.2.9. AT+CSQ Function: Query Received Signal Strength Indicator of USR-G761w Jinan USR IOT Technology Limited 17 / 35 www.usriot.com...
Page 20
99, unknown or unpredictable BER:(bit error rate percentage): Doesn’t support BER query at present, will respond 99 in execution command and test command. 8.1.2.10. AT+RELD Function: reload to user default setting, USR-G761w will restart Format: Execute specified function:...
Page 21
Format: Query current parameters: AT+SN{CR} or AT+SN?{CR} {CR}{LF}+SN: code{CR}{LF}{CR}{LF}OK{CR}{LF} Parameters: Code: SN code 8.1.2.15. AT+ICCID Function: Query ICCID code of USR-G761w Format: Query current parameters: AT+ICCID{CR} or AT+ICCID?{CR} {CR}{LF}+ICCID: code{CR}{LF}{CR}{LF}OK{CR}{LF} Parameters: Code: ICCID code 8.1.2.16.
Page 24
Format: Query current parameters: AT+SOCKAEN{CR} or AT+SOCKAEN?{CR} {CR}{LF}+SOCKAEN: status{CR}{LF}{CR}{LF}OK{CR}{LF} Set: AT+SOCKAEN=status{CR} {CR}{LF}OK{CR}{LF} Parameters: Status: status of socket A, including: ON: enable OFF: disable Jinan USR IOT Technology Limited 22 / 35 www.usriot.com...
Page 25
Function: Query/Set the TCP persistent connection of socket B Format: Query current parameters: AT+SOCKBSL{CR} or AT+SOCKBSL?{CR} {CR}{LF}+SOCKBSL: type{CR}{LF}{CR}{LF}OK{CR}{LF} Set: AT+SOCKBSL=type{CR} {CR}{LF}OK{CR}{LF} Parameters: Type: link type, including: Jinan USR IOT Technology Limited 23 / 35 www.usriot.com...
Page 26
Function: Query/Set timeout of socket A when you don’t use persistent connection Format: Query current parameters: AT+SOCKATO{CR} or AT+SOCKATO?{CR} {CR}{LF}+SOCKATO: time{CR}{LF}{CR}{LF}OK{CR}{LF} Parameters: Time: timeout time of socket A short link, range from 1~100S Example: AT+SOCKATO=10 Jinan USR IOT Technology Limited 24 / 35 www.usriot.com...
Page 27
Function: Query/Set whether enable identity package function Format: Query current parameters: AT+REGEN{CR} or AT+REGEN?{CR} {CR}{LF}+REGEN: status{CR}{LF}{CR}{LF}OK{CR}{LF} Set: AT+REGEN=status{CR} {CR}{LF}OK{CR}{LF} Parameters: Status: status of identity package: ON: open OFF: close Jinan USR IOT Technology Limited 25 / 35 www.usriot.com...
Page 29
Status: status of heartbeat package, including: ON: open OFF: close 8.1.2.39. AT+HEARTDT Function: Query/Set heartbeat package data Format: Query current parameters: AT+HEARTDT{CR} or AT+HEARTDT?{CR} Jinan USR IOT Technology Limited 27 / 35 www.usriot.com...
Page 30
AT+HEARTTM=time{CR} {CR}{LF}OK{CR}{LF} Parameters: Time: time interval of sending, range from 1~6000 seconds Example: AT+ HEARTTM = 30 8.1.2.42. AT+HTPTP Function: Query/Set method of HTTP request Format: Jinan USR IOT Technology Limited 28 / 35 www.usriot.com...
Page 31
Set: AT+HTPSV=address, port{CR} {CR}{LF}OK{CR}{LF} Parameters: Address: server address, can be domain name or IP address Port: server port, range from 1~65535 Example: AT+ HTPSV = test.usr.cn,80 Jinan USR IOT Technology Limited 29 / 35 www.usriot.com...
Page 32
Query current parameters: AT+HTPFLT{CR} or AT+HTPFLT?{CR} {CR}{LF}+HTPFLT: status{CR}{LF}{CR}{LF}OK{CR}{LF} Set: AT+HTPFLT=status{CR} {CR}{LF}OK{CR}{LF} Parameters: Status: whether filter the header of HTTP information from your HTTP server. ON: open OFF: close Jinan USR IOT Technology Limited 30 / 35 www.usriot.com...
Page 33
Number: destination phone number of SMS type: encode type, including: 1: 7Bits code(ASCII code) 3: UCS8, both Chinese and English methods Data: content of SMS Jinan USR IOT Technology Limited 31 / 35 www.usriot.com...
Tel: 86-531-88826739/86-531-55507297 Disclaimer This document provide the information of USR-G761w products, it hasn’t been granted any intellectual property license by forbidding speak or other ways either explicitly or implicitly. Except the duty declared in sales terms and conditions, we don’t take any other responsibilities. We don’t warrant the products sales and use explicitly or implicitly, including particular purpose merchantability and marketability, the tort liability of any other patent right, copyright, intellectual property right.
Need help?
Do you have a question about the USR-G761w and is the answer not in the manual?
Questions and answers