4.1. Net basic function .............................. 19 4.1.1. IP address/subnet masks/gateway ......................19 4.1.2. DNS Address ............................22 4.1.3. Hardware Restore the Factory Function ....................22 4.1.4. Web Server ............................. 23 4.1.5. Net Firmware Upgrade ........................... 24 Jinan USR IOT Technology Limited 3 / 120 inquiry@usriot.com...
M4 setting software: https://www.usriot.com/support/downloads/usr-m4-setup-software-v234102.html (also, it can be used in the industrial serial to Ethernet Converter:USR-N668,USR-N510, USR-N520, USR-N540, USR-TCP232-410S, USR-TCP232-419 and industrial ethernet modules: USR-TCP232-E2, USR-TCP232-ED2.) Testing software: https://www.usriot.com/support/downloads/usr-tcp-test-testing-software.html Jinan USR IOT Technology Limited 6 / 120 inquiry@usriot.com...
Diagram 1-1 Download Page 1.1. Hardware Testing Environment 1.1.1. Hardware Preparing USR-K7*1 USR-Kx-EVK*1 Cable*1 PC *1 Power adapter (DC5V 1A)*1 Serial port cable *1 Jinan USR IOT Technology Limited 7 / 120 inquiry@usriot.com...
Page 8
USR-K7 User Manual www.usriot.com Diagram 1.1.1-1 hardware prepare tools 1.Testing purpose: Have a complete understand for K7 Testing the function. 2.Data direction Diagram 1.1.1-2 Data Direction Jinan USR IOT Technology Limited 8 / 120 inquiry@usriot.com...
1.1.2. Hardware Connection To test the communication converse from serial port to net, connect the USR-K7 with evaluation board, and connected with the PC using serial cable, then connect the net port of K7 and PC. Power on the it. The diagram is as fellow: Diagram 1.1.2-1 Hardware Connection...
Page 10
192.168.0.7 Subnet masks of K7 255.255.255.0 Default gateway of K7 192.168.0.1 Default mode of the port1 k7 TCP Server Default local port of the port1 K7 Serial port baud rate 115200 Jinan USR IOT Technology Limited 10 / 120 inquiry@usriot.com...
From now, we can have the data transmit testing from the serial port to network. Direction from serial port to network: PC serial port → K7 serial port → K7 network → PC network data Direction from network to serial port: Jinan USR IOT Technology Limited 11 / 120 inquiry@usriot.com...
In terms of the volume, the width of the device is equal to the common RJ45 port, and the length is less than twice length of the common network port, with the industry- leading ultra-small volume, and the current is only 130mA when Jinan USR IOT Technology Limited 12 / 120...
The unique MAC in the world, and the user can self-defined Supports net upgrade firmware,DDNS, DHCP Supports keepalive, check dead connection and abnormal and reconnection Supports password and username, more safety Jinan USR IOT Technology Limited 13 / 120 inquiry@usriot.com...
Software setting, webpage setting, command Single transparent transmission TCP Server/TCP client/UDP Server/UDP Client Modbus Supports modbus gateway Webpage to serial port Websocket Similar RFC2217 Support Httpd client support Self-defined webpage support Jinan USR IOT Technology Limited 14 / 120 inquiry@usriot.com...
Page 16
5s, after 5s put up and then reload to factory setting. Have not opened, please hang Serial port receive(3.3V,TTL) Serial port send(3.3V, TTL ) Jinan USR IOT Technology Limited 16 / 120 inquiry@usriot.com...
USR-K7 User Manual www.usriot.com Diagram 3.2-1 Dimension 4. Product Function This character instruct all the function of the K7, below is the details. Jinan USR IOT Technology Limited 18 / 120 inquiry@usriot.com...
Static IP Handle to setting. Note fill the IP, subnet masks and gateway. Static IP adopted to the environment that required to statistics the IP and the device and makes them correspond Jinan USR IOT Technology Limited 19 / 120 inquiry@usriot.com...
Page 20
No device such as router and no setting, keep the default. 4.Related AT command. Name Instr AT+WANN Setting and query the access way,IP, subnet masks and gateway parameters for K7 Form 4.1.1-1 Related AT Command 5.Setup software Jinan USR IOT Technology Limited 20 / 120 inquiry@usriot.com...
Module supports hardware restore factory function. Powered off and put down the reload. Then power on and keep the reload down for 5s. After put up, restore to factory setting successfully. Jinan USR IOT Technology Limited 22 / 120 inquiry@usriot.com...
4) Conn status(eth)A: connection status of the A to determine which status that K7 stay. Connection status: IDLE, LISTEN, CONNECTING, CONNECTED, ERROR IDLE: initial status, no connection and no listening. e.g. waiting connection of the short connection or original Jinan USR IOT Technology Limited 23 / 120 inquiry@usriot.com...
Net upgrade firmware is stable and easy. New function can be enjoyed in the last firmware to meet the high requirement. Ask for new firmware from supply or from the USR support: http://h.usriot.com, details please refer to 5.1.1 firmware upgrade. 4.2. Socket Jinan USR IOT Technology Limited 24 / 120 inquiry@usriot.com...
Page 25
Diagram 4.2-1 Work Mode Name Instr AT+SOCKA1 Setting the protocol/ remote IP/remote port of K7 SOCKA AT+SOCKB1 Setting the protocol/ remote IP/ remote port of K7 SOCKB Form 4.2-1 Work Mode AT Command Jinan USR IOT Technology Limited 25 / 120 inquiry@usriot.com...
① K7 work in TCP client mode, remote IP:172.16.11.8, remote port:8234, click to save then search the K7 again and check the parameters. Also you can set in the webpage, remote IP and port are as above, then save and restart. Jinan USR IOT Technology Limited 26 / 120 inquiry@usriot.com...
Page 28
K7 is 0, here will distribute a port randomly for K7, e.g.172.16.11.68:49155). ③ setting the correct serial port parameters, click the serial port and the sent, receive the bi-direction data transmission. Jinan USR IOT Technology Limited 28 / 120 inquiry@usriot.com...
K7 work in CP server mode, local port 23. Open the testing software and have the mode to be TCP client, writing the remote IP and remote local port, the click connection and testing data transporting. Jinan USR IOT Technology Limited 30 / 120...
3010 and above firmware supports broadcast in LAN, like xxx.xxx.xxx.255. 5. Communication case: ① Build a UDP, the IP of the PC: 172.16.11.8, port:20108 ② K7 work in UDP client mode, remote port is 20108 Jinan USR IOT Technology Limited 33 / 120 inquiry@usriot.com...
Page 35
③ Click the serial port send. Received data, the testing software remote IP and port change into IP and port for K7, then click net send and send data to serial port. Jinan USR IOT Technology Limited 35 / 120...
② Click two testing software, work mode:UDP; remote IP and port is the IP and port of K7. then click send, the serial port will receive the data , click serial port send, the testing software will display the data that received by the recent one communicating with K7. Jinan USR IOT Technology Limited 37 / 120 inquiry@usriot.com...
K7, then save them. Every time send data, K7 will add URL and header. In terms of the returned data, user can choose whether to drop the header. 4. Application case: Jinan USR IOT Technology Limited 40 / 120 inquiry@usriot.com...
Page 41
5. Open the serial port to send data and the serial data will submit to your webpage, meanwhile the serial device also received the information that server return. 6. Detailed information can refer to the below diagram. Jinan USR IOT Technology Limited 41 / 120 inquiry@usriot.com...
Webpage to serial port function can realizes the interaction between the serial port and webpage forK7. user’s device data display to webpage, and realize the interaction between the webpage and device. Jinan USR IOT Technology Limited 42 / 120 inquiry@usriot.com...
Page 43
3. Click to send ASCII code, serial receive the data. Click send in testing software, the webpage receive the data. Diagram 4.2.6-2 Web to Serial Webpage Webpage to serial port, user should possess of some web program, design the webpage, asking their device data Jinan USR IOT Technology Limited 43 / 120 inquiry@usriot.com...
Page 44
1. Build a connection and connect to K7 function connectx(){ try{ socket=new WebSocket('ws://'+window.location.host+':6432'); socket.binaryType = "arraybuffer"; }catch(e){ alert('error'); return; socket.onopen = sOpen; socket.onerror=sError; socket.onmessage=sMessage; socket.onclose=sClose 2. Receive the data function sMessage(msg) 3. Send data function send() Browser Version Jinan USR IOT Technology Limited 44 / 120 inquiry@usriot.com...
IP set to the IP of the K7, remote port is the port of the K7. note fill the device name. ② Click sure, observe if the connection is established, if the connection has established, and you can test the data transport transmission. 3.More information reference the below: Jinan USR IOT Technology Limited 45 / 120 inquiry@usriot.com...
Diagram 4.3.1-1 Serial Port Basic Parameters Serial basic parameters includes: baud rate, parity, data and stop 1. Baud rate: serial communication rate, can be set from:600~1Mbps, baud rate supports random baud rate. Jinan USR IOT Technology Limited 46 / 120 inquiry@usriot.com...
485, 3010 and later default enable 485 control mode, under the condition that no hardware flow control, enable 485. 1. NONE: default serial port mode, under this mode, 3010 and later version enable 485 Jinan USR IOT Technology Limited 47 / 120 inquiry@usriot.com...
2. If the packing time is 0 and the packing length is not 0, only the packing length work; and if the packing length is 0 and he packing time is not 0, only the packing time work. 3. Set the packing time is 0 ms and the packing length is 0 Jinan USR IOT Technology Limited 48 / 120 inquiry@usriot.com...
Enable this function, using USR-VCOM can open this function,which can realize the serial baud of the PC software and K7 automatically match. No need to pay attention to serial port baud rate setting. Jinan USR IOT Technology Limited 49 / 120...
Page 50
USR-K7 User Manual www.usriot.com Diagram 4.3.4-1 Similar RFC2217 Function Jinan USR IOT Technology Limited 50 / 120 inquiry@usriot.com...
Page 51
600( 00 02 58 ) next chart package head . 115200,N,8,1 55 AA 55 01 C2 00 9600, N,8,1 55 AA 55 00 25 80 Form4.3.4-1 RFC 2217 Function Protocol Jinan USR IOT Technology Limited 51 / 120 inquiry@usriot.com...
1) When using RFC2217, click setting software RFC2217 to enable this function. 2) When the serial port parameters change, send the RFC2217 package, after K7 received the RFC2217 command, modify the serial parameters and can not transparent transmission. 4.4. Special Function Jinan USR IOT Technology Limited 52 / 120 inquiry@usriot.com...
Send heartbeat package to serial port and instead of the query command from net to reduce the communication flow. 3010 and above version supports heartbeat function which can send to serial and net. Diagram 4.4.1-1 Heartbeat Webpage Jinan USR IOT Technology Limited 53 / 120 inquiry@usriot.com...
Modbus gateway includes modbus RTU transmission, modbus ASCII transmission, modbus RTU to TCP, modbus polling and serial query. Diagram4.4.2-1 Modbus TCP Modbus RTU and modbus TCP: can realize the modbus serial port protocol and modbus net protocol convert. Jinan USR IOT Technology Limited 54 / 120 inquiry@usriot.com...
40 byte.) 3010 and above version supports the registration package. Send registration package when building connection usually used in the situation that connecting the server needed to register. Jinan USR IOT Technology Limited 55 / 120 inquiry@usriot.com...
Page 56
Diagram 4.4.3-1 Building send Registration Package Carrying the registration package:insert the package in front of the registration and used in the protocol transmission. Diagram 4.4.3-2 Carrying Registration Package Diagram 4.4.3-3 Registration Webpage Jinan USR IOT Technology Limited 56 / 120 inquiry@usriot.com...
IOS,PC).USR-cloud used to transparent transport the data, the device connected can access remote data without modify.USR-cloud can used in remote monitor, the internet of things, the internet of cars and intelligent house, so the K7 installed USR-cloud. More information can be scan http://console.usriot.com Jinan USR IOT Technology Limited 57 / 120 inquiry@usriot.com...
Page 58
USR-K7 User Manual www.usriot.com Diagram 4.4.3-2 USR-cloud Software Setting Note: under the TCP client mode . Also can be set in the webpage as fellows: Jinan USR IOT Technology Limited 58 / 120 inquiry@usriot.com...
Page 59
Local port: The port of device, Remote port: Cloud software’s port Device ID: It is assigned to device by cloud software Communications Code: Password generated after adding the device to cloud software The following is test account of USR-cloud: Jinan USR IOT Technology Limited 59 / 120 inquiry@usriot.com...
K7 can connect with the serial printing, operating the printing via net, and change the serial printer into net printer, 3010 and above version supports this function. Testing way: 1. Configuring module parameters:work mode:TCP server, local port:9100 Jinan USR IOT Technology Limited 60 / 120 inquiry@usriot.com...
K7 supports customize webpage. The user can upgrade their webpage into K7 via customize webpage. To be more convenient for user, we have prepared upgrade webpage package Including webpage code(K7 default webpage code and medium webpage code), webpage tools can be download. Jinan USR IOT Technology Limited 61 / 120 inquiry@usriot.com...
The unique MAC in the world for K7, can be check in the webpage. If the user have special demand, can set instant MAC via webpage. Please do not all F. restore to the factory setting and the MAC will be back to the factory MAC. The below is MAC setting webpage. Jinan USR IOT Technology Limited 62 / 120 inquiry@usriot.com...
The time can be set via webpage and AT command, range from 60~65536s, default value is 3600s. When the time less than 60s, default is 0 which means that disable this function. Jinan USR IOT Technology Limited 63 / 120...
After connecting the TCP connection, clear the buffer data or not can be choose in the webpage, default do not clear. If user enable the short connection, this function will do not work. Jinan USR IOT Technology Limited 64 / 120...
Default disable, the interval time can be set, range from 2~255s, default 3s. setting diagram are as fellow: Diagram 4.4.10-1 Short Connection Jinan USR IOT Technology Limited 65 / 120 inquiry@usriot.com...
3.Close the irrelevant network card. 5.1. Net Protocol Setting Parameters 5.1.1. Setup Software Setting Parameters Click setup software and search K7, searched all K7. Display the device IP, device name, MAC and version for K7. Jinan USR IOT Technology Limited 66 / 120 inquiry@usriot.com...
Page 67
K7, if the password is error, software will bond out the window that you should enter the username and password, the click enter. Both default username and password are admin. All the default parameters setting and there will not bond out username and password. Jinan USR IOT Technology Limited 67 / 120 inquiry@usriot.com...
Page 68
Click Tidy Show and you will see all the basic parameters we can set, setting the parameters you need, and then base save, and you can save the parameters you set, keep others in default. Jinan USR IOT Technology Limited 68 / 120...
Page 69
Username: the username forK7 to log in, the certification code to modify the parameters which can prevent other user in the same LAN from changing K7 parameters. Password: as the username, the password for K7. Device name:default USR-K7 and can be modify Jinan USR IOT Technology Limited 69 / 120 inquiry@usriot.com...
Page 70
Gateway: usually is the IP for router, setting correctly and user can communicating across the LAN and DDNS. 3. Port setting Modify the parameters you need to setting then save them. Jinan USR IOT Technology Limited 70 / 120 inquiry@usriot.com...
Page 71
When you upgrade it, connect directly the device and PC and notice that PC upgrading module is forbidden. Select the device, then choose upgrade the firmware. Jinan USR IOT Technology Limited 71 / 120 inquiry@usriot.com...
5.1.2. Setting Protocol Setting Parameters Via the protocol, you can complete: search, set, save parameters, restore. For user to make their own setup parameters. 1. Net setting parameters steps ① Built socket: Jinan USR IOT Technology Limited 72 / 120 inquiry@usriot.com...
Page 73
2. Net setting command content ① Command query length Parity Package Username function order parameters head password (12 bits) (order~ parameters bit) (6 bits) (sum) search [usrname] restore [MAC] [password] [usrname] Read setting [MAC] [password] Jinan USR IOT Technology Limited 73 / 120 inquiry@usriot.com...
Page 74
FF 13 02 D8 B0 4C C0 0D 65 61 64 6D 69 6E 00 61 64 6D 69 6E 00 2D parity sum: 2D = 13 + 02 + ... + 6E + 00 Note: username and password are 5 bytes+00, fill the blanks with 0 Jinan USR IOT Technology Limited 74 / 120 inquiry@usriot.com...
Page 75
Ul Subnet Mask 00 FF FF FF Subnet Mask 55 53 52 2D 54 43 50 Uc Mod Name 32 33 32 2D 45 00 00 Name for K7 00 00 Jinan USR IOT Technology Limited 75 / 120 inquiry@usriot.com...
Page 76
Ul Baud Rate 00 C2 01 00 Serial port baud rate Uc Data Size Serial port data bits(0X05/0x06/0x07/0x08) Serial port parity Uc Parity 1: no, 2: odd, 3: even, 4: mark, 5: space Jinan USR IOT Technology Limited 76 / 120 inquiry@usriot.com...
Page 77
C8 00 00 00 Serial packing length ucPackTime Serial packing time ucTimeCount Fill what you read TCP server type Fill what you read ucReserved random Reserve to extend Form 5.1.2-3 Serial Port Parameters Jinan USR IOT Technology Limited 77 / 120 inquiry@usriot.com...
Page 78
30 30 00 00 (this value can be ignore) checksum Check sum initial value is 0x00, reduce every bits of TAG_STATUS in order,till the last bit, and the result is Jinan USR IOT Technology Limited 78 / 120 inquiry@usriot.com...
Open the browse and enter the IP of K7,( default is 192.168.0.7) and user can open the K7 login windows. Enter username:admin, password:admin, then click enter and enter the webpage. Diagram 5.2-1 Username and Password Click the English on the right up, change the language. Jinan USR IOT Technology Limited 80 / 120 inquiry@usriot.com...
Page 81
Diagram 5.2-2 Language Note: default is English. 1. Current status webpage Module name: default is USR-k7 Firmware revision: the current version is 3016 Current IP address: default is static IP(192.168.0.7),here using DHCP to connect the PC.
Page 82
USR-K7 User Manual www.usriot.com Diagram 5.2-3 local IP IP type: DHCP or static IP Static IP Sub mask:subnet mask Gateway:gateway address 3. TTL1 Jinan USR IOT Technology Limited 82 / 120 inquiry@usriot.com...
Page 83
Diagram 5.2-4 Port 1 Parameters Configuring Baud rate Data Parity Stop bits Flow mode: none/ hardware Port mapping: UART packet time and length can be set here Jinan USR IOT Technology Limited 83 / 120 inquiry@usriot.com...
Page 84
Work mode: TCP server,TCP client, UDP server,UDP client, HTTPD client Remote server address Local/ remote port number Print:net printing function,default disable 4. Web to serial Diagram 5.2-5 Webpage to Serial 5. Misc Config Jinan USR IOT Technology Limited 84 / 120 inquiry@usriot.com...
Page 85
USR-K7 User Manual www.usriot.com Diagram 5.2-6 Misc Config Module name:default:USR-K7 and can be change Websocket port Net port MAC address( can be modify) Username Password Buffer data before connected: whether to clear the buffer data.
Later we will interpret the type in detail. Powered successfully, we can setting the module with UART. The default UART port parameters of the module are: baud rate1152000, no parity, data 8 and stop 1. Instr Jinan USR IOT Technology Limited 86 / 120 inquiry@usriot.com...
Page 87
Fill “+++”and “a” need to achieve in the time to reduce the chance of entering command mode while working normally accidentally. Detail requirement are as fellows. Diagram 5.3.1-2 Time Tree Time requirement: T1>the interval of serial port package Jinan USR IOT Technology Limited 87 / 120 inquiry@usriot.com...
2.After the module receive the command, feedback “+ok”, then back to the previous working mode. 5.3.3. Error AT Command Error code Instr Invalid format Invalid order Invalid operator Invalid parameter Not allow Form 5.3.3-1 Error Code List Jinan USR IOT Technology Limited 88 / 120 inquiry@usriot.com...
Setting/ query serial port N packing parameters SOCKMN Setting/ query N serial port socket M parameters SOCKLKMN Query the connection status WEBSOCKPORT1 Setting/ query websocket port number REGENN Setting/ query registration package N type Jinan USR IOT Technology Limited 89 / 120 inquiry@usriot.com...
Page 90
Setting/ query short connection function SHORTON Setting/ query short connection time RSTIM Setting/ query timeout reset time UARTCLBUF Setting/ query clear serial port cache before module build connection function enable/disable SOCKTONN Setting/query timeout reconnection time Jinan USR IOT Technology Limited 90 / 120 inquiry@usriot.com...
Setting/query port N customize registration package, supports ASCII and HEX Form 5.3.4-1 AT Command 5.3.5. AT Command Details AT+E Function: setting/query module AT command echo setting Format: query AT+E <CR> <CR><LF>+OK=<on/off><CR><LF> setting AT+E=<on/off><CR> <CR><LF>+OK<CR><LF> Parameters: Jinan USR IOT Technology Limited 91 / 120 inquiry@usriot.com...
Page 92
Function: setting/query module firmware version Format: query AT+VER<CR> <CR><LF>+OK=<ver><CR><LF> Parameters: ver:setting/query module firmware version AT+ENTM Function: exit AT command mode and enter the transparent transmission Format: Jinan USR IOT Technology Limited 92 / 120 inquiry@usriot.com...
Page 93
mac: MAC of the module(for example 01020304050A); AT+RELD Function: restore module setting to default factory setting Format: setting AT+RELD<CR> <CR><LF>+OK<CR><LF> Parameters: none AT+WANN Function: setting/query IP(DHCP/STATIC)of the WAN that module accessed; Jinan USR IOT Technology Limited 93 / 120 inquiry@usriot.com...
Page 94
address: IP address mask:subnet masks gateway:gateway address E.g. : AT+WANN=static,192.168.0.7,255.255.255.0,192.168.0.1 AT+DNS Function: setting/query the server address of the DNS Format: query AT+DNS<CR> <CR><LF>+OK=< address ><CR><LF> setting Jinan USR IOT Technology Limited 94 / 120 inquiry@usriot.com...
Page 95
username:username, at most for 5 bytes, please be sure no black password:pass word, at most for 5 bytes E.g. : AT+WEBU=admin,admin 10. AT+WEBPORT Function: setting/query the port of the module Web Server ; Format: query Jinan USR IOT Technology Limited 95 / 120 inquiry@usriot.com...
Page 96
setting AT+SEARCH =<port,keywords><CR><LF> <CR><LF>+OK<CR><LF> Parameters: port:search port of the module; default: 48899 keywords:searching keyword of the module.default: www.usr.cn (at most for 20 bytes length) E.g. : AT+SEARCH=48899, www.usr.cn Jinan USR IOT Technology Limited 96 / 120 inquiry@usriot.com...
Page 97
(N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query UARTN interface parameters Format: query : AT+UARTN<CR> <CR><LF>+OK=<baudrate,data_bits,stop_bit,parity,flowctrl ><CR><LF> setting : Jinan USR IOT Technology Limited 97 / 120 inquiry@usriot.com...
Page 98
FCR:software flow control E.g. : AT+UART=115200,8,1,NONE,NFC 14. AT+UARTTLN (N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query the customize Packaging mechanism Format: Jinan USR IOT Technology Limited 98 / 120 inquiry@usriot.com...
Page 99
(M: the port number of the socket, A~H. N:serial port number, 1~8. single socket please ignore the MN) Function: setting/query web protocol parameters Format: query AT+SOCKMN<CR> <CR><LF>+OK=<protocol,IP,port ><CR><LF> setting AT+SOCKMN=< protocol,IP,port ><CR> <CR><LF>+OK<CR><LF> Parameters: Protocol:protocol type Jinan USR IOT Technology Limited 99 / 120 inquiry@usriot.com...
Page 100
Function: query if there is TCP connection query AT+ SOCKLKMN<CR> <CR><LF>+OK=<sta><CR><LF> Parameters: sta.: please refer to 2.2.3 Web Server 17. AT+WEBSOCKPORT1 Function: setting/query port number Websocket Format: query AT+ WEBSOCKPORT1<CR> <CR><LF>+OK=<port><CR><LF> Jinan USR IOT Technology Limited 100 / 120 inquiry@usriot.com...
Page 101
<CR><LF>+OK<CR><LF> Parameters: status: USR:user defined registration package, at most for 20 bytes MAC:MAC do as a registration package CLOUD:disable registration function OFF: disable registration function Jinan USR IOT Technology Limited 101 / 120 inquiry@usriot.com...
Page 102
E.g. : AT+REGTCP1=all 20. AT+REGUSRN (N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query content of the defined registration package Format: query Jinan USR IOT Technology Limited 102 / 120 inquiry@usriot.com...
Page 103
Function: setting/query the device ID and password of the USR-cloud Format: query AT+REGCLOUDN<CR> <CR><LF>+OK=<ID,CODE><CR><LF> setting AT+REGCLOUDN=<ID,CODE><CR> <CR><LF>+OK<CR><LF> Parameters: ID:device ID CODE: communication password E.g. : AT+REGCLOUD1=12345678901234567890, 12345786 Jinan USR IOT Technology Limited 103 / 120 inquiry@usriot.com...
Page 104
E.g. : AT+HTPTP1=GET 23. AT+HTPURLN (N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query HTTPD Client 的 URL. Format: query AT+HTPURLN<CR> <CR><LF>+OK=<URL><CR><LF> Jinan USR IOT Technology Limited 104 / 120 inquiry@usriot.com...
Page 105
string:the defined header information, at most for 180 bytes Note: every enter using the <<CRLR>> to instead There is a <<CRLF>> fellow the HTTPD, how many HTTPD and how many <<CRLF>>. E.g. : AT+HTPHEAD=Accept:text<<CRLF>> Jinan USR IOT Technology Limited 105 / 120 inquiry@usriot.com...
Page 106
(N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query enable heartbeat package or not Format: query : AT+ HEARTENN <CR> <CR><LF>+OK=< status><CR><LF> setting : Jinan USR IOT Technology Limited 106 / 120 inquiry@usriot.com...
Page 107
<CR><LF>+OK=< type><CR><LF> setting : AT+ HEARTTP =< type ><CR> <CR><LF>+OK<CR><LF> Parameters: status: NET: send heartbeat package to net COM:send heartbeat package to serial E.g. : AT+HEARTTP=NET Jinan USR IOT Technology Limited 107 / 120 inquiry@usriot.com...
Page 108
(N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting query the content of the defined heartbeat package Format: query : AT+ HEARTDT <CR> <CR><LF>+OK=< data><CR><LF> setting : AT+ HEARTDT =< data><CR> Jinan USR IOT Technology Limited 108 / 120 inquiry@usriot.com...
Page 109
Time: product time, e.g. 2016-10-18 11:20:02 31. AT+MID Function: setting/query module name Format: query : AT+ MID <CR> <CR><LF>+OK=< name ><CR><LF> setting : AT+ MID =< name ><CR> Jinan USR IOT Technology Limited 109 / 120 inquiry@usriot.com...
Page 110
33. AT+RFCENN (N:the number of the port, 1~8. for single port socket, ignore the N) Function: query /setting enable RFC2217 Format: query : AT+RFCENN<CR> <CR><LF>+OK=<status><CR><LF> setting : Jinan USR IOT Technology Limited 110 / 120 inquiry@usriot.com...
Page 111
AT+ SOCKSLN <CR> <CR><LF>+OK=<sta><CR><LF> setting : AT+ SOCKSLN =<sta><CR> <CR><LF>+OK<CR><LF> Parameters: sta:status ON:enable the short connection function OFF: disable the short connection function E.g. : AT+ SOCKSL =ON Jinan USR IOT Technology Limited 111 / 120 inquiry@usriot.com...
Page 113
OFF:disable this function E.g.: AT+ UARTCLBUF =ON 38. AT+SOCKTONN (N:the number of the port, 1~8. for single port socket, ignore the N) Function: setting/query reconnect time Format: query : Jinan USR IOT Technology Limited 113 / 120 inquiry@usriot.com...
Page 115
E.g. : AT+ MODPOLL1 =ON 41. AT+MODTON (N:the number of the port, 1~8. for single port socket, ignore the N) Function: query /setting Modbus polling time Format: query : Jinan USR IOT Technology Limited 115 / 120 inquiry@usriot.com...
Page 116
Function: query /setting net printing function Format: query : AT+ NETPRN <CR> <CR><LF>+OK=<sta><CR><LF> setting : AT+ NETPRN =<sta><CR> <CR><LF>+OK<CR><LF> Parameters: sta ON:enable net printing OFF:disable net printing Jinan USR IOT Technology Limited 116 / 120 inquiry@usriot.com...
Page 117
OFF:disable do not detect the remote IP and port under UDP mode E.g. : AT+ UDPON1=ON 44. AT+CFGTF Function: setting to save the current parameter into default parameter Format: setting : Jinan USR IOT Technology Limited 117 / 120 inquiry@usriot.com...
Page 118
46. AT+HEARTUSERN Function: query /setting the defined heartbeat package of the port N, supports ASCII and HEX Format: query : AT+ HEARTUSERN <CR> <CR><LF>+OK=< data,type ><CR><LF> setting : Jinan USR IOT Technology Limited 118 / 120 inquiry@usriot.com...
data:defined registration package content,ASCII can be 40 bytes and HEX can be 80 bytes at most type:registration package content enter format: ASCII or HEX E.g. :AT+ REGUSERN = 01020305,HEX 6. Contact us Company: Jinan USR IOT Technology Co., Ltd Jinan USR IOT Technology Limited 119 / 120 inquiry@usriot.com...
7. Disclaimer The document provides information about USR-K7 module, it doesn’ t grant any license to the intellectual property rights. Except the responsibility declared in the product sale clause, USR does not assure any other responsibilities. In addition, USR does not make any warranties for the sale and use of this product, including the suitability of products for a particular purpose, merchant ability or fitness for any patent, copyright or other intellectual property infringement.
Need help?
Do you have a question about the USR-K7 and is the answer not in the manual?
Questions and answers