Arduino library to support I-NUCLEO-LRWAN1 LoRa® expansion board based on USI® LoRaWAN™ technology module.
This library provides an Arduino API to manage the I-NUCLEO-LRWAN1 expansion board as a LoRaWAN™ node.
This library provides also an API to manage the I-NUCLEO-LRWAN1 expansion board as a simple LoRa® radio module.
Important note for Nucleo64:
By default, D0/D1 of CN9 board connector are respectively not connected to PA3 and PA2 (SB62 and SB63 opened). Those pins are connected to STLink USART thanks to SB13, SB14.
To use the shield:
Where 'n' are the same U(S)ART number.
or
but in this case, you will have to wire STLink Rx/Tx of CN3 connector to
another pins and update Serial instance before call Serial.begin(115200);
using:
Serial.setRx(Rx pin);
Serial.setTx(Tx pin);
See UM1724, §6.8 section for more information.
LoRaWAN default configuration:
setPublicNwkMode()
to set the network
type in private.setRx1Delay()
to set a new value.In case of high latency between the gateway and the network server, it is recommended to increase the delay time of the RX1 window.
This library is based on the STM32CubeExpansion_LRWAN_V1.1.2 driver. This library has been validated with the version 2.6 and 3.6 of the firmware.
You can find the source files at
https://github.com/stm32duino/I-NUCLEO-LRWAN1
The I-NUCLEO-LRWAN1 module datasheet is available at
https://github.com/USILoRaModule/USI_I-NUCLEO-LRWAN1
LoRaWAN standard
https://www.lora-alliance.org