Skip to content

Commit

Permalink
Remove pre-configuration printout of Ember config (#1444)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <[email protected]>
  • Loading branch information
cdjackson authored Nov 4, 2024
1 parent 04111d7 commit e6bc2ea
Showing 1 changed file with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,26 +436,14 @@ public ZigBeeStatus initialize() {
// Perform any stack configuration
EmberStackConfiguration stackConfigurer = new EmberStackConfiguration(getEmberNcp());

Map<EzspConfigId, Integer> configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet());
for (Entry<EzspConfigId, Integer> config : configuration.entrySet()) {
logger.debug("Configuration state {} = {}", config.getKey(), config.getValue());
}

Map<EzspPolicyId, Integer> policies = stackConfigurer.getPolicy(stackPolicies.keySet());
for (Entry<EzspPolicyId, Integer> 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<EzspConfigId, Integer> configuration = stackConfigurer.getConfiguration(stackConfiguration.keySet());
for (Entry<EzspConfigId, Integer> config : configuration.entrySet()) {
logger.debug("Configuration state {} = {}", config.getKey(), config.getValue());
}

stackConfigurer.setPolicy(stackPolicies);
policies = stackConfigurer.getPolicy(stackPolicies.keySet());
Map<EzspPolicyId, Integer> policies = stackConfigurer.getPolicy(stackPolicies.keySet());
for (Entry<EzspPolicyId, Integer> policy : policies.entrySet()) {
EzspDecisionId decisionId = null;
try {
Expand Down

0 comments on commit e6bc2ea

Please sign in to comment.