|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dsi.ant.AntDefine
public class AntDefine
Contains definitions commonly used in ANT messaging.
Field Summary | |
---|---|
static byte |
ACKNOWLEDGED_CONTROL_BYTE
|
static byte |
ANT_EXT_MESG_BIFIELD_EXTENSION
|
static byte |
ANT_EXT_MESG_BITFIELD_DEVICE_ID
first field after bitfield |
static byte |
ANT_EXT_MESG_BITFIELD_OVERWRITE_SHARED_ADR
|
static byte |
ANT_EXT_MESG_BITFIELD_RSSI
next field after ID, if there is one |
static byte |
ANT_EXT_MESG_BITFIELD_TIME_STAMP
next field after RSSI, if there is one |
static byte |
ANT_EXT_MESG_BITFIELD_TRANSMISSION_TYPE
|
static byte |
ANT_EXT_MESG_DEVICE_ID_FIELD_SIZE
|
static byte |
ANT_EXT_STRING_SIZE
|
static byte |
ANT_ID_DEVICE_NUMBER_HIGH_OFFSET
|
static byte |
ANT_ID_DEVICE_NUMBER_LOW_OFFSET
|
static byte |
ANT_ID_DEVICE_TYPE_OFFSET
|
static byte |
ANT_ID_DEVICE_TYPE_PAIRING_FLAG
|
static byte |
ANT_ID_SIZE
|
static byte |
ANT_ID_TRANS_TYPE_OFFSET
|
static byte |
ANT_STANDARD_DATA_PAYLOAD_SIZE
|
static byte |
ANT_TRANS_TYPE_1_BYTE_SHARED_ADDRESS
|
static byte |
ANT_TRANS_TYPE_2_BYTE_SHARED_ADDRESS
|
static byte |
ANT_TRANS_TYPE_SHARED_ADDR_MASK
|
static byte |
BROADCAST_CONTROL_BYTE
|
static byte |
CAPABILITIES_AP1_VERSION_2
This Version of the AP1 does not support transmit and only had a limited release |
static byte |
CAPABILITIES_EXT_ASSIGN_ENABLED
|
static byte |
CAPABILITIES_EXT_MESSAGE_ENABLED
|
static byte |
CAPABILITIES_FIT1_ENABLED
|
static byte |
CAPABILITIES_FREE_1
|
static byte |
CAPABILITIES_LED_ENABLED
|
static byte |
CAPABILITIES_LOW_PRIORITY_SEARCH_ENABLED
|
static byte |
CAPABILITIES_NETWORK_ENABLED
|
static byte |
CAPABILITIES_NO_ACKD_MESSAGES
|
static byte |
CAPABILITIES_NO_BURST_TRANSFER
|
static byte |
CAPABILITIES_NO_RX_CHANNELS
|
static byte |
CAPABILITIES_NO_RX_MESSAGES
|
static byte |
CAPABILITIES_NO_TX_CHANNELS
|
static byte |
CAPABILITIES_NO_TX_MESSAGES
|
static byte |
CAPABILITIES_OVERUN_UNDERRUN
Deprecated. |
static byte |
CAPABILITIES_PER_CHANNEL_TX_POWER_ENABLED
|
static byte |
CAPABILITIES_PROX_SEARCH_ENABLED
|
static byte |
CAPABILITIES_RESERVED
|
static byte |
CAPABILITIES_RESERVED_1
|
static byte |
CAPABILITIES_RESERVED_2
|
static byte |
CAPABILITIES_RESERVED_3
|
static byte |
CAPABILITIES_SCAN_MODE_ENABLED
|
static byte |
CAPABILITIES_SCRIPT_ENABLED
|
static byte |
CAPABILITIES_SEARCH_LIST_ENABLED
|
static byte |
CAPABILITIES_SENSRCORE_ENABLED
|
static byte |
CAPABILITIES_SERIAL_NUMBER_ENABLED
|
static byte |
CHANNEL_ID_NOT_SET
returned on attempt to open a channel without setting the channel ID |
static byte |
CHANNEL_IN_WRONG_STATE
returned on attempt to perform an action from the wrong channel state |
static byte |
CHANNEL_NOT_OPENED
returned on attempt to communicate on a channel that is not open |
static byte |
CHANNEL_NUMBER_MASK
|
static byte |
CLOSE_ALL_CHANNELS
returned when attempting to start scanning mode, when channels are still open |
static byte |
EVENT_BLOCKED
INTERNAL: Event to replace any event we do not wish to go out, will also zero the size of the Tx message |
static byte |
EVENT_CHANNEL_ACTIVE
|
static byte |
EVENT_CHANNEL_CLOSED
|
static byte |
EVENT_CHANNEL_COLLISION
|
static byte |
EVENT_CLK_ERROR
debug event for XOSC16M on LE1 |
static byte |
EVENT_NEW_CHANNEL
INTERNAL: EVENT for a new active channel |
static byte |
EVENT_PASS_THRU
INTERNAL: Event to allow an upper stack events to pass through lower stacks |
static byte |
EVENT_QUE_OVERFLOW
ANT event que has overflowed and lost 1 or more events |
static byte |
EVENT_RX
INTERNAL: Event for a receive message |
static byte |
EVENT_RX_FAIL
|
static byte |
EVENT_RX_FAIL_GO_TO_SEARCH
|
static byte |
EVENT_RX_SEARCH_TIMEOUT
|
static byte |
EVENT_SERIAL_QUE_OVERFLOW
|
static byte |
EVENT_TRANSFER_RX_FAILED
|
static byte |
EVENT_TRANSFER_TX_COMPLETED
|
static byte |
EVENT_TRANSFER_TX_FAILED
|
static byte |
EVENT_TRANSFER_TX_NEXT_MESSAGE
only enabled in FIT1 |
static byte |
EVENT_TRANSFER_TX_START
a pending transmit transfer has begun |
static byte |
EVENT_TX
|
static byte |
EXT_PARAM_ALWAYS_SEARCH
|
static byte |
EXT_PARAM_FREQUENCY_AGILITY
|
static byte |
FIT_ACTIVE_SEARCH_TIMEOUT
Fit1 only event added for timeout of the pairing state after the Fit module becomes active |
static byte |
FIT_WATCH_PAIR
Fit1 only |
static byte |
FIT_WATCH_UNPAIR
Fit1 only |
static byte |
INTERNAL_ONLY_EVENTS
Internal only events below this point |
static byte |
INVALID_LIST_ID
returned when the provided list ID or size exceeds the limit |
static byte |
INVALID_MESSAGE
returned when the message has an invalid parameter |
static byte |
INVALID_MESSAGE_CRC
returned if there is a framing error on an incomming message |
static byte |
INVALID_NETWORK_NUMBER
returned when an invalid network number is provided |
static byte |
INVALID_PARAMETER_PROVIDED
returned when an invalid parameter is specified in a configuration message |
static byte |
INVALID_SCAN_TX_CHANNEL
returned when attempting to transmit on channel 0 when in scan mode |
static byte |
MAX_BIN
|
static short |
MAX_BUFFER_THRESHOLD
|
static short |
MAX_DEVICE_ID
|
static byte |
MESSAGE_SIZE_EXCEEDS_LIMIT
returned if a data message is provided that is too large |
static byte |
MIN_BIN
|
static short |
MIN_BUFFER_THRESHOLD
|
static short |
MIN_DEVICE_ID
|
static byte |
NO_EVENT
|
static byte |
NO_RESPONSE_MESSAGE
returned to the Command_SerialMessageProcess function, so no reply message is generated |
static byte |
PARAMETER_ALWAYS_RX_WILD_CARD_SEARCH_ID
Pre-AP2 |
static byte |
PARAMETER_NO_TX_GUARD_BAND
|
static byte |
PARAMETER_RX_NOT_TX
|
static byte |
PARAMETER_RX_ONLY
|
static byte |
PARAMETER_SHARED_CHANNEL
|
static byte |
PARAMETER_TX_NOT_RX
|
static byte |
RADIO_TX_POWER_LVL_0
(formerly: RADIO_TX_POWER_MINUS20DB); lowest |
static byte |
RADIO_TX_POWER_LVL_1
(formerly: RADIO_TX_POWER_MINUS10DB); |
static byte |
RADIO_TX_POWER_LVL_2
(formerly: RADIO_TX_POWER_MINUS5DB); |
static byte |
RADIO_TX_POWER_LVL_3
(formerly: RADIO_TX_POWER_0DB); highest |
static byte |
RADIO_TX_POWER_LVL_MASK
|
static byte |
RESET_CMD
this must follow bitfield def |
static byte |
RESET_FLAGS_MASK
|
static byte |
RESET_POR
|
static byte |
RESET_RST
|
static byte |
RESET_SUSPEND
this must follow bitfield def |
static byte |
RESET_SYNC
this must follow bitfield def |
static byte |
RESET_WDT
|
static byte |
RESPONSE_NO_ERROR
|
static byte |
RETURN_TO_MFG
default return to any mesg when the module determines that the mfg procedure has not been fully completed |
static byte |
SCRIPT_CMD_DUMP
|
static byte |
SCRIPT_CMD_END_DUMP
|
static byte |
SCRIPT_CMD_END_SECTOR
|
static byte |
SCRIPT_CMD_FORMAT
|
static byte |
SCRIPT_CMD_LOCK
|
static byte |
SCRIPT_CMD_SET_DEFAULT_SECTOR
|
static byte |
SCRIPT_FULL_ERROR
error writing to script, memory is full |
static byte |
SCRIPT_INVALID_PAGE_ERROR
error accessing script page |
static byte |
SCRIPT_LOCKED_ERROR
the scripts are locked and can't be dumped |
static byte |
SCRIPT_WRITE_ERROR
error writing to script, bytes not written correctly |
static byte |
SEQUENCE_FIRST_MESSAGE
|
static byte |
SEQUENCE_LAST_MESSAGE
|
static byte |
SEQUENCE_NUMBER_INC
|
static byte |
SEQUENCE_NUMBER_MASK
|
static byte |
SEQUENCE_NUMBER_ROLLOVER
|
static byte |
STATUS_ASSIGNED_CHANNEL
|
static byte |
STATUS_CHANNEL_STATE_MASK
|
static byte |
STATUS_SEARCHING_CHANNEL
|
static byte |
STATUS_TRACKING_CHANNEL
|
static byte |
STATUS_UNASSIGNED_CHANNEL
|
static byte |
TRANSFER_BUSY
|
static byte |
TRANSFER_IN_ERROR
|
static byte |
TRANSFER_IN_PROGRESS
returned on attempt to communicate on a channel with a TX transfer in progress |
static byte |
TRANSFER_SEQUENCE_NUMBER_ERROR
returned when sequence number is out of order on a Burst transfer |
static byte |
USB_STRING_WRITE_FAIL
|
Constructor Summary | |
---|---|
AntDefine()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte MIN_BIN
public static final byte MAX_BIN
public static final short MIN_DEVICE_ID
public static final short MAX_DEVICE_ID
public static final short MIN_BUFFER_THRESHOLD
public static final short MAX_BUFFER_THRESHOLD
public static final byte ANT_STANDARD_DATA_PAYLOAD_SIZE
public static final byte ANT_EXT_MESG_DEVICE_ID_FIELD_SIZE
public static final byte ANT_EXT_STRING_SIZE
public static final byte ANT_EXT_MESG_BITFIELD_DEVICE_ID
public static final byte ANT_EXT_MESG_BITFIELD_RSSI
public static final byte ANT_EXT_MESG_BITFIELD_TIME_STAMP
public static final byte ANT_EXT_MESG_BIFIELD_EXTENSION
public static final byte ANT_EXT_MESG_BITFIELD_OVERWRITE_SHARED_ADR
public static final byte ANT_EXT_MESG_BITFIELD_TRANSMISSION_TYPE
public static final byte ANT_ID_SIZE
public static final byte ANT_ID_TRANS_TYPE_OFFSET
public static final byte ANT_ID_DEVICE_TYPE_OFFSET
public static final byte ANT_ID_DEVICE_NUMBER_HIGH_OFFSET
public static final byte ANT_ID_DEVICE_NUMBER_LOW_OFFSET
public static final byte ANT_ID_DEVICE_TYPE_PAIRING_FLAG
public static final byte ANT_TRANS_TYPE_SHARED_ADDR_MASK
public static final byte ANT_TRANS_TYPE_1_BYTE_SHARED_ADDRESS
public static final byte ANT_TRANS_TYPE_2_BYTE_SHARED_ADDRESS
public static final byte PARAMETER_RX_NOT_TX
public static final byte PARAMETER_TX_NOT_RX
public static final byte PARAMETER_SHARED_CHANNEL
public static final byte PARAMETER_NO_TX_GUARD_BAND
public static final byte PARAMETER_ALWAYS_RX_WILD_CARD_SEARCH_ID
public static final byte PARAMETER_RX_ONLY
public static final byte EXT_PARAM_ALWAYS_SEARCH
public static final byte EXT_PARAM_FREQUENCY_AGILITY
public static final byte RADIO_TX_POWER_LVL_MASK
public static final byte RADIO_TX_POWER_LVL_0
public static final byte RADIO_TX_POWER_LVL_1
public static final byte RADIO_TX_POWER_LVL_2
public static final byte RADIO_TX_POWER_LVL_3
public static final byte STATUS_CHANNEL_STATE_MASK
public static final byte STATUS_UNASSIGNED_CHANNEL
public static final byte STATUS_ASSIGNED_CHANNEL
public static final byte STATUS_SEARCHING_CHANNEL
public static final byte STATUS_TRACKING_CHANNEL
public static final byte CAPABILITIES_NO_RX_CHANNELS
public static final byte CAPABILITIES_NO_TX_CHANNELS
public static final byte CAPABILITIES_NO_RX_MESSAGES
public static final byte CAPABILITIES_NO_TX_MESSAGES
public static final byte CAPABILITIES_NO_ACKD_MESSAGES
public static final byte CAPABILITIES_NO_BURST_TRANSFER
public static final byte CAPABILITIES_OVERUN_UNDERRUN
public static final byte CAPABILITIES_NETWORK_ENABLED
public static final byte CAPABILITIES_AP1_VERSION_2
public static final byte CAPABILITIES_SERIAL_NUMBER_ENABLED
public static final byte CAPABILITIES_PER_CHANNEL_TX_POWER_ENABLED
public static final byte CAPABILITIES_LOW_PRIORITY_SEARCH_ENABLED
public static final byte CAPABILITIES_SCRIPT_ENABLED
public static final byte CAPABILITIES_SEARCH_LIST_ENABLED
public static final byte CAPABILITIES_LED_ENABLED
public static final byte CAPABILITIES_EXT_MESSAGE_ENABLED
public static final byte CAPABILITIES_SCAN_MODE_ENABLED
public static final byte CAPABILITIES_RESERVED
public static final byte CAPABILITIES_PROX_SEARCH_ENABLED
public static final byte CAPABILITIES_EXT_ASSIGN_ENABLED
public static final byte CAPABILITIES_FREE_1
public static final byte CAPABILITIES_FIT1_ENABLED
public static final byte CAPABILITIES_SENSRCORE_ENABLED
public static final byte CAPABILITIES_RESERVED_1
public static final byte CAPABILITIES_RESERVED_2
public static final byte CAPABILITIES_RESERVED_3
public static final byte CHANNEL_NUMBER_MASK
public static final byte SEQUENCE_NUMBER_MASK
public static final byte SEQUENCE_NUMBER_ROLLOVER
public static final byte SEQUENCE_FIRST_MESSAGE
public static final byte SEQUENCE_LAST_MESSAGE
public static final byte SEQUENCE_NUMBER_INC
public static final byte BROADCAST_CONTROL_BYTE
public static final byte ACKNOWLEDGED_CONTROL_BYTE
public static final byte RESPONSE_NO_ERROR
public static final byte NO_EVENT
public static final byte EVENT_RX_SEARCH_TIMEOUT
public static final byte EVENT_RX_FAIL
public static final byte EVENT_TX
public static final byte EVENT_TRANSFER_RX_FAILED
public static final byte EVENT_TRANSFER_TX_COMPLETED
public static final byte EVENT_TRANSFER_TX_FAILED
public static final byte EVENT_CHANNEL_CLOSED
public static final byte EVENT_RX_FAIL_GO_TO_SEARCH
public static final byte EVENT_CHANNEL_COLLISION
public static final byte EVENT_TRANSFER_TX_START
public static final byte EVENT_CHANNEL_ACTIVE
public static final byte EVENT_TRANSFER_TX_NEXT_MESSAGE
public static final byte CHANNEL_IN_WRONG_STATE
public static final byte CHANNEL_NOT_OPENED
public static final byte CHANNEL_ID_NOT_SET
public static final byte CLOSE_ALL_CHANNELS
public static final byte TRANSFER_IN_PROGRESS
public static final byte TRANSFER_SEQUENCE_NUMBER_ERROR
public static final byte TRANSFER_IN_ERROR
public static final byte TRANSFER_BUSY
public static final byte INVALID_MESSAGE_CRC
public static final byte MESSAGE_SIZE_EXCEEDS_LIMIT
public static final byte INVALID_MESSAGE
public static final byte INVALID_NETWORK_NUMBER
public static final byte INVALID_LIST_ID
public static final byte INVALID_SCAN_TX_CHANNEL
public static final byte INVALID_PARAMETER_PROVIDED
public static final byte EVENT_SERIAL_QUE_OVERFLOW
public static final byte EVENT_QUE_OVERFLOW
public static final byte EVENT_CLK_ERROR
public static final byte SCRIPT_FULL_ERROR
public static final byte SCRIPT_WRITE_ERROR
public static final byte SCRIPT_INVALID_PAGE_ERROR
public static final byte SCRIPT_LOCKED_ERROR
public static final byte NO_RESPONSE_MESSAGE
public static final byte RETURN_TO_MFG
public static final byte FIT_ACTIVE_SEARCH_TIMEOUT
public static final byte FIT_WATCH_PAIR
public static final byte FIT_WATCH_UNPAIR
public static final byte USB_STRING_WRITE_FAIL
public static final byte INTERNAL_ONLY_EVENTS
public static final byte EVENT_RX
public static final byte EVENT_NEW_CHANNEL
public static final byte EVENT_PASS_THRU
public static final byte EVENT_BLOCKED
public static final byte SCRIPT_CMD_FORMAT
public static final byte SCRIPT_CMD_DUMP
public static final byte SCRIPT_CMD_SET_DEFAULT_SECTOR
public static final byte SCRIPT_CMD_END_SECTOR
public static final byte SCRIPT_CMD_END_DUMP
public static final byte SCRIPT_CMD_LOCK
public static final byte RESET_FLAGS_MASK
public static final byte RESET_SUSPEND
public static final byte RESET_SYNC
public static final byte RESET_CMD
public static final byte RESET_WDT
public static final byte RESET_RST
public static final byte RESET_POR
Constructor Detail |
---|
public AntDefine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |