Shandong USR IOT Technology USR-C215A Serial to WIFI Module User Manual

Shandong USR IOT Technology Limited Serial to WIFI Module

User Manual

Download: Shandong USR IOT Technology USR-C215A Serial to WIFI Module User Manual
Mirror Download [FCC.gov]Shandong USR IOT Technology USR-C215A Serial to WIFI Module User Manual
Document ID3102262
Application ID9MRKkgUFoCSOTDx5B7lEvw==
Document DescriptionUser Manual
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize121.57kB (1519669 bits)
Date Submitted2016-08-17 00:00:00
Date Available2016-08-18 00:00:00
Creation Date2016-06-07 16:08:51
Producing SoftwarePDFdo.com 5.5.6.0
Document Lastmod2016-08-12 10:29:56
Document TitleUser Manual

h.usriot.com
USR-C215a User Manual
File Version: V1.0
Jinan USR IOT Technology Limited
1 / 40
www.usriot.com
h.usriot.com
Contents
1. Quick Start......................................................................................................................................................................... 4
1.1. Hardware Testing Environment.......................................................................................................................... 4
1.2. Data Transmission Testing.................................................................................................................................. 5
2. Overview............................................................................................................................................................................ 6
2.1. Brief Introduction................................................................................................................................................... 6
2.2. Features..................................................................................................................................................................6
2.3. Parameters.............................................................................................................................................................6
3. Hardware............................................................................................................................................................................7
3.1. Hardware Information...........................................................................................................................................7
3.1.1. Dimensions................................................................................................................................................. 7
3.1.2. Pin Defination............................................................................................................................................. 7
3.1.3. Antenna....................................................................................................................................................... 8
3.1.4. Evaluation kit.............................................................................................................................................. 8
3.2. Hardware Reference Design...............................................................................................................................9
3.2.1. Typical Application Connection............................................................................................................... 9
3.2.2. Power Interface..........................................................................................................................................9
3.2.3. UART Interface........................................................................................................................................ 10
3.2.4. Reset & Reload........................................................................................................................................10
4. Module Function............................................................................................................................................................. 11
4.1. Wireless Network Mode..................................................................................................................................... 11
4.1.1. Work as STA.............................................................................................................................................11
4.1.2. Work as AP...............................................................................................................................................12
4.1.3. Work as AP+STA..................................................................................................................................... 12
4.1.4. Encryption Type....................................................................................................................................... 12
4.2. Work Mode...........................................................................................................................................................13
4.2.1. Transparent Transmission Mode.......................................................................................................... 13
4.2.1.1. Short Description......................................................................................................................... 13
4.2.1.2. UART Frame.................................................................................................................................13
4.2.2. Command Mode...................................................................................................................................... 14
4.3. Socket Connection............................................................................................................................................. 14
4.4. Search in LAN..................................................................................................................................................... 15
4.5. Registration Packet Mechanism.......................................................................................................................15
4.6. Usrlink (Fast Networking Protocol).................................................................................................................. 15
4.7. Simplelink............................................................................................................................................................. 17
4.8. Class RFC2217...................................................................................................................................................18
5. Setting Method................................................................................................................................................................19
5.1. Webpage.............................................................................................................................................................. 19
5.1.1. WiFi Parameter Setting.......................................................................................................................... 20
5.1.2. Transparent Transmission Parameter Setting....................................................................................21
5.1.3. Extra Function..........................................................................................................................................22
5.1.4. System Setting.........................................................................................................................................23
5.1.5. About USR................................................................................................................................................ 24
Jinan USR IOT Technology Limited
2 / 40
www.usriot.com
h.usriot.com
5.2. AT Command Instructions................................................................................................................................. 24
5.2.1. AT Command Description...................................................................................................................... 25
5.3. AT Instruction Set................................................................................................................................................26
5.3.1. AT Command List.................................................................................................................................... 26
5.3.1.1. AT+E...............................................................................................................................................27
5.3.1.2. AT+WMODE..................................................................................................................................27
5.3.1.3. AT+ENTM...................................................................................................................................... 28
5.3.1.4. AT+MID.......................................................................................................................................... 28
5.3.1.5. AT+RELD.......................................................................................................................................28
5.3.1.6. AT+Z............................................................................................................................................... 28
5.3.1.7. AT+H (not available now)............................................................................................................29
5.3.1.8. AT+CFGTF.................................................................................................................................... 29
5.3.1.9. AT+UART.......................................................................................................................................29
5.3.1.10. AT+UARTTE............................................................................................................................... 30
5.3.1.11. AT+NETP.....................................................................................................................................30
5.3.1.12. AT+TCPLK.................................................................................................................................. 31
5.3.1.13. AT+TCPDIS................................................................................................................................ 31
5.3.1.14. AT+SOCKB................................................................................................................................. 31
5.3.1.15. AT+TCPDISB..............................................................................................................................32
5.3.1.16. AT+TCPLKB................................................................................................................................32
5.3.1.17. AT+WSSSID............................................................................................................................... 32
5.3.1.18. AT+WSKEY.................................................................................................................................33
5.3.1.19. AT+WANN................................................................................................................................... 33
5.3.1.20. AT+WSMAC................................................................................................................................34
5.3.1.21. AT+WSLK....................................................................................................................................34
5.3.1.22. AT+WSLQ................................................................................................................................... 34
5.3.1.23. AT+WSCAN................................................................................................................................ 35
5.3.1.24. AT+WSDNS................................................................................................................................ 35
5.3.1.25. AT+LANN.................................................................................................................................... 35
5.3.1.26. AT+WAP...................................................................................................................................... 36
5.3.1.27. AT+WAKEY.................................................................................................................................36
5.3.1.28. AT+WALK.................................................................................................................................... 36
5.3.1.29. AT+PLANG..................................................................................................................................37
5.3.1.30. AT+DTDDIS................................................................................................................................ 37
5.3.1.31. AT+DTDID...................................................................................................................................37
5.3.1.32. AT+WRMID................................................................................................................................. 38
5.3.1.33. AT+ASWD................................................................................................................................... 38
5.3.1.34. AT+SMTLK..................................................................................................................................38
5.3.1.35. AT+USERVER............................................................................................................................38
5.3.1.36. AT+RPTMAC.............................................................................................................................. 39
5.3.1.37. AT+WRRPTMAC....................................................................................................................... 39
6. Contact Us.......................................................................................................................................................................40
7. Disclaimer........................................................................................................................................................................ 40
8. Update History................................................................................................................................................................ 40
Jinan USR IOT Technology Limited
3 / 40
www.usriot.com
h.usriot.com
1. Quick Start
USR-C215 is a cost effective serial to WiFi module, which allows almost any serial devices to be
connected to a new or existing WiFi network, realize the two-way data transparent transmission between
UART and WiFi network interface.
This chapter aims at getting start USR-C215 quickly. It’s recommended that user read this chapter
systemically and operate it according to instructions to make a scientific knowledge. Following chapter will
introduce specific details, user can read interested chapter according to need.
If you have any question, feed it back to customer center please: http://h.usriot.com
1.1. Hardware Testing Environment
For quick testing, our evaluation kit is recommended. Testing steps as follows:
1. Hardware connection: Connect the module with PC by serial cable, power on, the Ready indicator will
be on.
2. Wi-Fi connection: Open Wi-Fi on your PC, scan and join the module network: USR-C215.
Jinan USR IOT Technology Limited
4 / 40
www.usriot.com
h.usriot.com
1.2. Data Transmission Testing
We supply testing software “USR-TCP232-Test.exe”, pls download from this link:
http://www.usriot.com/usr-tcp-test-v1-3/
Module default parameters:
 SSID: USR-C215
 Encryption type: open, none
 UART settings: 115200, 8, 1, N
 Net settings: TCP, Server, 8899, 10.10.100.254
 IP address of module: 10.10.100.254
