-
-
Save Koenkk/86fe1521f38c67c43a8ce7519ce293ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b281c73ff3b12ae3602e7c0485d88dd37474ff47 Mon Sep 17 00:00:00 2001 | |
From: koenkk <koenkanters94@gmail.com> | |
Date: Tue, 14 Nov 2023 20:42:27 +0100 | |
Subject: [PATCH] 20230924 | |
--- | |
.../Application/mt/mt_version.c | 8 +++++++- | |
.../Stack/Config/preinclude.h | 6 ++++++ | |
.../Stack/Config/znp_cnf.opts | 2 ++ | |
.../Stack/sys/zglobals.c | 2 +- | |
4 files changed, 16 insertions(+), 2 deletions(-) | |
create mode 100644 znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/preinclude.h | |
diff --git a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Application/mt/mt_version.c b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Application/mt/mt_version.c | |
index 6a9b760..5b77352 100644 | |
--- a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Application/mt/mt_version.c | |
+++ b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Application/mt/mt_version.c | |
@@ -69,15 +69,21 @@ | |
#include "zcomdef.h" | |
#include "mt_version.h" | |
+#define CODE_REVISION_NUMBER 20230924 | |
+ | |
/****************************************************************************** | |
* CONSTANTS | |
*****************************************************************************/ | |
const uint8_t MTVersionString[] = { | |
2, /* Transport protocol revision */ | |
- 0, /* Product ID */ | |
+ 1, /* Product ID */ | |
2, /* Software major release number */ | |
7, /* Software minor release number */ | |
1, /* Software maintenance release number */ | |
+ ((CODE_REVISION_NUMBER >> 0) & 0xFF), | |
+ ((CODE_REVISION_NUMBER >> 8) & 0xFF), | |
+ ((CODE_REVISION_NUMBER >> 16) & 0xFF), | |
+ ((CODE_REVISION_NUMBER >> 24) & 0xFF), | |
}; | |
/****************************************************************************** | |
diff --git a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/preinclude.h b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/preinclude.h | |
new file mode 100644 | |
index 0000000..6a90562 | |
--- /dev/null | |
+++ b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/preinclude.h | |
@@ -0,0 +1,6 @@ | |
+#define MT_SYS_KEY_MANAGEMENT 1 | |
+#define FEATURE_NVEXID 1 | |
+#define MULTICAST_ENABLED FALSE | |
+#define CONCENTRATOR_ENABLE TRUE | |
+#define CONCENTRATOR_ROUTE_CACHE TRUE | |
+#define ZDSECMGR_TC_DEVICE_MAX 100 | |
diff --git a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/znp_cnf.opts b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/znp_cnf.opts | |
index 6e3cb6a..6c60f91 100644 | |
--- a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/znp_cnf.opts | |
+++ b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/Config/znp_cnf.opts | |
@@ -32,3 +32,5 @@ | |
-DMT_GP_CB_FUNC | |
-DMT_APP_CNF_FUNC | |
+ | |
+-include preinclude.h | |
\ No newline at end of file | |
diff --git a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/sys/zglobals.c b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/sys/zglobals.c | |
index 706736b..07bede3 100644 | |
--- a/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/sys/zglobals.c | |
+++ b/znp_CC1352P_2_LAUNCHXL_tirtos_ticlang/Stack/sys/zglobals.c | |
@@ -131,7 +131,7 @@ uint8_t zgSecurePermitJoin = TRUE; | |
// TC Link Key. In this scenario, if this flag is TRUE, the Trust Center will | |
// encrypt the outgoing NWK Key with the default TC Link Key (ZigbeeAlliance09). | |
// If this flag is FALSE (default), the Trust Center will not send the NWK Key at all. | |
-uint8_t zgAllowRejoinsWithWellKnownKey = FALSE; | |
+uint8_t zgAllowRejoinsWithWellKnownKey = TRUE; // https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/p/882650/3265311#3265311 | |
//allowInstallCodes | |
uint8_t zgAllowInstallCodes = ZG_IC_SUPPORTED_NOT_REQUIRED; | |
-- | |
2.41.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment