ANT Message Protocol and Usage
Total Page:16
File Type:pdf, Size:1020Kb
ANT Message Protocol and Usage D00000652 Rev 5.1 Page 2 of 134 ANT Message Protocol and Usage, Rev 5.1 Copyright Information and Usage Notice This information disclosed herein is the exclusive property of Dynastream Innovations Inc. No part of this publication may be reproduced or transmitted in any form or by any means including electronic storage, reproduction, execution or transmission without the prior written consent of Dynastream Innovations Inc. The recipient of this document by its retention and use agrees to respect the copyright of the information contained herein. The information contained in this document is subject to change without notice and should not be construed as a commitment by Dynastream Innovations Inc. unless such commitment is expressly given in a covering document. The Dynastream Innovations Inc. ANT Products described by the information in this document are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Dynastream product could create a situation where personal injury or death may occur. If you use the Products for such unintended and unauthorized applications, you do so at your own risk and you shall indemnify and hold Dynastream and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Dynastream was negligent regarding the design or manufacture of the Product. ©2014 Dynastream Innovations Inc. All Rights Reserved. thisisant.com ANT Message Protocol and Usage, Rev 5.1 Page 3 of 134 Revision History Revision Effective Date Description 4.3 June 2011 Updated formatting, Added section 8.2.1, Added extended messaging 4.4 October 2011 Added Channel Search Priority, Added section 9.4.3 4.5 November 2011 Changes to channel status byte Revisions to add new nRF51 and ANTUSB-m feature information: - Advanced Burst Transfer - Single Channel Encryption - Event Buffering - Event Filtering 5.0 January 2013 - Fast Channel Initiation - Asynchronous Transmission - High Duty Search - Selective Data Updates Condensed section 2 The ANT Product Family, and updated the document template. 5.1 April 2014 Added encryption capability bit to Capabilities message (0x54) Added Search Waveform Added Channel Search Sharing thisisant.com Page 4 of 134 ANT Message Protocol and Usage, Rev 5.1 Table of Contents 1 Introduction ................................................................................................................................................................. 8 2 The ANT Product Family .............................................................................................................................................. 9 3 Network Topologies .................................................................................................................................................. 10 4 ANT Nodes ................................................................................................................................................................. 12 5 ANT Channels ............................................................................................................................................................ 13 5.1 Channel Communication ............................................................................................................................. 13 5.2 Channel Configuration ................................................................................................................................ 14 5.2.1 Channel Type ............................................................................................................................... 15 5.2.2 RF Frequency ............................................................................................................................... 17 5.2.3 Channel ID .................................................................................................................................. 17 5.2.4 Channel Period ............................................................................................................................. 18 5.2.5 Network ....................................................................................................................................... 19 5.2.6 Example Channel Configuration .................................................................................................... 20 5.3 Establishing a channel ................................................................................................................................ 21 5.4 ANT Data Types ......................................................................................................................................... 22 5.4.1 Broadcast Data ............................................................................................................................ 22 5.4.2 Acknowledged Data ...................................................................................................................... 23 5.4.3 Burst Data ................................................................................................................................... 23 5.4.4 Advanced Burst Data .................................................................................................................... 24 5.4.5 Summary of Data Types ............................................................................................................... 24 5.5 Independent Channels ................................................................................................................................ 25 5.5.1 ANT Single Channel Encryption ..................................................................................................... 25 5.6 Shared Channels ........................................................................................................................................ 26 5.7 Continuous Scanning Mode ......................................................................................................................... 27 6 Device Pairing ............................................................................................................................................................ 29 6.1 Pairing Example .......................................................................................................................................... 30 6.2 Inclusion/Exclusion Lists ............................................................................................................................. 31 6.3 White/Blacklists used with Single Channel Encryption ................................................................................... 31 6.4 Proximity Search ........................................................................................................................................ 31 7 ANT Interface ............................................................................................................................................................ 34 7.1 Message Structure ...................................................................................................................................... 34 7.1.1 Extended Messages Format .......................................................................................................... 34 7.2 Host MCU Serial Interface – Physical Layer .................................................................................................. 37 7.3 Host PC Serial Interface .............................................................................................................................. 37 7.4 Interface to SoC ......................................................................................................................................... 38 7.5 Mobile Devices Interface to ANT.................................................................................................................. 38 8 Example ANT Network Implementation ................................................................................................................. 39 8.1 Implementation using Independent Channels .............................................................................................. 40 thisisant.com ANT Message Protocol and Usage, Rev 5.1 Page 5 of 134 8.1.1 Channel between Node B and Node A ........................................................................................... 42 8.1.2 Channel between Node C and Node A ........................................................................................... 43 8.1.3 Channel between Node D and Node A ........................................................................................... 43 8.2 Implementation using Shared Channels ....................................................................................................... 44 8.2.1 Shared Channel Transmission Type ............................................................................................... 48 9 Appendix A – ANT Message Details ......................................................................................................................... 49 9.1 ANT Messages ...........................................................................................................................................