L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
Commissioning.h
Go to the documentation of this file.
1/*!
2 * \file Commissioning.h
3 *
4 * \brief End-device commissioning parameters
5 *
6 * \copyright Revised BSD License, see section \ref LICENSE.
7 *
8 * \code
9 * ______ _
10 * / _____) _ | |
11 * ( (____ _____ ____ _| |_ _____ ____| |__
12 * \____ \| ___ | (_ _) ___ |/ ___) _ \
13 * _____) ) ____| | | || |_| ____( (___| | | |
14 * (______/|_____)_|_|_| \__)_____)\____)_| |_|
15 * (C)2013-2020 Semtech
16 *
17 * \endcode
18 */
19/**
20 ******************************************************************************
21 *
22 * Portions COPYRIGHT 2020 STMicroelectronics
23 *
24 * @file Commissioning.h
25 * @author MCD Application Team
26 * @brief End-device commissioning parameters
27 ******************************************************************************
28 */
29
30/* Define to prevent recursive inclusion -------------------------------------*/
31#ifndef __COMMISSIONING_H__
32#define __COMMISSIONING_H__
33
34/*!
35 ******************************************************************************
36 ********************************** WARNING ***********************************
37 ******************************************************************************
38
39 The LoRaWAN AES128 keys are stored and provisioned on secure-elements.
40
41 This project provides a software emulated secure-element.
42 The LoRaWAN AES128 keys SHALL be updated under
43 src/peripherals/<secure-element name>-se\se-identity.h file.
44
45 ******************************************************************************
46 ******************************************************************************
47 ******************************************************************************
48 */
49#include "se-identity.h"
50#include "LoRaMacVersion.h"
51
52/* USER CODE BEGIN EC1 */
53
54/* USER CODE END EC1 */
55
56/*!
57 * When using ABP activation the MAC layer must know in advance to which server
58 * version it will be connected.
59 */
60#define ABP_ACTIVATION_LRWAN_VERSION LORAMAC_VERSION
61
62/*!
63 * Indicates if the end-device support the operation with repeaters
64 */
65#define LORAWAN_REPEATER_SUPPORT false
66
67/*!
68 * Indicates if the end-device is to be connected to a private or public network
69 */
70#define LORAWAN_PUBLIC_NETWORK true
71
72/*!
73 * Current network ID
74 */
75#define LORAWAN_NETWORK_ID ( uint32_t )0
76
77/* USER CODE BEGIN EC2 */
78
79/* USER CODE END EC2 */
80
81#endif /* __COMMISSIONING_H__ */
Secure Element identity and keys.