From e6bc2ea0d68b1f1e94b9ba06d372c446357bc3f4 Mon Sep 17 00:00:00 2001 From: Chris Jackson Date: Tue, 5 Nov 2024 12:54:00 +1300 Subject: [PATCH] Remove pre-configuration printout of Ember config (#1444) Signed-off-by: Chris Jackson --- .../zigbee/dongle/ember/ZigBeeDongleEzsp.java | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java b/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java index f63ff13b3..8a1c11046 100644 --- a/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java +++ b/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/ZigBeeDongleEzsp.java @@ -436,26 +436,14 @@ public ZigBeeStatus initialize() { // Perform any stack configuration EmberStackConfiguration stackConfigurer = new EmberStackConfiguration(getEmberNcp()); - Map configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); - for (Entry config : configuration.entrySet()) { - logger.debug("Configuration state {} = {}", config.getKey(), config.getValue()); - } - - Map policies = stackConfigurer.getPolicy(stackPolicies.keySet()); - for (Entry policy : policies.entrySet()) { - EzspDecisionId decisionId = EzspDecisionId.getEzspDecisionId(policy.getValue()); - logger.debug("Policy state {} = {} [{}]", policy.getKey(), decisionId, - String.format("%02X", policy.getValue())); - } - stackConfigurer.setConfiguration(stackConfiguration); - configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); + Map configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet()); for (Entry config : configuration.entrySet()) { logger.debug("Configuration state {} = {}", config.getKey(), config.getValue()); } stackConfigurer.setPolicy(stackPolicies); - policies = stackConfigurer.getPolicy(stackPolicies.keySet()); + Map policies = stackConfigurer.getPolicy(stackPolicies.keySet()); for (Entry policy : policies.entrySet()) { EzspDecisionId decisionId = null; try {