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 #ifndef __COMMISSIONING_H__ 20 #define __COMMISSIONING_H__ 21 22 /*! 23 ****************************************************************************** 24 ********************************** WARNING *********************************** 25 ****************************************************************************** 26 27 The LoRaWAN AES128 keys are stored and provisionned on secure-elements. 28 29 This project providdes a software emulated secure-element. 30 The LoRaWAN AES128 keys SHALL be updated under 31 src/peripherals/<secure-element name>-se\se-identity.h file. 32 33 ****************************************************************************** 34 ****************************************************************************** 35 ****************************************************************************** 36 */ 37 #include "se-identity.h" 38 39 /*! 40 * When set to 1 the application uses the Over-the-Air activation procedure 41 * When set to 0 the application uses the Personalization activation procedure 42 */ 43 #define OVER_THE_AIR_ACTIVATION 1 44 45 /*! 46 * When using ABP activation the MAC layer must know in advance to which server 47 * version it will be connected. 48 */ 49 #define ABP_ACTIVATION_LRWAN_VERSION_V10x 0x01000400 // 1.0.4.0 50 51 #define ABP_ACTIVATION_LRWAN_VERSION ABP_ACTIVATION_LRWAN_VERSION_V10x 52 53 /*! 54 * Indicates if the end-device is to be connected to a private or public network 55 */ 56 #define LORAWAN_PUBLIC_NETWORK true 57 58 /*! 59 * Current network ID 60 */ 61 #define LORAWAN_NETWORK_ID ( uint32_t )0 62 63 #endif // __COMMISSIONING_H__ 64