Class ChannelStatusMessage


public class ChannelStatusMessage extends AntMessageFromAnt
Message that returns the status of the channel.
Since:
4.0
  • Field Details

    • OFFSET_CHANNEL_STATUS

      public static final int OFFSET_CHANNEL_STATUS
      The message content offset to the channel status value
      Since:
      4.0
      See Also:
    • BITMASK_STATUS_CHANNEL_TYPE

      public static final byte BITMASK_STATUS_CHANNEL_TYPE
      The mask used to retrieve the channel type
      Since:
      4.0
      See Also:
    • BITMASK_STATUS_CHANNEL_STATE

      public static final byte BITMASK_STATUS_CHANNEL_STATE
      The mask used to retrieve the channel state
      Since:
      4.0
      See Also:
    • BITSHIFT_STATUS_CHANNEL_TYPE

      public static final int BITSHIFT_STATUS_CHANNEL_TYPE
      The shift applied to the retrieved channel type value
      Since:
      4.0
      See Also:
    • BITSHIFT_STATUS_CHANNEL_STATE

      public static final int BITSHIFT_STATUS_CHANNEL_STATE
      The shift applied to the retrieved channel state value
      Since:
      4.0
      See Also:
  • Constructor Details

    • ChannelStatusMessage

      public ChannelStatusMessage(AntMessageParcel messageParcel)
      Parse message specific information from the given ANT message parcel.
      Parameters:
      messageParcel - Raw ANT message received form the ANT Radio Service.
      Throws:
      IllegalArgumentException - If the parcel is for the wrong message type.
      Since:
      4.0
    • ChannelStatusMessage

      protected ChannelStatusMessage(byte[] messageContent)
  • Method Details