Giter VIP home page Giter VIP logo

rak4631-at-command-firmware's Introduction

RAK11300 AT Command Firmware

RAKstar RAKWireless WisBlock BeeGee RAK4631

This project is a quick start for the RAKwireless WisBlock RAK4631 LPWAN 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 or BLE UART of the module. It is not optimized for low power consumption.


The LPWAN credentials are stored in the flash memory of the RAK4631 LPWAN module. The firmware is written using the Arduino framework, the source code is provided for both Arduino IDE and for PlatformIO. It uses the Nordic nRF52 boards package which needs to be patched with the RAK_Patch to support the RAK4631.


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:

============================
WisBlock Node
SW Version 1.0.5
LoRa(R) is a registered trademark or service mark of Semtech Corporation or its affiliates.
LoRaWAN(R) is a licensed mark.
============================
Device status:
   RAK4631
   Auto join enabled
   Mode LPWAN
   Network not joined
   Send Frequency 0
LPWAN status:
   Dev EUI AC1F09FFFE0679DB
   App EUI 70B3D57ED00201E1
   App Key 2B84E0B09B68E5CB42176FE753DCEE79
   Dev Addr 26021FB4
   NWS Key 323D155A000DF335307A16DA0C9DF53F
   Apps Key 3F6A66459D5EDCA63CBC4619CD61A11E
   OTAA enabled
   ADR disabled
   Public Network
   Dutycycle disabled
   Join trials 5
   TX Power 0
   DR 3
   Class 0
   Subband 1
   Fport 2
   Unconfirmed Message
   Region AS923-3
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

rak4631-at-command-firmware's People

Contributors

beegee-tokyo avatar

Watchers

 avatar James Cloos avatar Phoenix Eve Aspacio avatar Todor Velev avatar  avatar

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.