Steps for UART to Wi-Fi data transmission:
1. Open “USR-TCP232-Test.exe”, on the left is COM part, on the right is Net part.
2. UART settings: UART settings should be the same with module, that is : 115200, N, 8, 1
3. Click Open to open the serial port.
4. Socket connection: Module default setting is TCP Server, so we should select TCP Client as protocol.
Server IP and Port is module IP and Port: 10.10.100.254; 8899.
5. Click Connect to establish TCP connection
6. Now we can realize data transmission between UART and WiFi.
The flow direction from UART to Net: COM of PC--> COM of module--> WiFi of module--> Net of PC.
The flow direction from Net to UART: Net of PC--> WiFi of module--> COM of module--> COM of PC.
Jinan USR IOT Technology Limited
5 / 40
www.usriot.com
h.usriot.com
2. Overview
2.1. Brief Introduction
The USR-C215 is integrated with MAC, baseband IC, RF transceiver unit and power amplifier. With
built-in low power operation mechanism, can effectively achive low power running. Support WiFi protocol and
TCP/IP protocol, with simple settings, realize connection for serial devices with network.
Dimensions of module: 22*13.5*6mm, single row 1*10 2m encapsulation
Basic functions of module:
 Can work as AP mode, in this mode, other WiFi terminals can join it for communication. Also can work
as STA mode, join wireless router and realize transmission.
 Support UART transparent transmission, switch by AT command
2.2. Features









Support Wi-Fi@2.4 GHz 802.11b/g/n wireless standard
Support WEP, WPA/WPA2 security
Support AP, STA, AT+STA work mode
Integrated serial to WiFi transmission function, multiple UART rate for selection
Support TCP/UDP Client registration mechanism
Simplelink/Usrlink fast network setting
Automatic baudrate adaptation which is similar to RFC2217
3.3V single power
Low power mode, support deep sleep
2.3. Parameters
Wireless
Parameters
Hardware
Parameters
Jinan USR IOT Technology Limited
Parameters
Value
Wirless standard
802.11 b/g/n
Transmit
17.0 dBm @ 1 DSSS
15.0 dBm @ 11 CCK
13.5 dBm @ 54 OFDM
Receive sensitivity
–91.5 dBm @ 1 DSSS
–87.5 dBm @ 11 DSSS
–80.5 dBm @ 54 OFDM
Antenna
on board ceramic antenna
Interface
UART
Working voltage
3.0V~3.6V
Working current
In AP mode: average 70mA@3.3V
In STA mode: average 30ma@3.3V
6 / 40
www.usriot.com
h.usriot.com
Software
Parameters
Working
temprature
-30°C - 70°C
Storage temprature
-55°C - 125°C
Dimensions
22mm x 13.5mm x 6mm
External interface
Pins plug
Network type
AP, STA, AP+STA
Security
WEP/WPA-PSK/WPA2-PSK
Encryption
TKIP,AES ,TKIP/AES
Net protocol
IPv4, TCP/UDP
User config
AT + command, Webpage
3. Hardware
3.1. Hardware Information
3.1.1. Dimensions
Dimension of module is 22.0*13.5mm, error±0.2mm
3.1.2. Pin Defination
Jinan USR IOT Technology Limited
7 / 40
www.usriot.com
h.usriot.com
Pin Defination List:
Pin
Name
Type
Description
GND
GND
VDD
Positive of power, 3.3V
RELOAD
Pull down 1-3s: start simplelink
Pull down more than 3s: reload to factory defaults
RESET
Reset, effective in low level
UART_RX
Receive
UART_TX
Transmit
PWR_SW
Vacant, not available
WPS
Vacant, not available
READY
Working indicator, effective in low level, can connect
external LED
10
nLINK
WiFi link indicator, effective in low level, can connect
external LED

