Download Print this page
Hide thumbs Also See for RM126 Series:

Advertisement

Quick Links

Quick Start Guide
Laird Connectivity's RM126x modules come with Laird Connectivity's proprietary AT Interface firmware preloaded to the
module. This enables a Hosted Mode where users can enter AT commands from their host platform to control various
behavior of the radios such as configuring the LoRa radio, joining a LoRaWAN network server and reading/writing data for
I2C/SPI.
This document demonstrates RM126's operations in two different modes. First, it will utilize standard LoRaWAN protocol
where we configure a RM126x and communicate with a network server through a LoRaWAN gateway. And second, we will put
two RM126x modules into P2P (Point-to-Point) mode where they will communicate with each other without using a Gateway
and Network Server.
Figure 1: Standard LoRaWAN protocol
Figure 2: P2P protocol
For a full list of AT commands, please refer to the
Note:
Alternatively, you can develop your own firmware, instead of using AT Interface firmware, by using Simplicity
Studio offered by Silicon Labs. This document does not cover that custom application development.
https://www.lairdconnect.com/
User Guide for the RM126x AT Interface
1
© Copyright 2023 Laird Connectivity
All Rights Reserved
Application.
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2762 4823
v1.0

Advertisement

loading

Summary of Contents for Laird RM126 Series

  • Page 1 Quick Start Guide v1.0 Laird Connectivity’s RM126x modules come with Laird Connectivity’s proprietary AT Interface firmware preloaded to the module. This enables a Hosted Mode where users can enter AT commands from their host platform to control various behavior of the radios such as configuring the LoRa radio, joining a LoRaWAN network server and reading/writing data for I2C/SPI.
  • Page 2 This quick start guide document is applicable to the following part number(s) running Laird Connectivity’s AT Interface application. Note: It is important that you select the hardware for your desired region. The RM1262 supports USA, Canada, Australia, and New Zealand.
  • Page 3 RM1xx under Port Settings. This will auto-populate the connection settings (baudrate, parity, stop bits, data bits and handshaking) with the exception of the Port. Figure 3: UwTerminalX: Settings & Config window https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 4 Alternatively, you can scan the QR code on the module label which contains this DevEUI value. Also, in the firmware version 127.4.1.421 and 128.4.1.421, DevEUI is erased when AT&F is called. In later firmware, this will be fixed so that DevEUI will persist over AT&F. https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 5 Next, perform a factory reset with the AT&F command. This will set all writable parameters to their default values and perform a warm reset. Figure 4: UwTerminalX: AT and AT&F command usage https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 6 – 2: UK_EU863_870 – 8: TAIWAN_AS923_1 – 9: JAPAN_AS923_1 – 11: INDIA_IN865_867 ▪ RM1262 only: – 3: USA_CANADA_US902_928 – 4: AUSTRALIA_AU915_928 – 5: AUSTRALIA_AS923_1 – 6: NEW_ZEALAND_AS923_1 – 7: NEW_ZEALAND_AU915_92 ATS 611=3 https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 7 <value> is 0 for Class A, 1 for Class B and 2 for Class C. The Laird Connectivity RG1xx Gateway does not support Class B, therefore, if you are testing with this Gateway only Class A or Class C should be configured.
  • Page 8 TX: [ACK], C:10, F:904300000Hz, DR:3 Confirm the LoRa Network Server received the data under the Application/End Device/Live Data as shown in the example below from TTN. Figure 6: End device’s live data page on TTN https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 9 ▪ P: port at which downlink messsage arrived ▪ C: channels used to receive downlink ▪ F: frequency used to receive downlink ▪ DR : data rate used to receive downlink https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 10 Set P2P Tx power to 1dBm (The reduced Tx power is used here in assumption that your two RM126x are in close proximity.) AT&W Save parameters to non-volatile memory Soft reset https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 11 Set node0 for P2P mode ATS 611=3 Set region to US (See AT Interface User Guide for correct Region setting if not US) ATS 700=0 Set P2P Device address to 0 for node0 https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 12 AT+P2PT 1,”00AA” On the node1, the transmitted message will appear. RX: [P2P] S:0, 00AA Where S :0 indicates the P2P packet was received from Node 0, followed by the data, 00AA. https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 13 Where S:1 indicates the P2P packet was received from Node 1, followed by the data, 00BB End P2P connection when P2P test is done. Issue this command on all nodes - node0, node1 and node2. AT+P2PE https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...
  • Page 14 Version Date Notes Contributor(s) Approver Seokwoo Yoon Senthooran 10 Oct 2023 Initial Release Ragavan Rikki Horrigan https://www.lairdconnect.com/ © Copyright 2023 Laird Connectivity All Rights Reserved...

This manual is also suitable for:

Rm1262Rm1261