use of com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetNeighborRequest in project com.zsmartsystems.zigbee by zsmartsystems.
the class EzspNeighborTable method getNeighbor.
private void getNeighbor(int neighbor) {
EzspGetNeighborRequest neighborRequest = new EzspGetNeighborRequest();
neighborRequest.setIndex(neighbor);
EzspTransaction neighborTransaction = ashHandler.sendEzspTransaction(new EzspSingleResponseTransaction(neighborRequest, EzspGetNeighborResponse.class));
EzspGetNeighborResponse neighborResponse = (EzspGetNeighborResponse) neighborTransaction.getResponse();
logger.debug(neighborResponse.toString());
logger.debug("EZSP getNetworkResponse {}", neighborResponse);
}
Aggregations