Skip to content

Class B example- NucleoL073 #1070

Answered by mluis1
jariy asked this question in Q&A
Mar 20, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

In recent versions of this project we decided to have a single example supporting all LoRaWAN classes.

The periodic-uplink-lpp example supports all 3 classes.

By default the provided example is setup to use ClassA.
In order to use ClassB one must modify the below line on main.c file.

/*!
* LoRaWAN default end-device class
*/
#define LORAWAN_DEFAULT_CLASS CLASS_A

Please change CLASS_A into CLASS_B

Something you also need to change is the uplink transmission periodicity in order to have the chance to open a few ping-slots in between uplinks.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jariy
Comment options

@mluis1
Comment options

Answer selected by mluis1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants