public final class BroadcastDataMessageFromHost extends DataMessageFromHost
LENGTH_STANDARD_PAYLOAD, OFFSET_PAYLOAD_STARTBITMASK_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| Constructor and Description | 
|---|
| BroadcastDataMessageFromHost(byte[] payload)Constructs the message from the message bytes. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getMessageContent(int channelNumber,
                 int networkNumber)The content of the message with specified channel number and network number set if required. | 
| MessageFromHostType | getMessageType()The unique type of this message based on its message id, contents, and intended channel 
 type. | 
| byte[] | getPayload()Gets the payload of the data message. | 
toStringcreateAntMessage, getMessageContent, getMessageContent, getMessageId, getRawMessageequals, getMessageContentString, getMessageIdString, hashCode, maskChannelNumberpublic BroadcastDataMessageFromHost(byte[] payload)
payload - The received message bytes.public byte[] getPayload()
DataMessageFromHostgetPayload in class DataMessageFromHostpublic byte[] getMessageContent(int channelNumber,
                       int networkNumber)
AntMessageFromHostgetMessageContent in class AntMessageFromHostchannelNumber - Written to the channel number byte if requirednetworkNumber - Written to the network number byte if requiredpublic MessageFromHostType getMessageType()
AntMessageFromHostIt is recommended to use this rather than the raw message ID.
getMessageType in class AntMessageFromHostCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.