In Type list: power is expressed as P, input is expressed as I, output is expressed as O, not available is
expressed as N
3.1.3. Antenna
Antenna Type: Ceramic Antenna
Antenna GAIN: 2.5dbi
3.1.4. Evaluation kit
We supply evaluation kit for users convenient development. As shown in below image, user can choose
UART interface for communication
Jinan USR IOT Technology Limited
8 / 40
www.usriot.com
h.usriot.com
Evaluation kit interface description
Function
Name
Description
External
interface
DC Jack
5V power input jacker
DB9
9-Pin male connector
LED
Ready
Green light, module working indicator
nLink
Red, nLink/GPIO indicator
nReload
Reload to factory defaults
Button
3.2. Hardware Reference Design
3.2.1. Typical Application Connection
3.2.2. Power Interface
Switching power supply is recommended. VCC working voltage range from 3.0V~3.6V, 3.3V is the best.
Power module by main power pin, the pin be in parallel with storage capacitance and high frequency
Jinan USR IOT Technology Limited
9 / 40
www.usriot.com
h.usriot.com
capacitance. Circuit diagram as shown below:
Power Supply Characteristics
Symbol
Parameter
Min
Type
Max
Unit
V_MAIN
Power supply voltage
3.0
3.3
3.6
 Io current
AP: 70mA@3.3V
STA: 30mA@3.3V
3.2.3. UART Interface
If communicate with MCU(3.3V) directly, should connect TXD of module to RXD of MCU, connect RXD of
module to TXD of MCU. If MCU is 5V level, a switching circuit is needed, see below diagram:
3.2.4. Reset & Reload
USR-C215 support hardware reload function, by connect nReload pin with external button or setting pin.
When pull down to “0” for 1~3s, simplelink function will start. When pull down to “0” for more than 3s, module
will restore to factory defaults. Here should link to a pull-up resistor (4.7K~10K)
nReset: reset signal, module will restart when it is pulled down. There exist a 100K resistance pull up to
3.3V. When module is powered on or break down, MCU will reset the module, pull down pin at least 0.5s, then
pull up or vacant.
Reference diagram as follows:
Jinan USR IOT Technology Limited
10 / 40
www.usriot.com
h.usriot.com
4. Module Function
4.1. Wireless Network Mode
There are 3 types wireless network mode: AP, STA, AP+STA

 AP: Access Point, it is the center of wireless network. For example router, router is an AP, other
stations can connect to each other throught it.
 STA: Station, it is the terminal of wireless netwotk. For example laptop, PAD, cell phone.
4.1.1. Work as STA
It is the most commonly used network type for module to work as STA. Consist of a AP(router) and multi
STAs, see below image. The AP is in central position, communication between STAs forward by AP.
Jinan USR IOT Technology Limited
11 / 40
www.usriot.com
h.usriot.com
4.1.2. Work as AP
Module can work as AP, in AP mode, cell phone/PAD/PC can get access to module for data transmission
without any settings. Besides, user can log in module built-in webpage for configuration.

When module works in AP mode, 3 STAs can join it.
4.1.3. Work as AP+STA
Module can work as AT and STA at the same time, shown as below:

In this mode, 3 STAs can join the module network
4.1.4. Encryption Type
To ensure the safety of data communication, module supports variety of encryption type. Including:
 WEP
 WPA-PSK/TKIP
 WPA-PSK/AES
 WPA2-PSK/TKIP
 WPA2-PSK/AES
Jinan USR IOT Technology Limited
12 / 40
www.usriot.com
h.usriot.com

Work Mode
4.2. Work Mode
USR-C215 support 2 work mode: transparent transmission mode and command mode
 Transparent transmission mode
In this mode, module will transmit data between UART&WiFi, to realize the communication between serial
device and network device.
 Command mode:
In this mode, user can query/set the UART and network parameters by AT commands. Use command
AT+ENTM to quit command and switch to transparent transmission mode.
4.2.1. Transparent Transmission Mode
4.2.1.1. Short Description
The advantage of this mode is to realize plug and play between UART interface and network
communication, that will reduce the complexity for users. With essential parameter settings in advance, after
power on, module will automatically connect to the pre-set wireless network and server.
This mode is fully compatiable with users software, which reduce the workload for development of
intergrade wireless software.
Parameters need to set in advance
 WiFi network
 SSID
 Encryption
 Password
 Default TCP/UDP connection
 Protocol
 Type (Client/Server)
 Destination Port
 Destination IP
 UART Interface
 Baud rate
 Data bit
 Stop bit
 Check bit
 Hardware flow control (rts/cts)
