Skip to content

Commit 89499b4

Browse files
committed
Release v1.2.0
1 parent ec04b6b commit 89499b4

78 files changed

Lines changed: 10775 additions & 9671 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v1.2.0] - 2026-03-27
8+
9+
- Support for Modem-E v2.1.0 and the Modem-E driver v2.0.0
10+
- Split of the certification example into certification-otaa and certification-abp examples
11+
712
## [v1.1.0] - 2025-10-15
813

914
### Added

Drivers/BSP/Components/Leds/leds.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,26 +56,26 @@ extern "C" {
5656

5757
typedef enum
5858
{
59-
LR1121_EVK_LED_TX,
60-
LR1121_EVK_LED_RX,
61-
LR1121_EVK_LED_SCAN,
62-
LR1121_EVK_LED_COUNT
63-
} lr1121_evk_led_t;
59+
MODEM_E_EVK_LED_TX,
60+
MODEM_E_EVK_LED_RX,
61+
MODEM_E_EVK_LED_SCAN,
62+
MODEM_E_EVK_LED_COUNT
63+
} modem_e_evk_led_t;
6464

6565
/**
6666
* @brief LED TX MASK
6767
*/
68-
#define LED_TX_MASK ( 1 << LR1121_EVK_LED_TX )
68+
#define LED_TX_MASK ( 1 << MODEM_E_EVK_LED_TX )
6969

7070
/**
7171
* @brief LED RX MASK
7272
*/
73-
#define LED_RX_MASK ( 1 << LR1121_EVK_LED_RX )
73+
#define LED_RX_MASK ( 1 << MODEM_E_EVK_LED_RX )
7474

7575
/**
7676
* @brief LED SCAN MASK
7777
*/
78-
#define LED_SCAN_MASK ( 1 << LR1121_EVK_LED_SCAN )
78+
#define LED_SCAN_MASK ( 1 << MODEM_E_EVK_LED_SCAN )
7979

8080
/**
8181
* @brief LED ALL MASK

Drivers/BSP/Components/lis2de12/lis2de12.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*/
3636
#include "lis2de12.h"
37-
#include "lr1121_modem_board.h"
37+
#include "modem_e_board.h"
3838

3939
/***************************************************************************\
4040
* RAM data

Inc/apps/apps_utilities.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ extern "C" {
4646
* --- DEPENDENCIES ------------------------------------------------------------
4747
*/
4848

49-
#include "lr1121_modem_lorawan.h"
50-
#include "lr1121_modem_modem.h"
49+
#include "modem_e_lorawan.h"
50+
#include "modem_e_modem.h"
5151
#include <stdint.h>
5252

5353
/*
@@ -101,12 +101,12 @@ void print_lorawan_credentials( const uint8_t* dev_eui, const uint8_t* join_eui,
101101
*
102102
* @param [in] modem_version Modem version to be printed
103103
*/
104-
void print_version( lr1121_modem_version_t modem_version );
104+
void print_version( modem_e_version_t modem_version );
105105

106106
/**
107107
* @brief convert lr1121 modem-e status to string
108108
*/
109-
void modem_status_to_string( lr1121_modem_lorawan_status_t modem_status );
109+
void modem_status_to_string( modem_e_lorawan_status_t modem_status );
110110

111111
/**
112112
* @brief Get the lorawan region from modem and print it
@@ -115,21 +115,21 @@ void modem_status_to_string( lr1121_modem_lorawan_status_t modem_status );
115115
* @param [out] modem_region The LoRaWAN region returned by the modem. This pointer can be NULL: in this case the region
116116
* is only printed, and not returned to caller
117117
*/
118-
void get_and_print_lorawan_region_from_modem( const void* context, lr1121_modem_regions_t* modem_region );
118+
void get_and_print_lorawan_region_from_modem( const void* context, modem_e_regions_t* modem_region );
119119

120120
/**
121121
* @brief Prints the LoRaWAN region
122122
*
123123
* @param [in] region Region to be printed
124124
*/
125-
void print_lorawan_region( lr1121_modem_regions_t region );
125+
void print_lorawan_region( modem_e_regions_t region );
126126

127127
/**
128128
* @brief Prints the state of certification mode
129129
*
130130
* @param [in] certif_running State of certification mode
131131
*/
132-
void print_certification( lr1121_modem_certification_mode_t certif_running );
132+
void print_certification( modem_e_certification_mode_t certif_running );
133133

