for US918 [US902-928]

This commit is contained in:
Yunhorn 2023-10-07 18:01:19 +08:00
parent a353e66867
commit 25347126e6
2 changed files with 4 additions and 3 deletions

View File

@ -39,7 +39,8 @@ extern "C" {
/* Exported constants --------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/
/* LoraWAN application configuration (Mw is configured by lorawan_conf.h) */ /* LoraWAN application configuration (Mw is configured by lorawan_conf.h) */
#define ACTIVE_REGION LORAMAC_REGION_EU868 //#define ACTIVE_REGION LORAMAC_REGION_EU868
#define ACTIVE_REGION LORAMAC_REGION_US915
/* USER CODE BEGIN EC_CAYENNE_LPP */ /* USER CODE BEGIN EC_CAYENNE_LPP */
/*! /*!

View File

@ -94,7 +94,7 @@ extern "C" {
/*#define REGION_CN470*/ /*#define REGION_CN470*/
/*#define REGION_CN779*/ /*#define REGION_CN779*/
/*#define REGION_EU433*/ /*#define REGION_EU433*/
#define REGION_EU868 /*#define REGION_EU868*/
/*#define REGION_KR920*/ /*#define REGION_KR920*/
/*#define REGION_IN865*/ /*#define REGION_IN865*/
#define REGION_US915 #define REGION_US915
@ -116,7 +116,7 @@ extern "C" {
* @note the default channel mask with this option activates the first 8 channels. \ * @note the default channel mask with this option activates the first 8 channels. \
* this default mask can be modified in the RegionXXXXXInitDefaults function associated with the active region. * this default mask can be modified in the RegionXXXXXInitDefaults function associated with the active region.
*/ */
#define HYBRID_ENABLED 0 #define HYBRID_ENABLED 1
/*! /*!
* @brief Define the read access of the keys in memory * @brief Define the read access of the keys in memory