4.2.1.2. UART Frame
When module receive data sent from UART, it wil keep checking the time interval of 2 adjacent bytes. If
time interval is greater than frame time you set (default 20ms, can set by command AT+UARTTE), module will
Jinan USR IOT Technology Limited
13 / 40
www.usriot.com
h.usriot.com
judge this frame is over, or it will keep receiveing data. In command mode, if greater than 1K bytes, module will
discard the received data. In transparent transmission mode, if greater than 1K bytes, module will send in
packet.
Packet process as following diagram: n is packet time interval, unit: ms
4.2.2. Command Mode
In command mode, module no longer work for transparent transmission, UART interface is used to
receive AT command. User can send AT command to module by UART, to query/set parameters of UART and
network.
Detailed AT instruction pls refer to chapter 5.3
4.3. Socket Connection
Module has a serial port UART0, which can communicate with Socket connection.
There are 2 Sockets: Socketa and Socketb
When module works in transparent transmission mode, the data sent to UART, will automatically be sent
to Socket. The data received by Socket, will be sent out by UART interface.
Protocol for Socketa: TCP Server, TCP Client, UDP Server, UDP Client. Setting method refer to command
AT+NETP
Protocol for Socketb: TCP Client, UDP Server, UDP Client. Setting method refer to command AT+SOCKB
When it set to be TCP Server, can support up to 5 TCP Clients for 5 Socket connections. In multi TCP
connection, data from TCP transmission will be forwarded one by one to UART interface. Data from UART will
be copied into muiti and be forwarded to each TCP connection. Data flow diagram as follows:
When it set to be UDP Server, if UART receive data first, module will send data to pre-set IP and Port (set
by AT+NETP or AT+SOCKB). If UDP Server receive data, module will remeber the source address which sent
Jinan USR IOT Technology Limited
14 / 40
www.usriot.com
h.usriot.com
data, afterwards when UART receive data, module will forward data to this address.
When it set to be UDP Client, module send to the pre-set IP and Port only, and only receive data from
pre-set IP and Port. Data from other address will not be sent to UART.
4.4. Search in LAN
Module can be searched in LAN, that is, when module get access to the wireless router, user can obtain
module current IP address by sending UDP broadcast to a certain port, to realize device serach and
communicate. The port and keywords can be set by AT+SEARCH, default 48899,www.usr.cn
Search Tool Process
1. On another device in LAN, send a command by UDP broadcast
UDP broadcast: address xx.xx.xx.255, port 48899
Command: www.usr.cn, max 20 bytes can be set
2. After module receiving the command, if command is correct, module will switch to config mode, send
local IP, MAC, MID and version no. to this address
(IP, MAC, MID, ver example: 10.10.100.254, D8B04CFC0000, USR-C215, 01.01.10)
Module will quit the config mode, if it did not receive setup commands in 30s after get into config mode.
User need to resend search commands to switch config mode.
3. User can query/set module work status by sending network AT command to this port. AT command the
same as UART AT command.

Search tool must be in the same LAN with module. If multi STAs connect to a router, the PC with search
tool also under this router, search tool will obtain all STAs modules.
4.5. Registration Packet Mechanism
When module works in TCP Client or UDP Client mode, user can open registration packet function, in this
way, server can distinguish data source, to realize data mornitoring for different devices. There are 2 type:
MAC and ID. MAC is 6 bytes, ID range from 1~65535. We no longer use ID, but recommend MAC now.
Command AT+REGENA to open and close this function.
Registration packet mechanism way as follows:
 TCP Client: 2 ways
 Send once only. When module connect to TCP Server, module will send registration packet to
TCP Server.
 Send in each data packet. When TCP Client connect to server, registration packet will be insert
into the front of each data packet
 UDP Client
 Registration packet will be insert into the front of each data head and send.
4.6. Usrlink (Fast Networking Protocol)
When module works in AP mode, will open an UDP port, which is used to receive fast networking protocol
command, port number is 48899 (the same as search in LAN port, can be set). Smart phone can connect with
module WiFi network directly, through commands under UDP protocol, query SSID information list and set
Jinan USR IOT Technology Limited
15 / 40
www.usriot.com
h.usriot.com
router SSID&Password. After setup, module will restart and connect to pre-set router. Now module works in
STA mode.
Protocol format instructions

Query command
No.

Name
No. of bytes
Instruction
Packet head
Fixed value 0xFF
Length
All the bytes after length (not included) and in front
of check (not included)
Command word
Command type, 0x01 is query command
Check words
Cumulate SUM of all bytes after packet hear (not
included) and in front of check (not included)
Query response command
No.
Name
No. of bytes
Instruction
Packet head
Fixed value 0xFF
Length
All the bytes after length(not included) and in front
of check(not included)
Command word
Command type, corresponding response
command for query command is 0x81
No. of AP
No. of AP that searched at present
SSID1
End mark
SSID end mark of router 1, fixed value 0x00
Signal strength 1
Signal strength of router 1 network, range from
0~100, corresponding actual value is 0%~100%
End mark
End mark of signal strength 1, 0x0D, 0x0A.
…
…
…
………
SSIDn
Not regular
Not regular
SSID of router 1
SSID of router n
M+1
End mark
SSID end mark of router n, fixed value 0x00
M+2
Signal strength n
Signal strength of router n network, range from
0~100, corresponding actual value is 0%~100%
M+3
End mark
End mark of signal strength n, 0x0D, 0x0A.
M+4
Check words
Cumulate SUM of all bytes after packet hear (not
included) and in front of check (not included)
Example:
Smart phone send to module (in HEX): FF 00 01 01 02
Module response to smart phone (in HEX): FF 00 14 81 02 54 45 53 54 31 00 40 0D 0A
54 45 53 54 32 00 37 0D 0A 1F
Explaination: smart phone send query command to module to check router information. Module replied
information to smart phone: there are 2 routers. SSID of router 1 is “TEST1”, signal strength is 64%. SSID of
router 2 is “TEST2”, signal strength is 55%

The router information that module replied is ordered according to signal strength.
Jinan USR IOT Technology Limited
16 / 40
www.usriot.com
h.usriot.com

Set instructions
No.
Name
Instruction
Packet head
Fixed value 0xFF
Length
All the bytes after length (not included) and in
front of check (not included)
Command word
Command type, 0x02 is query command
Reserved word
Default 0x00
SSID
Separator
Password
Not regular

