<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1040" />
		

	<title> - THIS IS ANT</title>
<meta name='keywords' content='ANT, ANT+, wireless, bluetooth, garmin' />
<meta name='description' content='ANT is a Wireless Personal Network protocol, by Garmin Canada, with small size, reasonable cost and very low power requirements.' />
<link rel='canonical' href='https://www.thisisant.com/forum/viewthreadANT/atom/11' />
<link rel="shortcut icon" type="image/x-icon" href="/lib/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/lib/styles/css/qtip.css" />
<link rel="stylesheet" type="text/css" href="/lib/styles/css/main.css" />
<link rel="stylesheet" type="text/css" href="/lib/styles/css/colorbox.css" />

<link rel="stylesheet" type="text/css" href="/lib/styles/css/landing_forum.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="/lib/styles/css/ie.css" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/lib/styles/css/ie7.css" /><![endif]-->

<script type="text/javascript" src="/lib/js/min/min-min.js"></script>
<script type="text/javascript" src="/lib/js/min/ready-min.js"></script>

<link href='/lib/styles/css/offlineFonts.css' rel='stylesheet' type='text/css'>
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:700,300|Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'> -->

</head>

<body class="forum" data-mg="3">

<!-- <center id="maintenance"><strong>STAGING</strong></center> -->

<style>
#maintenance { background: green; padding:5px; color: white; }
</style>
	
<div id="print" class="grid_16"> <!-- Used for printing only -->
	<img src="/lib/images/ant_logo_black.png" />
	<strong></strong>
</div>

<div id="hd">
	
	<div class="container_16">
		
		<div class="grid_10 alpha omega">	
			<a href="https://www.thisisant.com/" class="logo"><img src="/lib/images/this-is-ant.png" /></a>
		
			<div id="main_nav">
				<ul id="nav-sub">
