From fddd3fc1b5eceec6cc8179c5c8ca5bd6658505f3 Mon Sep 17 00:00:00 2001 From: jimmyhyc Date: Thu, 10 May 2018 12:05:53 +1000 Subject: [PATCH] Fix invalid parameter for TCL sec key. ZStack 3.0.1 --- lib/config/nv_start_options.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/config/nv_start_options.js b/lib/config/nv_start_options.js index 1d6368f7..d01415d2 100644 --- a/lib/config/nv_start_options.js +++ b/lib/config/nv_start_options.js @@ -51,10 +51,9 @@ var nvParams = { securityMode: { id: NVID16.TCLK_TABLE_START, // 0x0101 offset: 0x00, - len: 0x20, + len: 0x10, // ZigBee Alliance Pre-configured TC Link Key - 'ZigBeeAlliance09' - value: [ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5a, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6c, - 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x30, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ] + value: [ 0x5a, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x30, 0x39 ] }, znpCfgItem: { id: NVID16.ZNP_HAS_CONFIGURED, // 0x0F00