No. of bytes
Check words
Not regular
SSID of router
Separator of SSID, fixed value 0x0D, 0x0A
Password of router
Cumulate SUM of all bytes after packet hear
(not included) and in front of check (not
included)
Response instructions
No.
Name
No. Of bytes
Instruction
Packet head
Fixed value 0xFF
Length
All the bytes after length (not included) and in
front of check (not included)
Command word
Command type, 0x82 is the corresponding
response command for setting command
Check value
Check resault for SSID
0x01: corresponding network for SSID can be
find
0x00: can’t be find
Check value
Check resault for password
0x01: password correct
0x00: password incorrect
Cumulate SUM of all bytes after packet hear
(not included) and in front of check (not
included)
Check words
Example
Mobile phone send to module (in HEX): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35 36 CE
Module response to mobile phone (in HEX): FF 00 03 82 01 01 87
Instruction: mobile phone send setting command to module, set SSID to be “TEST1”, password to be
“123456”. The information which module reply to phone is: the network “TEST1” is exist, password is correct
4.7. Simplelink
This function is to realize module for intelligent networking, that is to connect to AP easily, no need to
establish connection with module. Steps:
1. Install the APP in mobile
Jinan USR IOT Technology Limited
17 / 40
www.usriot.com
h.usriot.com
2. Pull down Reload pin for 1-3s, module will switch to Simplelink mode. Ready pin output 0.5Hz level.
3. Open APP in mobile, input password, click “connect”
4. Module will restart if connect to AP successfully. APP will receive MAC address sent by module.
4.8. Class RFC2217
RFC2217 is a standard protocol which is used to modify UART settings by Ethernet port. USR-C215
support a protocol that is class with RFC2217, can realize the same function, but it is easier.
After sending command to device, will excute UART settings and reply nothing if ok. If check or protocol
incorrect, it will be regarded as common data packet and forwarded by serial port.
It is workable in TCP Client, TCP Server, UDP Client, UDP Server mode.
Its modification will immediately take effect, no need to restart, valid for once, not saved, lost if power off.
Protocol length: 8 bytes. Example in HEX, detailed protocol as follows:
Name
Packet header
Baud rate
Bit
Sumcheck
No. Of bytes
Instruction
3 bytes to
reduse error
3 bytes mean one
baud rate value,
high in front
Different bit
means different,
see attached list
Sumcheck of 4 bit
in front, ignore
carry
Example
(115200,N,8,1)
55 AA 55
01 C2 00
83
46
Example
(9600,N,8,1)
55 AA 55
00 25 80
83
28
Attached: Bit instructions
Bit No.
Instruction
Value
Description
1:0
Data bit choose
00
01
10
11
Disable
Enable
00
ODD
01
EVEN
10
Mark
11
Clear
00
Pls write 0
Stop bit
Check bit enable
5:4
7:6
Jinan USR IOT Technology Limited
Check bit type
Undefinition
18 / 40
www.usriot.com
h.usriot.com
5. Setting Method
Module can be set by Webpage and AT command
5.1. Webpage
First time when use the module, we should do some necessary settings.
Access into Webpage:
1. Open WiFi network and search
2. Scan WiFi and select USR-C215, connect
3. Input 10.10.100.254 in browser
4. Input username and password
Default settings:
Parameters
Default settings
SSID
USR-C215
IP address
10.10.100.254
Username
admin
Password
admin
Access into the webpage, you can choose English on the top right conner. There are 6 parts in total:
“Sys Status”, “Trans Setting”, “Extra function”, “System Setting”, “About USR”
Jinan USR IOT Technology Limited
19 / 40
www.usriot.com
h.usriot.com
5.1.1. WiFi Parameter Setting
Here we can set WiFi work mode: AP, STA, AP+STA
Set parameters in AP or STA mode, click “Save” to save your settings.
Jinan USR IOT Technology Limited
20 / 40
www.usriot.com
h.usriot.com
5.1.2. Transparent Transmission Parameter Setting
1. Serial Port Settings, including: baud rate, data, check, stop, CTS/RTS
2. Socket Connection Settings, including: protocol, IP, Port
3. Socketb Connection Settings, including: protocol, IP, Port.
Click “Save” to save your settings.
Jinan USR IOT Technology Limited
21 / 40
www.usriot.com
h.usriot.com
5.1.3. Extra Function
RFC2217: Disable/Enable
Search in LAN: default port 48899, command www.usr.cn
Registration Mechanism
Module MID: default USR-C215, max 20 bytes
Jinan USR IOT Technology Limited
22 / 40
www.usriot.com
h.usriot.com
5.1.4. System Setting
Reload&Restart
Jinan USR IOT Technology Limited
23 / 40
www.usriot.com
h.usriot.com
5.1.5. About USR
5.2. AT Command Instructions
In AT command mode, module can be set by UART.
Default UART settings: 115200, None, 8, 1

We recommend SecureCRT as AT command debug tool
Steps to switch transparent transmission mode to AT command mode:
1. Input “+++” in UART
2. Module receive and reply “a”
3. Input “a” in UART
4. Module receive and reply “+OK”, switch into AT command mode
Jinan USR IOT Technology Limited
24 / 40
www.usriot.com
h.usriot.com

There is no echo when input “+++” and “a”, as below image

To avoide the module get into command mode in normal work, need to input “+++” and “a” within a certain
time, see requirement below:
Steps to switch to AT command mode to transparent transmission mode
1. In AT command mode, input AT+ENTM, end with carrage return
5.2.1. AT Command Description
AT+ command can be input through serial debugger and programs
AT+ command adopts the command line based on ASCII code, command format as follows:
 Format Instruction
< >: essential part
[ ]: optional part
 Command Information
AT+[op][para-1,para-2,para-3,para-4,...]
AT+: prefix of command
[op]: command operator, indicate Query or Set
 “=”: set
 “NULL”: Query
[para-n]: the input parameter for settings, no need for query
: end mark, carrage return, 0X0A or 0X0D in ASCII

If user did not close echo function(AT+E), the command which you input will be send back,  not
back.
 Response Information
+[op] [para-1,para-2,para-3,para-4,...]
+: prefix of reponse information
RSP: response character string,including
 “OK”: succeed
 “ERR”: failed
Jinan USR IOT Technology Limited
25 / 40
www.usriot.com
h.usriot.com

