Search in sources :

Example 1 with EzspGetRouteTableEntryRequest

use of com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetRouteTableEntryRequest in project com.zsmartsystems.zigbee by zsmartsystems.

the class EzspNeighborTable method getRoute.

private void getRoute(int route) {
    EzspGetRouteTableEntryRequest routeRequest = new EzspGetRouteTableEntryRequest();
    routeRequest.setIndex(route);
    EzspTransaction neighborTransaction = ashHandler.sendEzspTransaction(new EzspSingleResponseTransaction(routeRequest, EzspGetRouteTableEntryResponse.class));
    EzspGetRouteTableEntryResponse routeResponse = (EzspGetRouteTableEntryResponse) neighborTransaction.getResponse();
    logger.debug(routeResponse.toString());
    logger.debug("EZSP getRouteTableEntry {}", routeResponse);
}
Also used : EzspGetRouteTableEntryRequest(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetRouteTableEntryRequest) EzspTransaction(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspTransaction) EzspGetRouteTableEntryResponse(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetRouteTableEntryResponse) EzspSingleResponseTransaction(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspSingleResponseTransaction)

Aggregations

EzspGetRouteTableEntryRequest (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetRouteTableEntryRequest)1 EzspGetRouteTableEntryResponse (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetRouteTableEntryResponse)1 EzspSingleResponseTransaction (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspSingleResponseTransaction)1 EzspTransaction (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspTransaction)1