public abstract class DataMessage extends AntMessageFromAnt
MessageFromAntType.BROADCAST_DATA, 
 MessageFromAntType.ACKNOWLEDGED_DATA, or MessageFromAntType.BURST_TRANSFER_DATA 
 type message.| Modifier and Type | Field and Description | 
|---|---|
| static int | LENGTH_STANDARD_PAYLOADThe length in bytes of the standard payload in a broadcast, acknowledged, 
 or burst message. | 
| static int | OFFSET_PAYLOAD_STARTThe message content offset to the first byte of the payload. | 
BITMASK_CHANNEL_NUMBER, FILLER_BYTE, OFFSET_CHANNEL_NUMBER, RAW_OFFSET_MESSAGE_CONTENT_START, RAW_OFFSET_MESSAGE_ID, RAW_OFFSET_MESSAGE_SIZE, SIZE_CHANNEL_NUMBER, SIZE_FILLER_BYTE| Modifier and Type | Method and Description | 
|---|---|
| ExtendedData | getExtendedData()Gets the extended data contained in the data message if it has extended
 data. | 
| byte[] | getPayload()Extracts the data payload of the data message received. | 
| boolean | hasExtendedData()Checks if the received data message contains extended data. | 
| java.lang.String | toString() | 
createAntMessage, createAntMessage, getMessageContent, getMessageId, getMessageTypeequals, getMessageContentString, getMessageIdString, hashCode, maskChannelNumberpublic static final int LENGTH_STANDARD_PAYLOAD
public static final int OFFSET_PAYLOAD_START
public byte[] getPayload()
public boolean hasExtendedData()
public ExtendedData getExtendedData()
ExtendedData.public java.lang.String toString()
toString in class AntMessageFromAntCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.