use of com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspLeaveNetworkRequest in project com.zsmartsystems.zigbee by zsmartsystems.
the class EmberNetworkInitialisation method doLeaveNetwork.
private boolean doLeaveNetwork() {
EzspLeaveNetworkRequest leaveNetworkRequest = new EzspLeaveNetworkRequest();
EzspTransaction leaveNetworkTransaction = ashHandler.sendEzspTransaction(new EzspSingleResponseTransaction(leaveNetworkRequest, EzspLeaveNetworkResponse.class));
EzspLeaveNetworkResponse leaveNetworkResponse = (EzspLeaveNetworkResponse) leaveNetworkTransaction.getResponse();
logger.debug(leaveNetworkResponse.toString());
return leaveNetworkResponse.getStatus() == EmberStatus.EMBER_SUCCESS;
}
Aggregations