public BidibCommand createFeatureGet(int number) { BidibCommand bidibCommand = new FeatureGetMessage(number); return initializeCommand(bidibCommand); }
public int getNumber() { return ByteUtils.getInt(getData()[0]); }
try { FeatureGetMessage featureGetMessage = (FeatureGetMessage) bidibMessage; int featureNum = featureGetMessage.getNumber(); LOGGER.info("Get feature with number: {}", featureNum); new FeatureResponse(featureGetMessage.getAddr(), getNextSendNum(), featureNum, foundFeature.getValue()); response = featureResponse.getContent();
break; case BidibLibrary.MSG_FEATURE_GET: concreteBidibMessage = new FeatureGetMessage(message); break; case BidibLibrary.MSG_FEATURE_SET: