RAKwireless RAK7200 Specification sheet

v2.0.0.0.0
2
Table of Contents
1. Where is the latest firmware file?......................................................................................3
2. How to burn the update firmware into RAK7200?..........................................................3
3. How to configure RAK7200?............................................................................................. 9
4. How to connect with TTN?...............................................................................................12
4.1 Join in OTAA mode.................................................................................................17
4.2 Join in ABP mode....................................................................................................20
5. How to connect with LoRaServer?................................................................................. 21
5.1 Join in OTAA mode.................................................................................................24
5.2 Join in ABP mode....................................................................................................30
6. Revision History.................................................................................................................36
7. Document Summary......................................................................................................... 36

v2.0.0.0.0
3
1. Where is the latest firmware file?
If you want to get a pre-compiled firmware instead of compiling the source code by
yourself, you can find the latest firmware on RAK website after it is released.
2. How to burn the update firmware into
RAK7200?
Firstly, please install the “STM32CubeProgrammer” tool on your Windows PC. You
can download it from here:
https://www.st.com/content/st_com/en/products/development-tools/software-develop
ment-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.h
tml#overview
Secondly, connect RAK7200 with your PC’s USB interface as follow:
Now, you need to let RAK7200 work in boot mode. You can do it as follow:

v2.0.0.0.0
4
1. Hold down the BOOT0 button, then press the Reset button;
2. Loosen the Reset button, then Loosen the BOOT0 button.
Open the “STM32CubeProgrammer” tool, and select UART type, then configure the
Port, Baudrate, and Pairty as the following picture shows:
Note: It is COM5 on my computer, and it may be another COM port on your computer.
Then press “Connect” button at the top right corner. If there are some errors in the Log
box as follow:

v2.0.0.0.0
5
It means that RAK7200 don’t work in BOOT mode. You should let it work in boot
mode firstly.
The correct Log you should see is the information like the following picture shows:
Now, let’s start to burn a firmware into RAK7200.
At first, erase all data on RAK7200 according the following picture shows, it may take
several seconds:

v2.0.0.0.0
6
Press “Open file” and select the correct firmware file in the pop-up window as follow:

v2.0.0.0.0
7
Press the “Download” button to start the burning process:

v2.0.0.0.0
8
OK, you have upgraded the firmware for RAK7200 successfully!
Now, “Disconnect” and close the “STM32CubeProgrammer” tool, then open a serial
port tool on your PC. Choose the correct COM port and baud rate is 115200. Then
press the Reset button on RAK7200, you’ll see the following log on serial port tool:

v2.0.0.0.0
9
Note: If you haven’t a serial port tool, we recommend you to use RAK serial port tool.
You can get it from RAK website and use it freely.
http://docs.rakwireless.com/en/LoRa/RAK811/Tools/RAK_SERIAL_PORT_TOOL_V1.
2.1.zip
3. How to configure RAK7200?
You can configure LoRa Button by sending AT commands into it from a serial port tool
running on your PC.
The following list shows the AT commands:
AT Command
Description
at+version
Get the current firmware version
number.
at+get_config=device:status
Get all information about the device’s
hardware components and their current
status.
at+set_config=device:restart
After set, the device will restart.

v2.0.0.0.0
10
at+set_config=device:XXX:YYY
Set a certain sensor’s status.
XXX definition:the sensor’s flag, gps
means GPS, acc means Accelerate,
magn means Magnetic,
gyro means Gyroscope,
pressure means Pressure,
temperature means Temperature,
humidity means Humidity,
light_strength means Light_strength,
voltage means Voltage.
YYY definition: 0: close, 1: open
at+join
Start to join LoRa network.
at+send=X:YYY
Send a customized data.
X definition: LoRa port
YYY definition: the data which you want
to send. The limited length is 50 Bytes,
and the data must be in HEX format.
at+set_config=lora:work_mode:X
Set the work mode for LoRa.
X definition: 0: LoRaWAN, 1: LoRaP2P,
2: Test Mode.
at+set_config=lora:join_mode:X
Set the join mode for LoRaWAN.
X definition: 0: OTAA, 1: ABP
at+set_config=lora:class:X
Set the class for LoRa.
X definition: 0: Class A, 1: Class B, 2:
Class C
at+set_config=lora:region:XXX
Set the region for LoRa.
XXX define: one of the following items:
EU868 EU433, CN470, IN865, EU868,
AU915, US915, KR920, AS923.
Table of contents


















