Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANTUSB-m capabilities response

Avatar
Rank

Total Posts: 12

Joined 0

PM

Hi,

Using the ANTUSB-m and requesting the capabilities I noticed the following:
The response has more bytes then defined in the specification [D00000652_ANT_Message_Protocol_and_Usage_Rev_5.0] on page 115.

The output from the log file using ANTware II V4.1 is:
0.343 { 70595584} Tx - [A4][02][4D][00][54][BF][00][00]
0.343 { 70595584} Rx - [A4][08][54][08][08][00][BA][36][00][DF][79][D2]
0.359 { 70595600} Tx - [A4][01][4A][00][EF][00][00]
0.359 { 70595600} Rx - [A4][01][6F][00][CA]


On page 54 in the tabel for Requested Response Message / Capabilities the length is set fixed to 6 bytes. However on page 58 the length depends on the module/chip used and ranges from 4, 6 to 7 bytes. On page 115 only 6 bytes are described.

Also the response from the ANTUSB-m has 8 bytes...

Where is it described what the representation of this "new" bytes are?

Thanks in advance!

Best regards,
Antoine      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

You could download the "ANT Windows Library Package" and have a look at the class constructor in file "ANT_Managed_Library\ANT_DeviceCapabilities.cs" .

Cheers,
OMB      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

Unfortunately this is one of those cases where the documentation hasn't caught up with the devices in the wild yet. The information will be available in Rev 5.1 of the ANT Message Protocol and Usage doc, but I will post what the bytes indicate here in the meantime respectively.

Max ANT Channels
UCHAR
0..MAX_CHAN
Returns the number of ANT channels available

Max Networks
UCHAR
0..MAX_NET-1
Returns the number of networks available

Standard Options
UCHAR
0..255
The Standard Options bit field is encoded as follows:
Bit 0 - CAPABILITIES_NO_RECEIVE_CHANNELS
Bit 1 - CAPABILITIES_NO_TRANSMIT_CHANNELS
Bit 2 - CAPABILITIES_NO_RECEIVE_MESSAGES
Bit 3 - CAPABILITIES_NO_TRANSMIT_MESSAGES
Bit 4 - CAPABILITIES_NO_ACKD_MESSAGES
Bit 5 - CAPABILITIES_NO_BURST_MESSAGES
Other bits are reserved

Advanced Options
UCHAR
0..255
The Advanced Options bit field is encoded as follows:
Bit 1 - CAPABILITIES_NETWORK_ENABLED
Bit 3 - CAPABILITIES_SERIAL_NUMBER_ENABLED
Bit 4 - CAPABILITIES_PER_CHANNEL_TX_POWER_ENABLED
Bit 5 - CAPABILITIES_LOW_PRIORITY_SEARCH_ENABLED
Bit 6 - CAPABILITIES_SCRIPT_ENABLED
Bit 7 - CAPABILITIES_SEARCH_LIST_ENABLED
Other bits are reserved

Advanced Options 2
UCHAR
0..255
The Advanced Options 2 bit field is encoded as follows:
Bit 0 - CAPABILITIES_LED_ENABLED
Bit 1 - CAPABILITIES_EXT_MESSAGE_ENABLED
Bit 2 - CAPABILITIES_SCAN_MODE_ENABLED
Bit 3 - Reserved
Bit 4 - CAPABILITIES_PROX_SEARCH_ENABLED
Bit 5 - CAPABILITIES_EXT_ASSIGN_ENABLED
Bit 6 - CAPABILITIES_FS_ANTFS_ENABLED
Bit 7 - CAPABILITIES_FIT1_ENABLED

Max SensRcore Channels
UCHAR
0..255
Returns the number of SensRcore channels available.

Advanced Options 3
UCHAR
0..255
The Advanced Options 3 bit field is encoded as follows:
Bit 0 - CAPABILITIES_ADVANCED_BURST_ENABLED
Bit 1 - CAPABILITIES_EVENT_BUFFERING_ENABLED
Bit 2 - CAPABILITIES_EVENT_FILTERING_ENABLED
Bit 3 - CAPABILITIES_HIGH_DUTY_SEARCH_ENABLED
Bit 4 - CAPABILITIES_SEARCH_SHARING_ENABLED
Bit 5 - Reserved.
Bit 6 - CAPABILITIES_SELECTIVE_DATA_UPDATES_ENABLED
Bit 7 - CAPABILITIES_ENCRYPTED_CHANNEL_ENABLED

Advanced Options 4
UCHAR
0..255
The Advanced Options 4 bit field is encoded as follows:
Bit 0 - CAPABILITIES_RFACTIVE_NOTIFICATION_ENABLED
Other bits are reserved

Cheers