RAK3172 Module AT Command Manual
Introduction
The RAK3172 WisDuo module is based on the STM32WLE5CC chip and is designed to simplify LoRaWAN and LoRa point-to-point (P2P) communication. To integrate LoRa technology into your projects, the RAK3172 is implemented with an easy-to-use UART communication interface for sending AT commands. These commands allow you to set parameters for LoRa P2P and LoRaWAN communication. You can also use any microcontroller with a UART interface to control the RAK3172 module.
The UART serial communication is exposed on UART2 (also identified as the LPUART1 port), through Pin 2 (TX2) and Pin 1 (RX2). The default parameters for UART2 communication are 115200 / 8-N-1. Firmware upgrades are also possible through this port. For pin distribution and a schematic circuit of a reference application, refer to the RAK3172 Module Datasheet.
Links to Quick Start Guide
For AT commands example usage, you can check these sections of the quick start guide:
- RAK3172 TTN OTAA Guide - How to add OTAA device on TTN and what AT commands to use on RAK3172 OTAA activation.
- RAK3172 TTN ABP Guide - How to add ABP device on TTN and what AT commands to use on RAK3172 ABP activation.
- RAK3172 Chirpstack OTAA Guide - How to add OTAA device to Chirpstack and what AT commands to use on RAK3172 OTAA activation.
- RAK3172 Chirpstack ABP Guide - How to add ABP device on Chirpstack and what AT commands to use on RAK3172 ABP activation.
- LoRa P2P - Point to point communication between two RAK3172 modules.
AT Commands List
There are two AT Commands sets for RAK3172 depending on the firmware uploaded on the device.
1. RUI3 AT Commands
In addition, aside from UART2, AT commands can also be interfaced via UART1 Pin 4 (TX1) and Pin 5 (RX1). You can configure the settings of UART1 and UART2 interfaces via RUI3 Serial Operating Modes.
2. AT Commands (DEPRECATED) - FW version 1.0.4 and below
- There are RAK3172 devices loaded with old firmware versions which are not based on RUI3 (RAKwireless Unified Interface V3). These devices have v1.0.4 and below.
- If the host microcontroller code is based on this old firmware, RAKwireless provides a RAK3172 AT Command migration guide that explains in detail the few differences between the two AT commands sets.







