use of com.zsmartsystems.zigbee.dongle.conbee.internal.transaction.ConBeeSingleResponseTransaction in project com.zsmartsystems.zigbee by zsmartsystems.
the class ZigBeeDongleConBee method getZigBeeChannel.
@Override
public int getZigBeeChannel() {
ConBeeReadParameterRequest readParameter = new ConBeeReadParameterRequest();
readParameter.setParameter(ConBeeNetworkParameter.CURRENT_CHANNEL);
ConBeeReadParameterResponse response = (ConBeeReadParameterResponse) conbeeHandler.sendTransaction(new ConBeeSingleResponseTransaction(readParameter, ConBeeReadParameterResponse.class)).getResponse();
return (int) response.getValue();
}
use of com.zsmartsystems.zigbee.dongle.conbee.internal.transaction.ConBeeSingleResponseTransaction in project com.zsmartsystems.zigbee by zsmartsystems.
the class ZigBeeDongleConBee method getZigBeeExtendedPanId.
@Override
public ExtendedPanId getZigBeeExtendedPanId() {
ConBeeReadParameterRequest readParameter = new ConBeeReadParameterRequest();
readParameter.setParameter(ConBeeNetworkParameter.NWK_EXTENDED_PANID);
ConBeeReadParameterResponse response = (ConBeeReadParameterResponse) conbeeHandler.sendTransaction(new ConBeeSingleResponseTransaction(readParameter, ConBeeReadParameterResponse.class)).getResponse();
return (ExtendedPanId) response.getValue();
}
Aggregations