* Build a request from a user command This one is mostly used with a READ
* function
*/
public Buffer buildRequestMsg(byte FC, byte group, byte variation,
boolean withData) {
Buffer requestFrame = new Buffer(S);
requestFrame.writeBytes(buildHeader(FC, group, variation));
requestFrame.writeByte(ALL_POINTS);
// if (withData) {
// requestFrame.writeBytes(dataMap.get(group, variation, dataMap
// .getIndexMin(group), dataMap.getIndexMax(group)));
// }