[para-n]: response parameters or error code
: 0x0d in ASCII code
: 0x0a in ASCII code
Error code
Error code list
Error code
Instructions
-1
Invalid command format
-2
Invalid command
-3
Invalid operator
-4
Invalid parameter
-5
Operating not permit
5.3. AT Instruction Set
5.3.1. AT Command List
NO
Command
Description
Manage command
Open/Close echo function
WMODE
Query/Set Wi-Fi mode (AP/STA/APSTA)
ENTM
Enter transparent transmission mode
MID
Query module ID
RELD
Reload to factory defaults
Reset module
Help (not available now)
Config parameters command
CFGTF
Copy user settings tobe factory defaults
UART command
UART
Query/Set UART settings
10
UARTTE
Query/Set time interval between each 2 bytes for free
frame
SOCK A parameters command
11
NETP
Query/Set network protocol parameters
12
TCPLK
Query whether TCP link established
13
TCPDIS
Connect/Disconnect TCP link
SOCK B parameters command
14
SOCKB
Query/Set network protocol parameters of SOCKB
15
TCPDISB
Comnnect/Disconnect TCP_B link
16
TCPLKB
Query whether TCP_B link established
WiFi STA command
17
WSSSID
Query/Set SSID that related to AP
18
WSKEY
Query/Set encrypting parameters of STA
19
WANN
Query/Set network parameters of STA
Jinan USR IOT Technology Limited
26 / 40
www.usriot.com
h.usriot.com
20
WSMAC
Query MAC address of STA
21
WSLK
Query wireless link status of STA
22
WSLQ
Query signal strength for STA to connect AP
23
WSCAN
Scan AP
24
WSDNS
Query/Set DNS server address in STA mode for static
setting
WiFi AP command
25
LANN
Query/Set network parameters of AP
26
WAP
Query/Set WiFi config parameter of AP
27
WAKEY
Query/Set encrypting parameters of AP
28
WALK
Query MAC address of STA which connect to AP
Webpage command
29
PLANG
Query/Set language of webpage
D2D command (not recommend)
30
DTDDIS
Open/Close D2D function
31
DTDID
Query/Set D2D ID
Other command
32
WRMID
Set module ID
33
ASWD
Query/Set search command of module
34
SMTLK
Open Smartlink function
35
USERVER
Query user version and compile time
36
RPTMAC
Query whether open report MAC function
37
WRRPTMAC
Set whether open report MAC function
5.3.1.1. AT+E



Function: Query/Set echo settings of at command
Format:
 Query
AT+E 
+OK=
 Set
AT+E=
+OK
Parameters:
on: open echo, echo the command that in AT command mode.
Off: do not echo the command in AT command mode.
5.3.1.2. AT+WMODE


Function: Query/Set WiFi work mode (AP/STA/APSTA)
Format:
Jinan USR IOT Technology Limited
27 / 40
www.usriot.com
h.usriot.com
Query
AT+WMODE
+ok=
 Set
AT+ WMODE=
+ok
Parameters:
 Mode: WI-FI work mode
AP
STA
APSTA


5.3.1.3. AT+ENTM
Function: switch to transparent transmission mode
Format:
AT+ENTM
+ok
After the command execute correctly, module will switch to transparent transmission mode


5.3.1.4. AT+MID
Function: Query module ID
Format:
AT+MID
+ok=
 Parameters:
module_id: module ID
USR-C215
Note: can set this parameter by AT+WRMID


5.3.1.5. AT+RELD
Function: Reload to factory defaults
Format
AT+ RELD
+ok=rebooting...
This command restore factory defaults, then restart automatically


5.3.1.6. AT+Z


Function: Reset
Format:
Jinan USR IOT Technology Limited
28 / 40
www.usriot.com
h.usriot.com
AT+ Z
5.3.1.7. AT+H (not available now)



Function: Help
Format:
AT+H
+ok=
Parameters:
command help: command help instruction
5.3.1.8. AT+CFGTF



Function: Copy user config parameters tobe factory defaults
Format:
Query
AT+CFGTF
+ok=
Parameters:
 status: response operate status
SAVED: set succeed
NON-SAVED: set failed
5.3.1.9. AT+UART



Function: Query/Set UART settings
Format:
 Query
AT+UART
+ok=
 Set
AT+UART=
+ok
Parameters:
 baudrate:
1200,2400,4800,9600,14400,19200,38400,57600,115200,128000,
153600,230400 bit/s
 data_bits:
 stop_bits:
 parity:
NONE
Jinan USR IOT Technology Limited
29 / 40
www.usriot.com
h.usriot.com

EVEN
ODD
MARK
SPACE
flowctrl:
hardware flow control CTSRTS
NFC: no flow control
5.3.1.10. AT+UARTTE
Function: Query/Set time interval of free framing
Format:
 Query
AT+ UARTTE
+OK=
 Set
AT+ UARTTE=
+OK
 Parameters:
num: range from 20-250, unit in ms. Time interval between 2 bytes in free frame mode.
Note: now parameters will automatically change when setting baudrate. If need modifying time interval,
need to set baudrate in advance.
When baudrate <= 1200, num=250ms
When baudrate >= 20000, num=20ms
When 1200 < baudrate < 20000, num=2000/baudrate*10*20, num take integer


5.3.1.11. AT+NETP



Function: Query/Set network protocol parameter
Format:
 Query
AT+NETP
+ok=
 Set
AT+NETP=
+ok
Parameters:
 protocol:
TCP
UDP
 CS: network mode
SERVER
CLIENT
 Port: protocol port, in decimal, less than 65535
Jinan USR IOT Technology Limited
30 / 40
www.usriot.com
h.usriot.com
 IP: when module is set to be “Client”, the destination IP address
If module set to be UDP, SERVER mode, IP address and port can be saved. Module will automatically
save the latest received IP address and port, and send data to this address. Module in initialization mode, will
send data to this address and port.
If set to be UDP, CLIENT mode, no remeber function.
5.3.1.12. AT+TCPLK



Function: Query whether TCP link is established
Format:
AT+ TCPLK
+ok=
Parameters:
 sta.: whether TCP link is established
on: established
off: not established
5.3.1.13. AT+TCPDIS



Function: Connect/Disconnect TCP link
Format:
 Query
AT+TCPDIS
+ok=
 Set
AT+ TCPDIS =
+ok
Parameters:
 sta: reply the TCP Client status, if can be connect or not
on: can be connect
off: can’t be connect
5.3.1.14. AT+SOCKB



Function: Query/Set SOCKB network protocol parameters
Format:
 Query
AT+SOCKB
+ok=
 Set
AT+SOCKB=
+ok
Parameters:
Jinan USR IOT Technology Limited
31 / 40
www.usriot.com
h.usriot.com
protocol:
TCP: TCP Client
UDP: UDP Client
USPS: UDP Server
 Port: protocol port, in decimal, less than 65535
 IP: destination IP address, support DNS
If module set to be UDPS, IP address and port can be saved. Module will automatically save the latest
received IP address and port, and send data to this address. Module in initialization mode, will send data to this
address and port.
Note: SOCKETB can be closed by command AT+SOCB=NONE

5.3.1.15. AT+TCPDISB
Function: Connect/Disconnect TCP_B link
Format:
 Query
AT+TCPDISB
+ok=
 Set
AT+ TCPDISB =
+ok
 Parameters:
off: module will not try to establish link, that is, when module receive the command, it will
disconnect and not connect again.
on: module will connect to server immediately.
This command will not be saved, default open after reset.


5.3.1.16. AT+TCPLKB



Function: Query whether TCP_B link is established
Format:
AT+ TCPLKB
+ok=
Parameters
 sta.: whether TCP_B link is established
on: established
off: not established
5.3.1.17. AT+WSSSID


Function: Query/Set SSID of AP
Format:
 Query
Jinan USR IOT Technology Limited
32 / 40
www.usriot.com
h.usriot.com

AT+WSSSID
+ok=
 Set
AT+ WSSSID=
+ok
Parameters:
ap's ssid:SSID of AP, max 32 bytes
5.3.1.18. AT+WSKEY



Function: Query/Set encryption parameters of STA
Format:
 Query
AT+WSKEY
+ok=
 Set
AT+ WSKEY=< auth,encry,key>
+ok
Parameters:
 auth: authentication mode, including
OPEN
SHARED
WPAPSK
WPA2PSK
 encry: encryption, indluding
NONE: valid when “auth=OPEN”
WEP-H: valid when “auth=OPEN” or “SHARED”, in HEX password format
WEP-A: valid when “auth=OPEN” or “SHARED”, in ASCII password format
TKIP: valid when “auth= WPAPSK or WPA2PSK”
AES: valid when “auth= WPAPSK or WPA2PSK”
 key: passwork
When encry=WEP-H, password in HEX, 10 or 26 bytes
When encry=WEP-A, password in ASCII, 5 or 13 bytes
Others in ASCII code, greater than 8 bytes and less than 64 bytes
5.3.1.19. AT+WANN


Function: Query/Set network parameters of STA
Format:
 Query
AT+WANN
+ok=
 Set
AT+ WANN=< mode,address,mask,gateway >
Jinan USR IOT Technology Limited
33 / 40
www.usriot.com
h.usriot.com

+ok
Parameters:
 mode: network IP mode of STA
static: static IP
DHCP: dynamic IP
 address: IP address of STA
 mask: subnet mask of STA
 gateway: gateway of STA
5.3.1.20. AT+WSMAC



Function: Query/Set MAC assress of STA
Format:
 Query
AT+WSMAC
+ok=
Parameters:
mac_address: MAC assress of STA, example: D8B0CFFF1234
5.3.1.21. AT+WSLK



Function: Query the wireless link status of STA
Format:
 Query
AT+ WSLK
+ok=
Parameters:
 ret
If no link, reply “Disconnected”
If link, reply “SSID(MAC) of AP”
If wireless is closed, reply “RF Off”
5.3.1.22. AT+WSLQ



Function: Query the wireless signal strength of STA
Format:
 Query
AT+ WSLQ
+ok=
Parameters:
 ret
If no link, reply “Disconnected”
If link, reply signal strength of AP
Jinan USR IOT Technology Limited
34 / 40
www.usriot.com
h.usriot.com
5.3.1.23. AT+WSCAN
Function: Scan AP
Format:
 Query
AT+ WSCAN
+ok=Ch,SSID,BSSID,Security,Indicator...
 Parameters:
 ap_site_N: the AP site that scanned, format is 
Ch: channel no. of WiFi network
SSID: SSID of router
BSSID: MAC address of router
Security: security mode of router
Indicator: signal strength
Example: “11,TP_LINK_USR,D8:15:0D:C6:3E:14,WPA2PSK/AES,76”


5.3.1.24. AT+WSDNS



Function: Query/Set DNS server address in STA mode, static
Format:
 Query
AT+WSDNS
+ok=
 Set AT+ WSDNS =
