Giter VIP home page Giter VIP logo

rak11300-at-command-firmware's Introduction

RAK11300 AT Command Firmware

RAKstar RAKWireless WisBlock BeeGee RAK11310

This project is a quick start for the new RAKwireless WisDuo RAK11300 LPWAN stamp module. It gives the opportunity to test the LPWAN functionality without writing and flashing code.
It is a very simple firmware that provides an AT Command Interface over USB and RX1/TX1 UART of the module. It is not optimized for low power consumption.


The LPWAN credentials are stored in the flash memory of the RAK11300 LPWAN stamp module. The firmware is written using the Arduino framework, the source code is provided for both Arduino IDE and for PlatformIO. It uses the Raspberry Pi RP2040 boards package which needs to be patched with the RAK_Patch to support the RAK11300/RAK11310.

REMARK
This firmware uses some functions to access the flash memory that are available in Arduino BSP versions older than V0.0.6. You need to need to upgrade the BSP to the latest version


All AT commands are listed and explained in the AT-Command Manual.

Short example for OTAA connection test:

Set the DevEUI

AT+DEVEUI=5555555553525150

Set the AppEUI

AT+APPEUI=5051525355555555

Set the AppKey

AT+APPKEY=55555555535251505051525355555555

Set the Region (US915)

AT+BAND=8

Check the settings

AT+STATUS=?

Start network join (requires a gateway connected to a LPWAN server and the device registered on the LPWAN server with above credentials)

AT+JOIN=1:0:1:1

Log output:

============================
RAK11300 AT Command Firmware
SW Version 1.0.0
LoRa(R) is a registered trademark or service mark of Semtech Corporation or its affiliates.
LoRaWAN(R) is a licensed mark.
============================
Device status:
   Auto join enabled
   Mode LPWAN
LPWAN status:
   Marks: AA 55
   Dev EUI AC1F09FFFE0142C8
   App EUI 1200353833333250
   App Key 2B84E0B09B68E5CB42176FE753DCEE79
   Dev Addr 83986D12
   NWS Key 50323333383500121200353833333250
   Apps Key 50323333383500121200353833333250
   OTAA enabled
   ADR disabled
   Public Network
   Dutycycle disabled
   Repeat time 60000
   Join trials 10
   TX Power 0
   DR 3
   Class 2
   Subband 1
   Fport 2
   Unconfirmed Message
   Region AS923-3
   Network not joined
LoRa P2P status:
   P2P frequency 916000000
   P2P TX Power 22
   P2P BW 125
   P2P SF 7
   P2P CR 1
   P2P Preamble length 8
   P2P Symbol Timeout 0
============================
AT+JOIN=1:0:30:10
AT+JOIN=1:0:30:10

OK

AT+JOIN=SUCCESS

rak11300-at-command-firmware's People

Contributors

beegee-tokyo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

nickeytheblade

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.