Search in sources :

Example 1 with EzspGetParentChildParametersRequest

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

the class EmberNcp method getChildParameters.

/**
 * Returns information about the children of the local node and the parent of the local node.
 *
 * @return the {@link EzspGetParentChildParametersResponse}
 */
public EzspGetParentChildParametersResponse getChildParameters() {
    EzspGetParentChildParametersRequest request = new EzspGetParentChildParametersRequest();
    EzspTransaction transaction = ashHandler.sendEzspTransaction(new EzspSingleResponseTransaction(request, EzspGetParentChildParametersResponse.class));
    EzspGetParentChildParametersResponse response = (EzspGetParentChildParametersResponse) transaction.getResponse();
    lastStatus = null;
    return response;
}
Also used : EzspTransaction(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspTransaction) EzspGetParentChildParametersResponse(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetParentChildParametersResponse) EzspSingleResponseTransaction(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspSingleResponseTransaction) EzspGetParentChildParametersRequest(com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetParentChildParametersRequest)

Aggregations

EzspGetParentChildParametersRequest (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetParentChildParametersRequest)1 EzspGetParentChildParametersResponse (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.command.EzspGetParentChildParametersResponse)1 EzspSingleResponseTransaction (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspSingleResponseTransaction)1 EzspTransaction (com.zsmartsystems.zigbee.dongle.ember.internal.ezsp.transaction.EzspTransaction)1