+ok Parameters: address: DNS server address in STA 5.3.1.25. AT+LANN    Function: Query/Set network parameters of AP Format:  Query AT+LANN +ok=  Set AT+ LANN=< ipaddress,mask> +ok Parameters:  ipaddress: IP address in AP mode  mask: subnet mask in AP mode Jinan USR IOT Technology Limited 35 / 40 www.usriot.com h.usriot.com 5.3.1.26. AT+WAP    Function: Query/Set WiFi settings of AP Format:  Query AT+WAP +ok=< wifi_mode,ssid,channel >  Set AT+ WAP = +ok Parameters:  wifi_mode: Wi-Fi mode, including 11B 11BG 11BGN (default)  ssid: SSID in AP mode  channel: Wi-Fi channel Select AUTO or CH1~CH11, default CH6 5.3.1.27. AT+WAKEY    Function: Query/Set encryption of AP Format:  Query AT+WAKEY +ok=  Set AT+ WAKEY=< auth,encry,key> +ok Parameters:  auth: authentication type, including OPEN WPA2PSK  encry: encryption type, including  NONE: valid when “auth=OPEN”  AES: valid when “auth=WPA2PSK”  key: password, in ASCII, less than 64bytes and greater than 8 bytes 5.3.1.28. AT+WALK   Function: Query the MAC address of STA device, which linked to module Format:  Query Jinan USR IOT Technology Limited 36 / 40 www.usriot.com h.usriot.com  AT+WALK +ok= Parameters:  status: the MAC address of STA device, which linked to module  No Connection: no STA devices linked to module AP 5.3.1.29. AT+PLANG    Function: Query/Set language of webpage Format:  Query AT+PLANG +ok=  Set AT+PLANG = +ok Parameters:  language: language of webpage CN Chinese(default) EN English 5.3.1.30. AT+DTDDIS Function: Open/Close function of send D2D registration packet Format:  Query AT+DTDDIS +ok=  Set AT+DTDDIS= +ok  Parameters:  status: on: open off: close Note: we no longer recommend this function now.   5.3.1.31. AT+DTDID   Function: Query/Set registration ID of D2D Format:  Query AT+DTDID Jinan USR IOT Technology Limited 37 / 40 www.usriot.com h.usriot.com +ok=  Set AT+DTDID= +ok  Parameters: id: registration ID, range from 1~65535 Note: we no longer recommend this function now. 5.3.1.32. AT+WRMID    Function: Set module ID Format:  Set AT+ WRMID = +ok Parameters: wrmid: set module ID, in 20 characters 5.3.1.33. AT+ASWD    Function: Query/Set module search password Format:  Query AT+ ASWD +ok=  Set AT+ASWD = Parameters: aswd: module search password 5.3.1.34. AT+SMTLK Function: start Simplelink function Format:  Query AT+SMTLK Smartlink function us used to connect module to router easily. When function on, module work in this mode, led lights quickly and waiting for the APP to push configuration information   5.3.1.35. AT+USERVER   Function: Query user version and edit time Format: Jinan USR IOT Technology Limited 38 / 40 www.usriot.com h.usriot.com  AT+USERVER +ok= Parameters:  user_version: V1.1  generated_time: edit time 2014-08-15 10:15 5.3.1.36. AT+RPTMAC    Function: Query whether report MAC Format: AT+RPTMAC +ok= Parameters:  status: ON: open OFF: closed 5.3.1.37. AT+WRRPTMAC    Function: Set whether report MAC Format: AT+WRRPTMAC= +ok Parameters:  status: ON: open OFF: closed Jinan USR IOT Technology Limited 39 / 40 www.usriot.com h.usriot.com 6. Contact Us Company: Address: Tel: Web: Support : Email: Jinan USR IOT Technology Limited Floor 11, Building1, No.1166 Xinluo Street, Gaoxin Distric, Jinan, Shandong, 250101, China 86-531-55507297, 86-531-88826739 http://www.usriot.com http://h.usriot.com sales@usriot.com 7. Disclaimer This document provide the information of USR-C215 products, hasn’t been granted any theintellectual property license by forbid speak or other ways either explicitly or implicitly. Except for the duty of sales conditions and conditional declarations, 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. We may modify specification and description at any time without prior notice. 8. Update History 2016-04-29 Establish V1.0 Jinan USR IOT Technology Limited 40 / 40 www.usriot.com Federal Communication Commission Statement (FCC, U.S.) This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one of the following measures: - Reorient or relocate the receiving antenna. - Increase the separation between the equipment and receiver. - Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. - Consult the dealer or an experienced radio/TV technician for help. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. FCC Caution: Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment. IMPORTANT NOTES FCC Radiation Exposure Statement: This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance 20cm between the radiator & your body. Co-location warning: This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. Limited Channels fixed for use in the US: IEEE 802.11b or 802.11g or 802.11n(HT20) operation of this product in the U.S. is firmware-limited to Channel 1 through 11. IEEE 802.11n(HT40) operation of this product in the U.S. is firmware-limited to Channel 3 through 9. OEM integration instructions: This device is intended only for OEM integrators under the following conditions: The antenna must be installed such that 20 cm is maintained between the antenna and users, and the transmitter module may not be co-located with any other transmitter or antenna. The module shall be only used with the external antenna(s) that has been originally tested and certified with this module. As long as 3 conditions above are met, further transmitter test will not be required. However, the OEM integrator is still responsible for testing their end-product for any additional compliance requirements required with this module installed (for example, digital device emissions, PC peripheral requirements, etc.). Validity of using the module certification: In the event that these conditions cannot be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization for this module in combination with the host equipment is no longer considered valid and the FCC ID of the module cannot be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization. End product labeling: This transmitter module is authorized only for use in device where the antenna may be installed such that 20 cm may be maintained between the antenna and users. The final end product must be labeled in a visible area with the following: “Contains Transmitter Module FCC ID: 2AJDA-USR-C215A”. Information that must be placed in the end user manual: The OEM integrator has to be aware not to provide information to the end user regarding how to install or remove this RF module in the user's manual of the end product which integrates this module. The end user manual shall include all required regulatory information/warning as show in this manual.

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.6
Linearized                      : No
Create Date                     : 2016:06:07 16:08:51+08:00
Modify Date                     : 2016:08:12 10:29:56+08:00
Has XFA                         : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:08:04
Metadata Date                   : 2016:08:12 10:29:56+08:00
Producer                        : PDFdo.com  5.5.6.0
Format                          : application/pdf
Document ID                     : uuid:b9983a34-a60f-4d21-9ffe-fce5d40f5e47
Instance ID                     : uuid:44a3a668-00ec-420f-bd3f-1f886b1b7399
Page Count                      : 42
EXIF Metadata provided by EXIF.tools
FCC ID Filing: 2AJDA-USR-C215A

Navigation menu