com.dsi.ant
Class AntMesg
java.lang.Object
com.dsi.ant.AntMesg
public class AntMesg
- extends java.lang.Object
AntMesg contains definitions for ANT message IDs
Android ANT packets are in the format:
II JJ ------
where: II is the 1 byte size of the ANT message (0-249)
JJ is the 1 byte ID of the ANT message (1-255, 0 is invalid)
------ is the data of the ANT message (0-249 bytes of data)
Note, no sync byte or checksum byte is included.
Multiple packets can be concatenated for a transmit request. The maximum number is hardware dependent.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MESG_SYNC_SIZE
public static final byte MESG_SYNC_SIZE
- We do not include a sync byte at application level.
- See Also:
- Constant Field Values
MESG_SIZE_SIZE
public static final byte MESG_SIZE_SIZE
- See Also:
- Constant Field Values
MESG_ID_SIZE
public static final byte MESG_ID_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_NUM_SIZE
public static final byte MESG_CHANNEL_NUM_SIZE
- See Also:
- Constant Field Values
MESG_EXT_MESG_BF_SIZE
public static final byte MESG_EXT_MESG_BF_SIZE
- NOTE: This could increase in the future.
- See Also:
- Constant Field Values
MESG_CHECKSUM_SIZE
public static final byte MESG_CHECKSUM_SIZE
- We do not include a checksum at application level.
- See Also:
- Constant Field Values
MESG_DATA_SIZE
public static final byte MESG_DATA_SIZE
- See Also:
- Constant Field Values
MESG_ANT_MAX_PAYLOAD_SIZE
public static final byte MESG_ANT_MAX_PAYLOAD_SIZE
- The largest serial message is an ANT data message with all of the extended fields
- See Also:
- Constant Field Values
MESG_MAX_EXT_DATA_SIZE
public static final byte MESG_MAX_EXT_DATA_SIZE
- ANT device ID (4 bytes) + Padding for ANT EXT string size(19 bytes)
- See Also:
- Constant Field Values
MESG_MAX_DATA_SIZE
public static final byte MESG_MAX_DATA_SIZE
- ANT data payload (8 bytes) + extended bitfield (1 byte) + extended data (10 bytes)
- See Also:
- Constant Field Values
MESG_MAX_SIZE_VALUE
public static final byte MESG_MAX_SIZE_VALUE
- this is the maximum value that the serial message size value is allowed to be
- See Also:
- Constant Field Values
MESG_BUFFER_SIZE
public static final byte MESG_BUFFER_SIZE
- See Also:
- Constant Field Values
MESG_FRAMED_SIZE
public static final byte MESG_FRAMED_SIZE
- See Also:
- Constant Field Values
MESG_HEADER_SIZE
public static final byte MESG_HEADER_SIZE
- See Also:
- Constant Field Values
MESG_FRAME_SIZE
public static final byte MESG_FRAME_SIZE
- See Also:
- Constant Field Values
MESG_MAX_SIZE
public static final byte MESG_MAX_SIZE
- See Also:
- Constant Field Values
MESG_SIZE_OFFSET
public static final byte MESG_SIZE_OFFSET
- See Also:
- Constant Field Values
MESG_ID_OFFSET
public static final byte MESG_ID_OFFSET
- See Also:
- Constant Field Values
MESG_DATA_OFFSET
public static final byte MESG_DATA_OFFSET
- See Also:
- Constant Field Values
MESG_RECOMMENDED_BUFFER_SIZE
public static final byte MESG_RECOMMENDED_BUFFER_SIZE
- This is the recommended size for serial message buffers if there are no RAM restrictions on the system
- See Also:
- Constant Field Values
MESG_INVALID_ID
public static final byte MESG_INVALID_ID
- See Also:
- Constant Field Values
MESG_EVENT_ID
public static final byte MESG_EVENT_ID
- See Also:
- Constant Field Values
MESG_VERSION_ID
public static final byte MESG_VERSION_ID
- See Also:
- Constant Field Values
MESG_RESPONSE_EVENT_ID
public static final byte MESG_RESPONSE_EVENT_ID
- See Also:
- Constant Field Values
MESG_UNASSIGN_CHANNEL_ID
public static final byte MESG_UNASSIGN_CHANNEL_ID
- See Also:
- Constant Field Values
MESG_ASSIGN_CHANNEL_ID
public static final byte MESG_ASSIGN_CHANNEL_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_MESG_PERIOD_ID
public static final byte MESG_CHANNEL_MESG_PERIOD_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_SEARCH_TIMEOUT_ID
public static final byte MESG_CHANNEL_SEARCH_TIMEOUT_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_RADIO_FREQ_ID
public static final byte MESG_CHANNEL_RADIO_FREQ_ID
- See Also:
- Constant Field Values
MESG_NETWORK_KEY_ID
public static final byte MESG_NETWORK_KEY_ID
- See Also:
- Constant Field Values
MESG_RADIO_TX_POWER_ID
public static final byte MESG_RADIO_TX_POWER_ID
- See Also:
- Constant Field Values
MESG_RADIO_CW_MODE_ID
public static final byte MESG_RADIO_CW_MODE_ID
- See Also:
- Constant Field Values
MESG_SYSTEM_RESET_ID
public static final byte MESG_SYSTEM_RESET_ID
- See Also:
- Constant Field Values
MESG_OPEN_CHANNEL_ID
public static final byte MESG_OPEN_CHANNEL_ID
- See Also:
- Constant Field Values
MESG_CLOSE_CHANNEL_ID
public static final byte MESG_CLOSE_CHANNEL_ID
- See Also:
- Constant Field Values
MESG_REQUEST_ID
public static final byte MESG_REQUEST_ID
- See Also:
- Constant Field Values
MESG_BROADCAST_DATA_ID
public static final byte MESG_BROADCAST_DATA_ID
- See Also:
- Constant Field Values
MESG_ACKNOWLEDGED_DATA_ID
public static final byte MESG_ACKNOWLEDGED_DATA_ID
- See Also:
- Constant Field Values
MESG_BURST_DATA_ID
public static final byte MESG_BURST_DATA_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_ID_ID
public static final byte MESG_CHANNEL_ID_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_STATUS_ID
public static final byte MESG_CHANNEL_STATUS_ID
- See Also:
- Constant Field Values
MESG_RADIO_CW_INIT_ID
public static final byte MESG_RADIO_CW_INIT_ID
- See Also:
- Constant Field Values
MESG_CAPABILITIES_ID
public static final byte MESG_CAPABILITIES_ID
- See Also:
- Constant Field Values
MESG_STACKLIMIT_ID
public static final byte MESG_STACKLIMIT_ID
- See Also:
- Constant Field Values
MESG_SCRIPT_DATA_ID
public static final byte MESG_SCRIPT_DATA_ID
- See Also:
- Constant Field Values
MESG_SCRIPT_CMD_ID
public static final byte MESG_SCRIPT_CMD_ID
- See Also:
- Constant Field Values
MESG_ID_LIST_ADD_ID
public static final byte MESG_ID_LIST_ADD_ID
- See Also:
- Constant Field Values
MESG_ID_LIST_CONFIG_ID
public static final byte MESG_ID_LIST_CONFIG_ID
- See Also:
- Constant Field Values
MESG_OPEN_RX_SCAN_ID
public static final byte MESG_OPEN_RX_SCAN_ID
- See Also:
- Constant Field Values
MESG_EXT_CHANNEL_RADIO_FREQ_ID
public static final byte MESG_EXT_CHANNEL_RADIO_FREQ_ID
- Deprecated.
- OBSOLETE: (for 905 radio)
- See Also:
- Constant Field Values
MESG_EXT_BROADCAST_DATA_ID
public static final byte MESG_EXT_BROADCAST_DATA_ID
- See Also:
- Constant Field Values
MESG_EXT_ACKNOWLEDGED_DATA_ID
public static final byte MESG_EXT_ACKNOWLEDGED_DATA_ID
- See Also:
- Constant Field Values
MESG_EXT_BURST_DATA_ID
public static final byte MESG_EXT_BURST_DATA_ID
- See Also:
- Constant Field Values
MESG_CHANNEL_RADIO_TX_POWER_ID
public static final byte MESG_CHANNEL_RADIO_TX_POWER_ID
- See Also:
- Constant Field Values
MESG_GET_SERIAL_NUM_ID
public static final byte MESG_GET_SERIAL_NUM_ID
- See Also:
- Constant Field Values
MESG_GET_TEMP_CAL_ID
public static final byte MESG_GET_TEMP_CAL_ID
- See Also:
- Constant Field Values
MESG_SET_LP_SEARCH_TIMEOUT_ID
public static final byte MESG_SET_LP_SEARCH_TIMEOUT_ID
- See Also:
- Constant Field Values
MESG_SET_TX_SEARCH_ON_NEXT_ID
public static final byte MESG_SET_TX_SEARCH_ON_NEXT_ID
- See Also:
- Constant Field Values
MESG_SERIAL_NUM_SET_CHANNEL_ID_ID
public static final byte MESG_SERIAL_NUM_SET_CHANNEL_ID_ID
- See Also:
- Constant Field Values
MESG_RX_EXT_MESGS_ENABLE_ID
public static final byte MESG_RX_EXT_MESGS_ENABLE_ID
- See Also:
- Constant Field Values
MESG_RADIO_CONFIG_ALWAYS_ID
public static final byte MESG_RADIO_CONFIG_ALWAYS_ID
- See Also:
- Constant Field Values
MESG_ENABLE_LED_FLASH_ID
public static final byte MESG_ENABLE_LED_FLASH_ID
- See Also:
- Constant Field Values
MESG_XTAL_ENABLE_ID
public static final byte MESG_XTAL_ENABLE_ID
- See Also:
- Constant Field Values
MESG_STARTUP_MESG_ID
public static final byte MESG_STARTUP_MESG_ID
- See Also:
- Constant Field Values
MESG_AUTO_FREQ_CONFIG_ID
public static final byte MESG_AUTO_FREQ_CONFIG_ID
- See Also:
- Constant Field Values
MESG_PROX_SEARCH_CONFIG_ID
public static final byte MESG_PROX_SEARCH_CONFIG_ID
- See Also:
- Constant Field Values
MESG_EVENT_BUFFERING_CONFIG_ID
public static final byte MESG_EVENT_BUFFERING_CONFIG_ID
- See Also:
- Constant Field Values
MESG_CUBE_CMD_ID
public static final byte MESG_CUBE_CMD_ID
- See Also:
- Constant Field Values
MESG_GET_PIN_DIODE_CONTROL_ID
public static final byte MESG_GET_PIN_DIODE_CONTROL_ID
- See Also:
- Constant Field Values
MESG_PIN_DIODE_CONTROL_ID
public static final byte MESG_PIN_DIODE_CONTROL_ID
- See Also:
- Constant Field Values
MESG_FIT1_SET_AGC_ID
public static final byte MESG_FIT1_SET_AGC_ID
- See Also:
- Constant Field Values
MESG_FIT1_SET_EQUIP_STATE_ID
public static final byte MESG_FIT1_SET_EQUIP_STATE_ID
- CONFLICT: w/ Sensrcore, Fit1 will never have sensrcore enabled
- See Also:
- Constant Field Values
MESG_SET_CHANNEL_INPUT_MASK_ID
public static final byte MESG_SET_CHANNEL_INPUT_MASK_ID
- See Also:
- Constant Field Values
MESG_SET_CHANNEL_DATA_TYPE_ID
public static final byte MESG_SET_CHANNEL_DATA_TYPE_ID
- See Also:
- Constant Field Values
MESG_READ_PINS_FOR_SECT_ID
public static final byte MESG_READ_PINS_FOR_SECT_ID
- See Also:
- Constant Field Values
MESG_TIMER_SELECT_ID
public static final byte MESG_TIMER_SELECT_ID
- See Also:
- Constant Field Values
MESG_ATOD_SETTINGS_ID
public static final byte MESG_ATOD_SETTINGS_ID
- See Also:
- Constant Field Values
MESG_SET_SHARED_ADDRESS_ID
public static final byte MESG_SET_SHARED_ADDRESS_ID
- See Also:
- Constant Field Values
MESG_ATOD_EXTERNAL_ENABLE_ID
public static final byte MESG_ATOD_EXTERNAL_ENABLE_ID
- See Also:
- Constant Field Values
MESG_ATOD_PIN_SETUP_ID
public static final byte MESG_ATOD_PIN_SETUP_ID
- See Also:
- Constant Field Values
MESG_SETUP_ALARM_ID
public static final byte MESG_SETUP_ALARM_ID
- See Also:
- Constant Field Values
MESG_ALARM_VARIABLE_MODIFY_TEST_ID
public static final byte MESG_ALARM_VARIABLE_MODIFY_TEST_ID
- See Also:
- Constant Field Values
MESG_PARTIAL_RESET_ID
public static final byte MESG_PARTIAL_RESET_ID
- See Also:
- Constant Field Values
MESG_OVERWRITE_TEMP_CAL_ID
public static final byte MESG_OVERWRITE_TEMP_CAL_ID
- See Also:
- Constant Field Values
MESG_SERIAL_PASSTHRU_SETTINGS_ID
public static final byte MESG_SERIAL_PASSTHRU_SETTINGS_ID
- See Also:
- Constant Field Values
MESG_BIST_ID
public static final byte MESG_BIST_ID
- See Also:
- Constant Field Values
MESG_UNLOCK_INTERFACE_ID
public static final byte MESG_UNLOCK_INTERFACE_ID
- See Also:
- Constant Field Values
MESG_SERIAL_ERROR_ID
public static final byte MESG_SERIAL_ERROR_ID
- See Also:
- Constant Field Values
MESG_SET_ID_STRING_ID
public static final byte MESG_SET_ID_STRING_ID
- See Also:
- Constant Field Values
MESG_PORT_GET_IO_STATE_ID
public static final byte MESG_PORT_GET_IO_STATE_ID
- See Also:
- Constant Field Values
MESG_PORT_SET_IO_STATE_ID
public static final byte MESG_PORT_SET_IO_STATE_ID
- See Also:
- Constant Field Values
MESG_SLEEP_ID
public static final byte MESG_SLEEP_ID
- See Also:
- Constant Field Values
MESG_GET_GRMN_ESN_ID
public static final byte MESG_GET_GRMN_ESN_ID
- See Also:
- Constant Field Values
MESG_SET_USB_INFO_ID
public static final byte MESG_SET_USB_INFO_ID
- See Also:
- Constant Field Values
MESG_COMMAND_COMPLETE_RESPONSE_ID
public static final byte MESG_COMMAND_COMPLETE_RESPONSE_ID
- See Also:
- Constant Field Values
MESG_COMMAND_COMPLETE_SUCCESS
public static final byte MESG_COMMAND_COMPLETE_SUCCESS
- See Also:
- Constant Field Values
MESG_COMMAND_COMPLETE_RETRY
public static final byte MESG_COMMAND_COMPLETE_RETRY
- See Also:
- Constant Field Values
MESG_INVALID_SIZE
public static final byte MESG_INVALID_SIZE
- See Also:
- Constant Field Values
MESG_VERSION_SIZE
public static final byte MESG_VERSION_SIZE
- See Also:
- Constant Field Values
MESG_RESPONSE_EVENT_SIZE
public static final byte MESG_RESPONSE_EVENT_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_STATUS_SIZE
public static final byte MESG_CHANNEL_STATUS_SIZE
- See Also:
- Constant Field Values
MESG_UNASSIGN_CHANNEL_SIZE
public static final byte MESG_UNASSIGN_CHANNEL_SIZE
- See Also:
- Constant Field Values
MESG_ASSIGN_CHANNEL_SIZE
public static final byte MESG_ASSIGN_CHANNEL_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_ID_SIZE
public static final byte MESG_CHANNEL_ID_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_MESG_PERIOD_SIZE
public static final byte MESG_CHANNEL_MESG_PERIOD_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_SEARCH_TIMEOUT_SIZE
public static final byte MESG_CHANNEL_SEARCH_TIMEOUT_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_RADIO_FREQ_SIZE
public static final byte MESG_CHANNEL_RADIO_FREQ_SIZE
- See Also:
- Constant Field Values
MESG_CHANNEL_RADIO_TX_POWER_SIZE
public static final byte MESG_CHANNEL_RADIO_TX_POWER_SIZE
- See Also:
- Constant Field Values
MESG_NETWORK_KEY_SIZE
public static final byte MESG_NETWORK_KEY_SIZE
- See Also:
- Constant Field Values
MESG_RADIO_TX_POWER_SIZE
public static final byte MESG_RADIO_TX_POWER_SIZE
- See Also:
- Constant Field Values
MESG_RADIO_CW_MODE_SIZE
public static final byte MESG_RADIO_CW_MODE_SIZE
- See Also:
- Constant Field Values
MESG_RADIO_CW_INIT_SIZE
public static final byte MESG_RADIO_CW_INIT_SIZE
- See Also:
- Constant Field Values
MESG_SYSTEM_RESET_SIZE
public static final byte MESG_SYSTEM_RESET_SIZE
- See Also:
- Constant Field Values
MESG_OPEN_CHANNEL_SIZE
public static final byte MESG_OPEN_CHANNEL_SIZE
- See Also:
- Constant Field Values
MESG_CLOSE_CHANNEL_SIZE
public static final byte MESG_CLOSE_CHANNEL_SIZE
- See Also:
- Constant Field Values
MESG_REQUEST_SIZE
public static final byte MESG_REQUEST_SIZE
- See Also:
- Constant Field Values
MESG_CAPABILITIES_SIZE
public static final byte MESG_CAPABILITIES_SIZE
- See Also:
- Constant Field Values
MESG_STACKLIMIT_SIZE
public static final byte MESG_STACKLIMIT_SIZE
- See Also:
- Constant Field Values
MESG_SCRIPT_DATA_SIZE
public static final byte MESG_SCRIPT_DATA_SIZE
- See Also:
- Constant Field Values
MESG_SCRIPT_CMD_SIZE
public static final byte MESG_SCRIPT_CMD_SIZE
- See Also:
- Constant Field Values
MESG_ID_LIST_ADD_SIZE
public static final byte MESG_ID_LIST_ADD_SIZE
- See Also:
- Constant Field Values
MESG_ID_LIST_CONFIG_SIZE
public static final byte MESG_ID_LIST_CONFIG_SIZE
- See Also:
- Constant Field Values
MESG_OPEN_RX_SCAN_SIZE
public static final byte MESG_OPEN_RX_SCAN_SIZE
- See Also:
- Constant Field Values
MESG_EXT_CHANNEL_RADIO_FREQ_SIZE
public static final byte MESG_EXT_CHANNEL_RADIO_FREQ_SIZE
- See Also:
- Constant Field Values
MESG_RADIO_CONFIG_ALWAYS_SIZE
public static final byte MESG_RADIO_CONFIG_ALWAYS_SIZE
- See Also:
- Constant Field Values
MESG_RX_EXT_MESGS_ENABLE_SIZE
public static final byte MESG_RX_EXT_MESGS_ENABLE_SIZE
- See Also:
- Constant Field Values
MESG_SET_TX_SEARCH_ON_NEXT_SIZE
public static final byte MESG_SET_TX_SEARCH_ON_NEXT_SIZE
- See Also:
- Constant Field Values
MESG_SET_LP_SEARCH_TIMEOUT_SIZE
public static final byte MESG_SET_LP_SEARCH_TIMEOUT_SIZE
- See Also:
- Constant Field Values
MESG_SERIAL_NUM_SET_CHANNEL_ID_SIZE
public static final byte MESG_SERIAL_NUM_SET_CHANNEL_ID_SIZE
- See Also:
- Constant Field Values
MESG_ENABLE_LED_FLASH_SIZE
public static final byte MESG_ENABLE_LED_FLASH_SIZE
- See Also:
- Constant Field Values
MESG_GET_SERIAL_NUM_SIZE
public static final byte MESG_GET_SERIAL_NUM_SIZE
- See Also:
- Constant Field Values
MESG_GET_TEMP_CAL_SIZE
public static final byte MESG_GET_TEMP_CAL_SIZE
- See Also:
- Constant Field Values
MESG_XTAL_ENABLE_SIZE
public static final byte MESG_XTAL_ENABLE_SIZE
- See Also:
- Constant Field Values
MESG_STARTUP_MESG_SIZE
public static final byte MESG_STARTUP_MESG_SIZE
- See Also:
- Constant Field Values
MESG_AUTO_FREQ_CONFIG_SIZE
public static final byte MESG_AUTO_FREQ_CONFIG_SIZE
- See Also:
- Constant Field Values
MESG_PROX_SEARCH_CONFIG_SIZE
public static final byte MESG_PROX_SEARCH_CONFIG_SIZE
- See Also:
- Constant Field Values
MESG_GET_PIN_DIODE_CONTROL_SIZE
public static final byte MESG_GET_PIN_DIODE_CONTROL_SIZE
- See Also:
- Constant Field Values
MESG_PIN_DIODE_CONTROL_ID_SIZE
public static final byte MESG_PIN_DIODE_CONTROL_ID_SIZE
- See Also:
- Constant Field Values
MESG_FIT1_SET_EQUIP_STATE_SIZE
public static final byte MESG_FIT1_SET_EQUIP_STATE_SIZE
- See Also:
- Constant Field Values
MESG_FIT1_SET_AGC_SIZE
public static final byte MESG_FIT1_SET_AGC_SIZE
- See Also:
- Constant Field Values
MESG_BIST_SIZE
public static final byte MESG_BIST_SIZE
- See Also:
- Constant Field Values
MESG_UNLOCK_INTERFACE_SIZE
public static final byte MESG_UNLOCK_INTERFACE_SIZE
- See Also:
- Constant Field Values
MESG_SET_SHARED_ADDRESS_SIZE
public static final byte MESG_SET_SHARED_ADDRESS_SIZE
- See Also:
- Constant Field Values
MESG_GET_GRMN_ESN_SIZE
public static final byte MESG_GET_GRMN_ESN_SIZE
- See Also:
- Constant Field Values
MESG_PORT_SET_IO_STATE_SIZE
public static final byte MESG_PORT_SET_IO_STATE_SIZE
- See Also:
- Constant Field Values
MESG_EVENT_BUFFERING_CONFIG_SIZE
public static final byte MESG_EVENT_BUFFERING_CONFIG_SIZE
- See Also:
- Constant Field Values
MESG_SLEEP_SIZE
public static final byte MESG_SLEEP_SIZE
- See Also:
- Constant Field Values
MESG_EXT_DATA_SIZE
public static final byte MESG_EXT_DATA_SIZE
- See Also:
- Constant Field Values