LoRaWAN MAC layer implementation

Dependents:   LoRaWAN-demo-72_tjm LoRaWAN-demo-72_jlc LoRaWAN-demo-elmo frdm_LoRa_Connect_Woodstream_Demo_tjm ... more

LoRAWAN-lib is a port of the GitHub LoRaMac-node LoRaWAN MAC layer implementation.

This library depends on the SX1276Lib or SX1272Lib radio drivers depending on the used mbed component shield.

This library depends also on some cryptographic helper functions as well as helper functions for the timers management. These can be found on the example projects under the system directory.

The example projects are:

  1. LoRaWAN-demo-72
  2. LoRaWAN-demo-76
  3. LoRaWAN-demo-NAMote72

The LoRaWAN specification specifies different ISM bands operating parameters. These are all implemented under the LoRaMac-board.h file.

In order to select which band to use, please change line 24 of board.h file provided on the examples projects as follows:


EU868

board.h

#define USE_BAND_868


US915

board.h

#define USE_BAND_915


US915 - Hybrid

board.h

#define USE_BAND_915_HYBRID


CN780

board.h

#define USE_BAND_780


EU433

board.h

#define USE_BAND_433

Changes

RevisionDateWhoCommit message
11:2426a05fe29e 2018-07-17 ubhat Fix bug where FCnt get incremented twice in the case of ADRACKReq with D/L ACK default tip
10:1ac668ce2b15 2017-07-26 terence304 Revert back to 8:2600260
9:db4900d60c37 2017-07-26 terence304 Fix length error bug
8:26002607de9c 2017-04-24 mluis WARNING: Radio API timings changed from micro-seconds to milliseconds; ; Synchronized with https://github.com/Lora-net/LoRaMac-node git revision e506c246652fa44c3f24cecb89d0707b49ece739;
7:c16969e0f70f 2016-07-05 mluis Synchronized with https://github.com/Lora-net/LoRaMac-node git revision 7a4aec588de628d864c364e9469ae45105fdbe26
6:d7a34ded7c87 2016-05-18 mluis Fix GitHub Issue #81
5:2477c924494a 2016-05-18 mluis Removed the TxPower limitation for US band on LoRaMacMibSetRequestConfirm function.; The power will be limited anyway when the SendFrameOnChannel functions is called.
4:37c12dbc8dc7 2016-05-13 mluis Synchronized with https://github.com/Lora-net/LoRaMac-node git revision 55d16ca8949c09ee241c87b7600e2a8bc90d3743
3:b9d87593a8ae 2016-03-14 mluis Synchronized with https://github.com/Lora-net/LoRaMac-node git revision 5a25e2f1593bc382200e848e6db967d1c4550021
2:14a5d6ad92d5 2016-01-05 mluis Synchronized with https://github.com/Lora-net/LoRaMac-node git revision a2226468d470eceb251338e1acfb24cfd121effa
1:91e4e6c60d1e 2015-11-23 mluis Keep LoRaMac only related files in the library.; Updated files according to latest GitHub version
0:91d1a7783bb9 2015-10-20 mluis Library creation synchronized with GitHub LoRaMac-node v3.4 (https://github.com/Lora-net/LoRaMac-node)