Skip to content

Commit

Permalink
Improved diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Feb 4, 2023
1 parent 6f98823 commit fd1933b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package com.rapplogic.xbee.api;

import com.rapplogic.xbee.util.ByteUtils;

/**
* The super class of all XBee transmit packets.
* Constructs frame data portion of an XBee packet
Expand Down Expand Up @@ -65,6 +67,6 @@ public byte getFrameId() {

@Override
public String toString() {
return "apiId=" + getApiId() + ",frameId=" + getFrameId();
return "apiId=" + getApiId() + ",frameId=" + ByteUtils.toBase16(getFrameId());
}
}

0 comments on commit fd1933b

Please sign in to comment.