134134
/**
135135
* @brief Gets and prints the crashlog if the crashlog status bit is set

Inc/apps/common_app_configuration.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ extern "C" {
6666
/*!
6767
* @brief LoRaWAN regulatory region.
6868
* One of:
69-
* LR1121_LORAWAN_REGION_AS923_GRP1
70-
* LR1121_LORAWAN_REGION_AS923_GRP2
71-
* LR1121_LORAWAN_REGION_AS923_GRP3
72-
* LR1121_LORAWAN_REGION_AS923_GRP4
73-
* LR1121_LORAWAN_REGION_AU915
74-
* LR1121_LORAWAN_REGION_CN470
75-
* LR1121_LORAWAN_REGION_EU868
76-
* LR1121_LORAWAN_REGION_IN865
77-
* LR1121_LORAWAN_REGION_KR920
78-
* LR1121_LORAWAN_REGION_RU864
79-
* LR1121_LORAWAN_REGION_US915
69+
* MODEM_E_LORAWAN_REGION_AS923_GRP1
70+
* MODEM_E_LORAWAN_REGION_AS923_GRP2
71+
* MODEM_E_LORAWAN_REGION_AS923_GRP3
72+
* MODEM_E_LORAWAN_REGION_AS923_GRP4
73+
* MODEM_E_LORAWAN_REGION_AU915
74+
* MODEM_E_LORAWAN_REGION_CN470
75+
* MODEM_E_LORAWAN_REGION_EU868
76+
* MODEM_E_LORAWAN_REGION_IN865
77+
* MODEM_E_LORAWAN_REGION_KR920
78+
* MODEM_E_LORAWAN_REGION_RU864
79+
* MODEM_E_LORAWAN_REGION_US915
8080
*/
8181
#ifndef LORAWAN_REGION_USED
82-
#define LORAWAN_REGION_USED LR1121_LORAWAN_REGION_EU868
82+
#define LORAWAN_REGION_USED MODEM_E_LORAWAN_REGION_AU915
8383
#endif // LORAWAN_REGION_USED
8484

8585
/**

Inc/apps/lorawan_commissioning/lorawan_commissioning.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,36 @@ extern "C" {
116116
#endif // LORAWAN_APP_KEY
117117
#define LORAWAN_APP_KEY_LEN 16
118118

119+
/**
120+
* @brief ABP Device Address
121+
*/
122+
#ifndef LORAWAN_ABP_DEV_ADDR
123+
#define LORAWAN_ABP_DEV_ADDR \
124+
{ \
125+
0x01, 0x02, 0x03, 0x04 \
126+
}
127+
#endif // LORAWAN_ABP_DEV_ADDR
128+
129+
/**
130+
* @brief ABP Network Session Key (big endian)
131+
*/
132+
#ifndef LORAWAN_ABP_NWK_SKEY
133+
#define LORAWAN_ABP_NWK_SKEY \
134+
{ \
135+
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 \
136+
}
137+
#endif // LORAWAN_ABP_NWK_SKEY
138+
139+
/**
140+
* @brief ABP Application Session Key (big endian)
141+
*/
142+
#ifndef LORAWAN_ABP_APP_SKEY
143+
#define LORAWAN_ABP_APP_SKEY \
144+
{ \
145+
0x10, 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 \
146+
}
147+
#endif // LORAWAN_ABP_APP_SKEY
148+
119149
/*
120150
* -----------------------------------------------------------------------------
121151
* --- PUBLIC TYPES ------------------------------------------------------------

Inc/boards/board-config.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extern "C" {
4444
* --- DEPENDENCIES ------------------------------------------------------------
4545
*/
4646

47-
#include "lr1121_modem_system_types.h"
47+
#include "modem_e_system_types.h"
4848

4949
/*
5050
* -----------------------------------------------------------------------------
@@ -75,17 +75,17 @@ extern "C" {
7575
* @brief Defines the supply voltage for the TCXO.
7676
*
7777
* Available values:
78-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_1_6V (0x00) - Supply voltage = 1.6V
79-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_1_7V (0x01) - Supply voltage = 1.7V
80-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_1_8V (0x02) - Supply voltage = 1.8V
81-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_2_2V (0x03) - Supply voltage = 2.2V
82-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_2_4V (0x04) - Supply voltage = 2.4V
83-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_2_7V (0x05) - Supply voltage = 2.7V
84-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_3_0V (0x06) - Supply voltage = 3.0V
85-
* - LR1121_MODEM_SYSTEM_TCXO_CTRL_3_3V (0x07) - Supply voltage = 3.3V
78+
* - MODEM_E_SYSTEM_TCXO_CTRL_1_6V (0x00) - Supply voltage = 1.6V
79+
* - MODEM_E_SYSTEM_TCXO_CTRL_1_7V (0x01) - Supply voltage = 1.7V
80+
* - MODEM_E_SYSTEM_TCXO_CTRL_1_8V (0x02) - Supply voltage = 1.8V
81+
* - MODEM_E_SYSTEM_TCXO_CTRL_2_2V (0x03) - Supply voltage = 2.2V
82+
* - MODEM_E_SYSTEM_TCXO_CTRL_2_4V (0x04) - Supply voltage = 2.4V
83+
* - MODEM_E_SYSTEM_TCXO_CTRL_2_7V (0x05) - Supply voltage = 2.7V
84+
* - MODEM_E_SYSTEM_TCXO_CTRL_3_0V (0x06) - Supply voltage = 3.0V
85+
* - MODEM_E_SYSTEM_TCXO_CTRL_3_3V (0x07) - Supply voltage = 3.3V
8686
*/
8787
#ifndef BOARD_TCXO_SUPPLY_VOLTAGE
88-
#define BOARD_TCXO_SUPPLY_VOLTAGE LR1121_MODEM_SYSTEM_TCXO_CTRL_1_8V
88+
#define BOARD_TCXO_SUPPLY_VOLTAGE MODEM_E_SYSTEM_TCXO_CTRL_1_8V
8989
#endif
9090

9191
/**

0 commit comments

Comments
 (0)