Skip to content

Commit

Permalink
Fix CC2530_CC2591 and CC2530_CC2592 transmit power (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed May 13, 2019
1 parent fb41e11 commit 4825bb2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions coordinator/Z-Stack_Home_1.2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 20190513
- CC2530_CC2591 and CC2530_CC2592 only; fix transmit power (yes, again)

# 20190507
- CC2530_CC2591 and CC2530_CC2592 only; fix transmit power

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions coordinator/Z-Stack_Home_1.2/firmware.patch
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ index 35aae57..1f8ee82 100644

diff --git a/Components/mt/revision_info.h b/Components/mt/revision_info.h
new file mode 100644
index 0000000..6f8878c
index 0000000..f42acc8
--- /dev/null
+++ b/Components/mt/revision_info.h
@@ -0,0 +1 @@
+#define CODE_REVISION_NUMBER 20190507
+#define CODE_REVISION_NUMBER 20190513
\ No newline at end of file
diff --git a/Components/stack/af/AF.c b/Components/stack/af/AF.c
index c6183b6..2b885b6 100644
Expand Down Expand Up @@ -270,7 +270,7 @@ index 7e524a9..6326400 100644
+--preinclude=preinclude.h
\ No newline at end of file
diff --git a/Projects/zstack/ZNP/Source/znp_app.c b/Projects/zstack/ZNP/Source/znp_app.c
index 470ff12..03392ae 100644
index 470ff12..e42ac65 100644
--- a/Projects/zstack/ZNP/Source/znp_app.c
+++ b/Projects/zstack/ZNP/Source/znp_app.c
@@ -390,12 +390,23 @@ static void npInit(void)
Expand Down Expand Up @@ -305,7 +305,7 @@ index 470ff12..03392ae 100644
+
+#if defined FIRMWARE_CC2530_CC2591 || defined(FIRMWARE_CC2530_CC2592)
+ //Add TX Setting
+ #ifdef defined HAL_PA_LNA || defined HAL_PA_LNA_CC2592
+ #if defined HAL_PA_LNA || defined HAL_PA_LNA_CC2592
+ ZMacSetTransmitPower(TX_PWR_PLUS_19);
+ #else
+ ZMacSetTransmitPower(TX_PWR_PLUS_4);
Expand Down

0 comments on commit 4825bb2

Please sign in to comment.