<li class="level-1 has-children first"><a href="https://www.thisisant.com/directory/">Directory</a>
<ul>
<li class="level-2 has-children last"><a href="https://www.thisisant.com/directory/dummy/">Dummy</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/directory/dummy/view-the-directory/">View the Directory</a></li>
</ul>
</li>
</ul>
</li>
<li class="level-1 has-children"><a href="https://www.thisisant.com/business/">Business</a>
<ul>
<li class="level-2 has-children first"><a href="https://www.thisisant.com/business/why-ant/">Why ANT+</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/business/why-ant/ant-ant-defined/">ANT/ANT+ Defined</a></li>
<li class="level-3"><a href="https://www.thisisant.com/business/why-ant/ant-advantages/">ANT+ Advantages</a></li>
</ul>
</li>
<li class="level-2 has-children"><a href="https://www.thisisant.com/business/go-ant/">GO ANT+</a>
<ul>
<li class="level-3"><a href="https://www.thisisant.com/business/go-ant/levels-and-benefits/">ANT+ Membership</a></li>
<li class="level-3"><a href="https://www.thisisant.com/business/go-ant/certification/">ANT+ Product Certification</a></li>
<li class="level-3"><a href="https://www.thisisant.com/business/go-ant/ant-brand/">ANT+ Changes</a></li>
</ul>
</li>
</ul>
</li>
<li class="level-1 has-children"><a href="https://www.thisisant.com/developer/">Developer</a>
<ul>
<li class="level-2 has-children first"><a href="https://www.thisisant.com/developer/ant/">ANT</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/developer/ant/ant-basics/">ANT Basics</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/licensing/">Licensing</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/starting-your-project/">Starting Your Project</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/ant-in-android/">ANT in Android</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/advanced-features/">Advanced Features</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/ant-fs-and-fit1/">ANT-FS and FIT</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant/nrf-connect-sdk/">ANT for nRF Connect SDK</a></li>
</ul>
</li>
<li class="level-2 has-children"><a href="https://www.thisisant.com/developer/ant-plus/">ANT+</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/developer/ant-plus/ant-antplus-defined/">ANT / ANT+ Defined</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant-plus/ant-plus-basics/">ANT+ Basics</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant-plus/device-profiles/">ANT+ Device Profiles</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant-plus/developer/">Implement a Profile</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/ant-plus/certification/">ANT+ Product Certification</a></li>
</ul>
</li>
<li class="level-2 has-children"><a href="https://www.thisisant.com/developer/components/">Components</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/developer/components/view-all-components/">View All Components</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/components/developer/">Power Estimator</a></li>
</ul>
</li>
<li class="level-2 has-children"><a href="https://www.thisisant.com/developer/resources/">Resources</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/developer/resources/developer-forum/">Developer Forum</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/resources/tech-faq/">Tech FAQ</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/resources/tech-support/">Tech Support</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/resources/tech-bulletin/">Tech Bulletin</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/resources/api-documentation/">API Documentation</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/resources/software-tools/">Software Tools</a></li>
<li class="level-3 last"><a href="https://www.thisisant.com/developer/resources/downloads/">Downloads</a></li>
</ul>
</li>
<li class="level-2 has-children"><a href="https://www.thisisant.com/developer/popular-links/">Popular Links</a>
<ul>
<li class="level-3 first"><a href="https://www.thisisant.com/developer/popular-links/documents-link/">Documents</a></li>
<li class="level-3"><a href="https://www.thisisant.com/developer/popular-links/software-link/">Software</a></li>
<li class="level-3 last"><a href="https://www.thisisant.com/developer/popular-links/nrf52832/">nRF52832</a></li>
</ul>
</li>
</ul>
</li>
<li class="level-1 has-children"><a href="https://www.thisisant.com/company/">About Us</a>
<ul>
<li class="level-2 first"><a href="https://www.thisisant.com/company/d1/">Dummy</a></li>
<li class="level-2 last"><a href="https://www.thisisant.com/company/activity-icons/">Activity Icons</a></li>
</ul>
</li>
<li class="level-1 last"><a href="https://www.thisisant.com/support/">Support</a></li>
</ul>
			</div>
		</div>
		
		<div class="grid_6 omega right">
			<div class="member_status">
												<span>Welcome Guest,</span><a href="/register/">Register Now</a>
				<div class="vert_divider"></div>
				<a href="/popups/signin/" class="popup_iframe" rel="450|210">Log In</a>
							</div>
			<div class="clearfix"></div>
			<div class="bottom">
				<form method="post" action="https://www.thisisant.com/"  >
<div class='hiddenFields'>
<input type="hidden" name="ACT" value="65" />
<input type="hidden" name="params" value="eyJsb29zZV9lbmRzIjoieWVzIiwicmVzdWx0X3BhZ2UiOiJzZWFyY2giLCJzZWFyY2hfbW9kZSI6ImFsbCJ9" />
<input type="hidden" name="site_id" value="1" />
</div>


					<input type="text" name="keywords" value="Search" rel="autoblur" />
					<input type="submit" value="" />
				</form>
				
				<div class="vert_divider tall"></div>
				<div class="share">
					<span>Follow</span>
					<div>
						<a class="overImage tip_light" title="See us on YouTube" data-over="/lib/images/icon-yt-over.png" target="_blank" href="http://www.youtube.com/user/ANTAlliance"><img src="/lib/images/icon-yt.png" /></a>
						<a class="overImage tip_light" title="Find us on LinkedIn" data-over="/lib/images/icon-li-over.png" target="_blank" href="http://www.linkedin.com/groups?home=&gid=1379137&trk=groups_about-h-logo"><img src="/lib/images/icon-li.png" /></a>
						<a class="overImage tip_light" title="Follow us on Twitter" data-over="/lib/images/icon-tw-over.png" target="_blank" href="https://twitter.com/antplus"><img src="/lib/images/icon-tw.png" /></a>
						<a class="overImage tip_light" title="Find us on Facebook" data-over="/lib/images/icon-fb-over.png" target="_blank" href="https://www.facebook.com/thisisant"><img src="/lib/images/icon-fb.png" /></a>
					</div>
				</div>

			</div>
		</div>
		
		<div class="grid_16 alpha omega">
		
			<div id="sub_nav_holder"></div>
				
		</div>
		
	</div>
	
</div><!-- /#hd -->

<div id="contents">

<div id="bd" class="forum">
	<div id="bread">
		<div class="container_16">
			<ul>
				<li><a href="https://www.thisisant.com/">Home</a></li>
				<li><span>ANT Forum</span></li>
			</ul>
		</div>
	</div><!-- /#bread -->
	<div class="clearfix"></div>

	<div class="container_16">
		<div class="top">
			<div class="grid_16 alpha">
				<h1>ANT Forum</h1>
			</div>
		</div>
	
	</div>	
	<div class="clearfix"></div>
		
	<div class="page">
		<div class="container_16" style="padding-top:20px">
		
			<div class="contents">
				
				<div class="specifics">	
					
					<div class="specifics full relative">
		
	<div class="gap"></div>
</div>
					
										
					
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">ANT Forum</title>
    <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/" />
    <link rel="self" type="application/atom+xml" href="https://www.thisisant.com/forum/viewthreadANT/atom/" />
    <updated>0</updated>
    <rights>Copyright (c) 2026</rights>
    <generator uri="http://expressionengine.com/" version="2.5.2">ExpressionEngine</generator>
    <id>tag:https:,2026:02:26</id>


    <entry>
      <title>USEE&#45;HeadUpDisplay project</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/11398/" />      
      <id>tag:https:,2026:/www.thisisant.com/forum/viewthreadANT/viewthread/.11398</id>
      <published>2026-02-26T08:06:42Z</published>
      <updated>0</updated>
      <author><name>mattweiss</name></author>
      <content type="html">
      <![CDATA[
        My old USEE hud needs a new purpose of use. So I took a nrf53840-Dongle and flashed the BSC-TX-sample to the Dongle. The HUD shows the simulated speed from the domgle. My aim is, to transmit the speed-information from an GPS-Sensor over an ESP32 to the Dongle. My problem is, that obviously the Simulator in the bsc-sample overwrites my speed-Information in bsc.page1. Is there any solution possible? I can't deaktivate the simulater, because he is apparently doing much more than filling the speed-information. Here is my timeout-handler: // In timeout_handler():<br />
static void timeout_handler(struct k_timer *timer_id) &#123;<br />
    bsc.BSC_PROFILE_operating_time++;<br />
    LOG_INF("speed_updated = %d", speed_updated);  // JEDEN Durchlauf loggen<br />
    if (speed_updated) &#123;<br />
        LOG_INF("!!! VERARBEITE GPS: %.2f km/h !!!", (double)current_speed);<br />
        // 1. Umrechnung: km/h -&gt; m/s<br />
        float speed_mps = current_speed * 1000.0f / 3600.0f;<br />
        <br />
        // 2. Radumfang (m) - Ihr Wert 2.1m<br />
        float wheel_circumference = 2.105f;<br />
        <br />
        // 3. Berechne Umdrehungen pro Sekunde<br />
        float revs_per_sec = speed_mps / wheel_circumference;<br />
        <br />
        // 4. Berechne die Zeit zwischen zwei Umdrehungen in 1/2000 Sekunden<br />
        uint16_t event_time = 0xFFFF;<br />
                if (revs_per_sec &gt; 0.01f) &#123;<br />
            // Nur bei ausreichender Geschwindigkeit berechnen<br />
            float time_between_revs_ms = 1000.0f / revs_per_sec;  // in ms<br />
            event_time = (uint16_t)(time_between_revs_ms * 2.0f);  // 1/2000s Einheiten<br />
            if (event_time &gt; 0xFFFF) event_time = 0xFFFF;<br />
        &#125;<br />
        <br />
        // 5. Inkrementiere die Gesamtumdrehungen<br />
        static uint32_t total_revs = 0;<br />
        total_revs += (uint32_t)(revs_per_sec * 0.25f * 100); // 0.25s pro Tick<br />
        <br />
        // 6. Page 0 befüllen (HIER ist die Korrektur!)<br />
        bsc.page_0.rev_count = total_revs;<br />
        bsc.page_0.event_time = event_time;<br />
        <br />
        /*// Stop-Indikator in Page 5 (falls vorhanden)<br />
        if (revs_per_sec &lt;= 0.01f) &#123;<br />
            bsc.page_5.stop_indicator = 1;<br />
        &#125; else &#123;<br />
            bsc.page_5.stop_indicator = 0;<br />
        &#125;<br />
        */<br />
<br />
        LOG_INF("GPS: %.2f km/h -&gt; Revs: %u, Time: %u", <br />
                (double)current_speed, total_revs, event_time);<br />
        <br />
        speed_updated = false;<br />
    &#125; else &#123;<br />
        ant_bsc_simulator_one_iteration(&bsc;_simulator);<br />
    &#125;<br />
&#125;<br />
<br />
Sorry, my english isn't trained the last years. Thanks for help.
      ]]>
      </content>
    </entry>

    <entry>
      <title>Problem with downloading softdevice</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/9672/" />      
      <id>tag:https:,2025:/www.thisisant.com/forum/viewthreadANT/viewthread/.9672</id>
      <published>2025-09-23T19:11:41Z</published>
      <updated>0</updated>
      <author><name>marcin.rupniewski</name></author>
      <content type="html">
      <![CDATA[
        I am trying to download S212-SD-v7.0.1, but there is 504 <br />
(I marked licence agreement)<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>ANT+ Certification</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7654/" />      
      <id>tag:https:,2023:/www.thisisant.com/forum/viewthreadANT/viewthread/.7654</id>
      <published>2023-04-21T09:41:07Z</published>
      <updated>0</updated>
      <author><name>AlessandroSalvucci</name></author>
      <content type="html">
      <![CDATA[
        Good morning,<br />
I have to do the certification for a Display device,<br />
in the SimulANT+ scripts it asks me if fields are displayed, I created a test client to see the data exchanged via ant+, and they are the correct ones of the profile,<br />
however, the data then shown on the final device is manipulated to obtain other values.<br />
Is this a certification issue?<br />
<br />
Thank you<br />
Greetings
      ]]>
      </content>
    </entry>

    <entry>
      <title>Inconsistance cumulative revolution data</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7631/" />      
      <id>tag:https:,2022:/www.thisisant.com/forum/viewthreadANT/viewthread/.7631</id>
      <published>2022-12-09T09:07:15Z</published>
      <updated>2022-12-09T09:08:46Z</updated>
      <author><name>MeysamEstaca</name></author>
      <content type="html">
      <![CDATA[
        Hi,<br />
I have a bike trainer, that included ANT+ protocol for communication.<br />
So far I have been able to receieve information on my pc of this bike trainer (cumulative revolution information) by using the channel configuration of combined bike speed and cadence display.i.e(slave)<br />
The problem that I have is that the data I receieve are not consistent. For example if I turn the shaft of the trainer 20 times (20 revolution of shaft trainer) I receieve 1 cumulative revolution. then If I repeat it and turn the shaft 30 times I will see 1 other revolution via the ANT+ message and it's not consistent.<br />
please check the picture to understand better what is my problem.<br />
<br />
What I expect is that every time that I rotate the shaft of the trainer a constant number (for example 20 times), it will be counted  as 1 revolution.<br />
For example everytimes that I rotate the bike trainer shaft 20 times  then the ant+ message that I receieve will add 1 revolution.<br />
I just want to have this data to be consistent and I don't know if I need to do some configuration for the master device (bike trainer) via the code, because right now I just use the table of slave chanel configuration table (combined bike speed and candence display).<br />
<br />
I appreciate your help and guide,<br />
Meysam.
      ]]>
      </content>
    </entry>

    <entry>
      <title>&amp;lt;solved&amp;gt; Incorrect Rollover Handling&#63;</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7484/" />      
      <id>tag:https:,2021:/www.thisisant.com/forum/viewthreadANT/viewthread/.7484</id>
      <published>2021-02-11T22:57:31Z</published>
      <updated>2021-02-12T22:11:03Z</updated>
      <author><name>skipper08023002</name></author>
      <content type="html">
      <![CDATA[
        Greetings All,<br />
I've incorporated a separate data stream feed (Bontrager-brand speed sensor) into my code script. My speed output isn't anywhere close to the values displayed in comparison to my JouleGPS head unit. I using a python 3.7 script within an Atom 1.50.0 x64 IDE running on a Windows 10 machine. I'm also using the ANT+ device profile for bicycle speed and cadence, version 2.1 as my information reference. <br />
<br />
Some points:<br />
(1) Relevant variables are initialized at zero at the function (callback) definition<br />
(2) Perhaps I've not assembled event time and/or revolution count correctly. Please refer to my code snippet below. <br />
(3) Watching payload[5] MSB (mv[5] in my code) print to my console, I see that it rolls over after 255. (Noticed after reading section 5.6.2 of the reference.)<br />
(4) Referring to section 5.3.1 Data Page 0 of the reference, I see that Byte 4 and 5 together rollover at 64s.  I've also tried using 0, 64, and 256 to no avail.<br />
(5) The output in section 5.5.1 formula 5.1 is in units of meters/second. If I multiply by 3.6 to convert to kilometers/hour, I can directly compare it to my JouleGPS' display. <br />
(6) My wheel circumference is 2.111 meters based on a roughly-measured 672 mm diameter (out-to-out of the tire). Perhaps this value should be different when the bed-to-bed measure of my tubular rim is ~633 mm (circumference ~ 1.989 m)? Even so, the comparison in point (5) above should be close... it's not.<br />
<br />
I'm going in circles trying to find my error(s). Might someone point out where I've gone astray?<br />
Thanks in advance,<br />
Eric<br />
<br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;This&nbsp;section&nbsp;is&nbsp;for&nbsp;the&nbsp;Bontrager&nbsp;speed&nbsp;sensor,&nbsp;deviceNumber=38684<br /></span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">msg</span><span style="color: #007700">.</span><span style="color: #0000BB">deviceType&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">123</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mv&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">memoryview</span><span style="color: #007700">(</span><span style="color: #0000BB">msg</span><span style="color: #007700">.</span><span style="color: #0000BB">_content</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Use&nbsp;Page&nbsp;0<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">mv&#91;0&#93;&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;print(f"deviceType:&nbsp;&#123;msg.deviceType&#125;\tmv&#91;5&#93;:&nbsp;&#123;mv&#91;5&#93;&#125;\tmv&#91;4&#93;:&nbsp;&#123;mv&#91;4&#93;&#125;")&nbsp;&nbsp;#&nbsp;123&nbsp;(0x7B)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;print(f"Default&nbsp;Data&nbsp;page&nbsp;0:&nbsp;&#123;mv&#91;0&#93;&#125;/0xXX,&nbsp;&#123;msg&#125;")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;print(f"\t&#123;mv&#91;0&#93;&#125;\t&#123;mv&#91;1&#93;&#125;\t&#123;mv&#91;2&#93;&#125;\t&#123;mv&#91;3&#93;&#125;\t&#123;mv&#91;4&#93;&#125;\t&#123;mv&#91;5&#93;&#125;\t&#123;mv&#91;6&#93;&#125;\t&#123;mv&#91;7&#93;&#125;")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;print(f"\t&#123;mv&#91;5&#93;&#125;\t&#123;mv&#91;4&#93;&#125;\t\t&#123;mv&#91;7&#93;&#125;\t&#123;mv&#91;6&#93;&#125;")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Assembled&nbsp;computation&nbsp;elements&nbsp;MSB/LSB<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">event_time&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">mv&#91;5&#93;&nbsp;</span><span style="color: #DD0000">"shift&nbsp;left"&nbsp;</span><span style="color: #0000BB">8&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">mv&#91;4&#93;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cumulative_speed_revolution_count&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">mv&#91;7&#93;&nbsp;</span><span style="color: #DD0000">"shift&nbsp;left"&nbsp;</span><span style="color: #0000BB">8&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">mv&#91;6&#93;</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Handle&nbsp;rollover&nbsp;events<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time&nbsp;</span><span style="color: #DD0000">"does&nbsp;not&nbsp;equal"&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_old</span><span style="color: #007700">:&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Avoid&nbsp;division&nbsp;by&nbsp;zero<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">event_time&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">event_time_old</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Rollover&nbsp;condition&nbsp;at&nbsp;64s&nbsp;*&nbsp;1024&nbsp;"equals"&nbsp;65536<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_diff&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">65536</span><span style="color: #007700">)&nbsp;-&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_old<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_diff&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_old<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_old</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Rollover&nbsp;condition&nbsp;at&nbsp;65536<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_diff&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">65536</span><span style="color: #007700">)&nbsp;-&nbsp;</span><span style="color: #0000BB">\<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_old<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_diff&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">\<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_old<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Speed&nbsp;computation<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Original&nbsp;formula&nbsp;in&nbsp;m/s.&nbsp;diameter&nbsp;"equals"&nbsp;672&nbsp;mm,&nbsp;circumference&nbsp;"equals"&nbsp;2.11115&nbsp;meters.&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Conversions:&nbsp;use&nbsp;"*&nbsp;2.23694"&nbsp;for&nbsp;mph,&nbsp;use&nbsp;"*&nbsp;3.6&nbsp;"&nbsp;for&nbsp;kph<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">val_speed&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #0000BB">2.11115&nbsp;</span><span style="color: #007700">*&nbsp;</span><span style="color: #0000BB">1024&nbsp;</span><span style="color: #007700">*&nbsp;(</span><span style="color: #0000BB">cumulative_speed_revolution_count_diff&nbsp;</span><span style="color: #007700">/&nbsp;</span><span style="color: #0000BB">event_time_diff</span><span style="color: #007700">)&nbsp;*&nbsp;</span><span style="color: #0000BB">2.23694<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;Step&nbsp;the&nbsp;variables<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time_old&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">event_time<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count_old&nbsp;</span><span style="color: #DD0000">"equals"&nbsp;</span><span style="color: #0000BB">self</span><span style="color: #007700">.</span><span style="color: #0000BB">cumulative_speed_revolution_count<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">print(</span><span style="color: #0000BB">f</span><span style="color: #DD0000">"bontrager&nbsp;sensor:&nbsp;&#123;val_speed:.1f&#125;"</span><span style="color: #007700">)&nbsp;</span>
</span>
</code></div>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Speed&amp;Cadence; multi profile</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7198/" />      
      <id>tag:https:,2019:/www.thisisant.com/forum/viewthreadANT/viewthread/.7198</id>
      <published>2019-07-17T10:08:09Z</published>
      <updated>2019-07-18T01:05:01Z</updated>
      <author><name>OOBIK</name></author>
      <content type="html">
      <![CDATA[
        Hello.<br />
I have a question.<br />
1. In profile, Combined speed and cadence is only send data in page 0?<br />
 Couldn't get any data ? like battery, Serial etc..<br />
2. If I use one MCU(nrf52832) and want to send individual speed(master) and cadence(master) data, the way is just open two channel and send data? is there any other collision or Frequency problem?<br />
3.If I use one MCU and send seperate cadence and speed data (different channel), the licence fee is double? or it like one ant+ device?<br />
thank you.<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>SDK For Mac</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7141/" />      
      <id>tag:https:,2019:/www.thisisant.com/forum/viewthreadANT/viewthread/.7141</id>
      <published>2019-02-02T01:54:28Z</published>
      <updated>0</updated>
      <author><name>simonguertin</name></author>
      <content type="html">
      <![CDATA[
        Hi, I downloaded the Mac SDK, and the project does not even compile. It is looking for a file #include "dsi_ant_device_polling.hpp" with is not even provided in the sample. <br />
<br />
Is there something I am missing ? Also, There is right away a warning about the libs being 32 bits. This needs to be 64 bits. Will this project be updated to work with current Macs?<br />
<br />
Thanks<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>I want to know how to use &#8220;ANT&#45;SDK_Mac.3.5&#8221;.</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/7044/" />      
      <id>tag:https:,2018:/www.thisisant.com/forum/viewthreadANT/viewthread/.7044</id>
      <published>2018-07-26T03:33:40Z</published>
      <updated>0</updated>
      <author><name>micu</name></author>
      <content type="html">
      <![CDATA[
        I want to acquire the value of the cadence sensor with a Mac(PC).<br />
ANT+ is connected to mac with USB-m.<br />
<br />
When opening and running the project, a lot of errors occurred.<br />
But I could not crush the error.<br />
<br />
<br />
Is there any good way to do it?<br />
Thank you for your help.
      ]]>
      </content>
    </entry>

    <entry>
      <title>How to use Multi channel</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/6539/" />      
      <id>tag:https:,2016:/www.thisisant.com/forum/viewthreadANT/viewthread/.6539</id>
      <published>2016-07-21T03:33:53Z</published>
      <updated>0</updated>
      <author><name>guicharnism</name></author>
      <content type="html">
      <![CDATA[
        I'm not English man . <br />
<br />
I can't find the way perfectly.<br />
<br />
So I write a new topic. <br />
<br />
Please reply this topic.<br />
<br />
<br />
I use DEMO_NET program for my project. <br />
and I can recive one device data. <br />
But I want to recive two data at the same time. <br />
Two data is Cadence and Speed data. <br />
I know I should use Multi Channel. <br />
But I don't know How can I do. <br />
<br />
Please tell me What should I do. <br />
Please send me an Example Code . please<br />
Thank you.     <br />
<br />
Following code is What I used.<br />
<br />
ANT_PLUS File\ANT_PLUS_DEVELOP\DEMO_NET\demo.cs<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>Discovering Devices</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthreadANT/viewthread/6523/" />      
      <id>tag:https:,2016:/www.thisisant.com/forum/viewthreadANT/viewthread/.6523</id>
      <published>2016-06-30T11:39:35Z</published>
      <updated>0</updated>
      <author><name>MarkMonkey</name></author>
      <content type="html">
      <![CDATA[
        Stupid question maybe - but in order to 'find' a device, does the device have to be moving in order for it to be discoverable?<br />
<br />
I'm thinking given its a low voltage device, it will be asleep when static.<br />
<br />
Might explain why I can't see any of my devices when they are sitting on the desk.
      ]]>
      </content>
    </entry>


</feed>
				</div>
			</div>		
		</div>
	
	</div>	

</div><!-- /#bd -->

	<div id="ft">
	
		<div class="container_16">
			<div class="grid_8 alpha">
				<a href="https://www.thisisant.com/my-ant/terms-of-use/">Terms of Use</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://www.thisisant.com/my-ant/statement-of-privacy/">Privacy Statement </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://www.thisisant.com/company/d1/contact/">Contact</a>
			</div>
			<div class="grid_8 omega copyright">&copy; 2026 Garmin Canada Inc.</div>
		</div>
	
	</div><!-- /#ft -->
	
</div><!-- /#contents -->

<!-- GOOGLE ANALYTICS -->
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-6768816-1', 'auto');
  ga('send', 'pageview');

</script>

</body>
</html>