com.rapplogic.xbee.api.XBeeFrameIdResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xbee-api Show documentation
Show all versions of xbee-api Show documentation
A java library for communicating with XBee radios
The newest version!
/**
* Copyright (c) 2008 Andrew Rapp. All rights reserved.
*
* This file is part of XBee-API.
*
* XBee-API is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* XBee-API is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBee-API. If not, see .
*/
package com.rapplogic.xbee.api;
import com.rapplogic.xbee.util.ByteUtils;
/**
* Represents all XBee responses that contain a frame id
*
* @author andrew
*
*/
public abstract class XBeeFrameIdResponse extends XBeeResponse {
private int frameId;
public int getFrameId() {
return frameId;
}
public void setFrameId(int frameId) {
this.frameId = frameId;
}
public String toString() {
return super.toString() + ",frameId=" + ByteUtils.toBase16(this.frameId);
}
}