<?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/" />
    <link rel="self" type="application/atom+xml" href="https://www.thisisant.com/forum/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:10</id>


    <entry>
      <title>problems attaching Polar H9 sensor</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/11179/" />      
      <id>tag:https:,2026:/www.thisisant.com/forum/viewthread/.11179</id>
      <published>2026-02-10T14:31:53Z</published>
      <updated>0</updated>
      <author><name>Max1187</name></author>
      <content type="html">
      <![CDATA[
        Hi,<br />
My project is in Javascript and I use the ant-plus-next library to attach multiple sensor (in theory up to 8 sensors) using a USBStick2.<br />
<br />
To attach in safe mode all the sensor I used the same logic written in the official github repo: <a href="https://github.com/Benjamin-Stefan/ant-plus-next/blob/main/examples/sample.js">antplusnextExample</a>.<br />
Essentially I first attach with wildcard mode (<em>sensor.attach(0, 0);</em>) and only when I get the real deviceID i detach it and start to attach it at the specificID at the same channel (<em>sensor.attach(0,deviceID)</em><br />
<br />
This works really well for many sensors.<br />
The problem happens with a particular heart rate sensor: the POLAR H9 (and maybe others that I hadn't tested yet!). With this sensor my code stops on the specific attach and never returns. <br />
The only way that I found to make it work is to attach it in wildcard mode, then, when I get the specific sensor ID, detach it, and finally create a NEW object <em>HeartRateSensor </em> and attach it with the specific ID and the next channel. So in this case, the  POLAR H9 make me waste 1 channel (the first used for wildcard attach, the following for the specific attach).<br />
You will find attached the code that I use now to handle the attach logic.<br />
<br />
<strong>I really want to find another way, to occupy only one channel!<br />
</strong><br />
Thanks in advance <img src="http://www.thisisant.com/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" />
      ]]>
      </content>
    </entry>

    <entry>
      <title>ANTWARE NOT OPENING CHANNEL &#63;</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/10080/" />      
      <id>tag:https:,2025:/www.thisisant.com/forum/viewthread/.10080</id>
      <published>2025-11-05T18:33:02Z</published>
      <updated>0</updated>
      <author><name>Lindgaard</name></author>
      <content type="html">
      <![CDATA[
        Feedback display:<br />
<br />
Channel Id Set: 0,120,1<br />
Set freq to 2457Mhz<br />
Set msg period to 8070/32768 sec<br />
Auto-Open Initiated...<br />
&gt; Assigning Channel...<br />
Assigned: BASE_Slave_Receive_0x00 on net 0<br />
&gt; Opening Channel...<br />
<br />
TIMES OUT AND CLOSES.<br />
<br />
I cannot get beoynd this and receive HRM data from my POLAR H9.<br />
Belt working 100%.
      ]]>
      </content>
    </entry>

    <entry>
      <title>What data is saved in FIT file fro HRM</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7964/" />      
      <id>tag:https:,2025:/www.thisisant.com/forum/viewthread/.7964</id>
      <published>2025-01-07T23:08:37Z</published>
      <updated>0</updated>
      <author><name>sdzell18</name></author>
      <content type="html">
      <![CDATA[
        Hello,<br />
<br />
I am new to ANT+<br />
I have a nrf52840 running s340 and the ANT+ hrm example from nordic nrf5 SDK v 17.1.0.  This all works as expected.  <br />
<br />
I am wondering, what is the point of all these pages and other data fields if I only see HRM saved output in the FIT Activity file output from a cycling computer?  How can I make some of these other data exposed in the FIT file our output in any format.  <br />
<br />
Thanks in advance!<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>Help to get HRM working</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7746/" />      
      <id>tag:https:,2024:/www.thisisant.com/forum/viewthread/.7746</id>
      <published>2024-06-23T16:27:56Z</published>
      <updated>0</updated>
      <author><name>alay10</name></author>
      <content type="html">
      <![CDATA[
        Hello, <br />
<br />
I'm using a Garmin Forerunner 55 as a HRM and set it to broadcast the heart rate on the watch. Then in ANTware II I set these settings:<br />
<br />
Channel Assignment: Slave<br />
Device #: 0<br />
Device Type: 120<br />
Trans. Type: 0<br />
Channel Period: 8070<br />
Radio Frequency: 57<br />
Network Key: Garmin developer key (from <a href="https://www.thisisant.com/developer/ant-plus/ant-plus-basics/network-keys">https://www.thisisant.com/developer/ant-plus/ant-plus-basics/network-keys</a>)<br />
<br />
I then click auto-open and it says "Opening Channel..." and after about 30 seconds it says "EVENT_RX_SEARCH_TIMEOUT_0x01<br />
  :: 40, 00-01-01<br />
EVENT_CHANNEL_CLOSED_0x07<br />
  :: 40, 00-01-07"<br />
<br />
When I get the status it says "Received Status: SEARCHING_0x2<br />
  Network Number: Not Available<br />
  Type: Not Available"<br />
<br />
How can I fix this to get the heart rate?
      ]]>
      </content>
    </entry>

    <entry>
      <title>Alternating main datapages</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7686/" />      
      <id>tag:https:,2023:/www.thisisant.com/forum/viewthread/.7686</id>
      <published>2023-10-09T02:53:40Z</published>
      <updated>0</updated>
      <author><name>cujo</name></author>
      <content type="html">
      <![CDATA[
        In spec 2.5 of the HR profile, it introduces the concept of the alternating main datapages.<br />
<br />
Its not entirely clear if this pattern is for the 64 main page counts, or if the pattern removes background pages entirely. Some clarification here would be appreciated on how this modified from the default as it does not explicitly say whether MD_0008 is still in effect or not and the pictograph does not show background pages. Thanks.
      ]]>
      </content>
    </entry>

    <entry>
      <title>Timeout problem in receiving data</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7617/" />      
      <id>tag:https:,2022:/www.thisisant.com/forum/viewthread/.7617</id>
      <published>2022-10-30T14:31:38Z</published>
      <updated>2022-10-30T15:36:57Z</updated>
      <author><name>MeysamEstaca</name></author>
      <content type="html">
      <![CDATA[
        Hi,<br />
I have a problem about  <strong> Search Timeout </strong> while trying to receive data using C++ console application (demo.cpp).<br />
<br />
I am following this link (<a href="https://www.thisisant.com/developer/ant/starting-your-project/#73_tab">https://www.thisisant.com/developer/ant/starting-your-project/#73_tab</a>)<br />
<br />
First, I downloaded the Windows library package and build the solution in Visual Studio. Then I opened the demo.cpp file in DEMO_LIB project and changed the parameters of channel as follows:<br />
<em>#define USER_DEVICENUM        (120)<br />
#define USER_DEVICETYPE       (0)<br />
#define USER_TRANSTYPE        (0)</em><br />
I set these three channel parameters as above, because I am using heart rate watch as the master (to send data to my PC) and there is a USB device, connected to my PC as the slave (to receive data).<br />
when I run the demo.cpp after setting the above parameters, I get the following output and I can't get the data from the Heart Rate watch (Master).<br />
<br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">Channel&nbsp;Type</span><span style="color: #007700">?&nbsp;(</span><span style="color: #0000BB">Master&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Slave&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">1<br />Resetting&nbsp;module</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">RESET&nbsp;Complete</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">reason</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">RESET_CMD<br />Setting&nbsp;network&nbsp;key</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Network&nbsp;key&nbsp;set</span><span style="color: #007700">.<br /></span><span style="color: #0000BB">Assigning&nbsp;channel</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Channel&nbsp;assigned<br />Setting&nbsp;Channel&nbsp;ID</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Channel&nbsp;ID&nbsp;set<br />Setting&nbsp;Radio&nbsp;Frequency</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Radio&nbsp;Frequency&nbsp;set<br />Opening&nbsp;channel</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Chanel&nbsp;opened<br />Enabling&nbsp;extended&nbsp;messages</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Extended&nbsp;messages&nbsp;enabled&nbsp;</span>
</span>
</code></div><br />
<br />
after waiting a bit I will get the following output:<br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">Search&nbsp;Timeout<br />Channel&nbsp;Closed<br />Unassigning&nbsp;channel</span><span style="color: #007700">...<br /></span><span style="color: #0000BB">Channel&nbsp;unassigned<br />Press&nbsp;enter&nbsp;to&nbsp;</span><span style="color: #007700">exit&nbsp;</span>
</span>
</code></div><br />
<br />
I don't know why the USB device (slave) can't find the channel?<br />
I appreciate if you can guide me how to solve and receive data,<br />
it's a bit hard for me because I don't have background in network and wireless communication, but I have read the basic protocol documentation two times, still can't find a solution.<br />
<br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>toggle bit vs page</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7583/" />      
      <id>tag:https:,2022:/www.thisisant.com/forum/viewthread/.7583</id>
      <published>2022-03-16T01:11:20Z</published>
      <updated>0</updated>
      <author><name>Gavriel - Flöcsy</name></author>
      <content type="html">
      <![CDATA[
        Hi,<br />
<br />
I'm a bit confused after reading the Heart Rate device profile pdf. Is the following interpretation correct?<br />
<br />
1. When the page number doesn't change between 2 consecutive messages, then I only decode bytes 1-3 when the toggle bit switched.<br />
<br />
2. When the pageNumber changes then I decode bytes 1-3 anyway. Is this right? Or even then I should wait until the toggle bit switches?<br />
<br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">if&nbsp;((</span><span style="color: #0000BB">lastPageNumber&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">payload</span><span style="color: #007700">.</span><span style="color: #0000BB">pageNumber&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">lastPageChangeToggleBit&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">payload</span><span style="color: #007700">.</span><span style="color: #0000BB">pageChangeToggleBit</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;||&nbsp;</span><span style="color: #0000BB">lastPageNumber&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">payload</span><span style="color: #007700">.</span><span style="color: #0000BB">pageNumber&nbsp;</span><span style="color: #FF8000">//&nbsp;should&nbsp;I&nbsp;keep&nbsp;this&nbsp;line&nbsp;or&nbsp;remove&nbsp;it?<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;decodeBytes123</span><span style="color: #007700">(</span><span style="color: #0000BB">payload</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#125;<br />decodeBytes4567</span><span style="color: #007700">(</span><span style="color: #0000BB">payload</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">lastPageNumber&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">payload</span><span style="color: #007700">.</span><span style="color: #0000BB">pageNumber</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">lastPageChangeToggleBit&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">payload</span><span style="color: #007700">.</span><span style="color: #0000BB">pageChangeToggleBit</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div><br />

      ]]>
      </content>
    </entry>

    <entry>
      <title>Garmin HR&#45;TRI Running Dynamics</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7581/" />      
      <id>tag:https:,2022:/www.thisisant.com/forum/viewthread/.7581</id>
      <published>2022-03-08T17:42:31Z</published>
      <updated>0</updated>
      <author><name>Roolon</name></author>
      <content type="html">
      <![CDATA[
        Hi, I`m starting with ANT+ stack. I`ve got Garmin HR-TRI and ANT+ dongle and nRF52811 board. <br />
Is it possible , and how to read Running Dynamics data from HR-tri chest belt?  
      ]]>
      </content>
    </entry>

    <entry>
      <title>Decoding main data page 0 required for getting certification for ConnectIQ store</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7571/" />      
      <id>tag:https:,2022:/www.thisisant.com/forum/viewthread/.7571</id>
      <published>2022-01-25T19:46:06Z</published>
      <updated>0</updated>
      <author><name>inigoTE</name></author>
      <content type="html">
      <![CDATA[
        I have developed a datafield for Garmin devices that uses Ant+ to get data from a heart rate monitor.<br />
The datafield works fine and displays hr and some parameters calculated from hrv in the screen.<br />
<br />
During the validation process to make the app available in the Garmin Connect store, I have been contacted by ANT+ Product Certification Team concerning an issue:<br />
<br />
"Your CIQ app has been tested and an issue has been identified:<br />
the main data page 0 is not decoded and displayed on the tested device.<br />
To pass the certification, this issue should be corrected."<br />
<br />
This is my first ANT+ app and I am blocked. I don't receive page 0 from de heart rates monitors and do not know how to solve this issue. <br />
Can someone clarify how to deal with this issue?<br />
Thanks
      ]]>
      </content>
    </entry>

    <entry>
      <title>Saving to SDcard &#63;</title>
      <link rel="alternate" type="text/html" href="https://www.thisisant.com/forum/viewthread/7562/" />      
      <id>tag:https:,2021:/www.thisisant.com/forum/viewthread/.7562</id>
      <published>2021-12-03T04:03:09Z</published>
      <updated>0</updated>
      <author><name>RixtronixLAB</name></author>
      <content type="html">
      <![CDATA[
        Dear Members,<br />
<br />
I want to log my ANT+ HRM into SDcard,<br />
I tried with flag, but it never goes to main loop,<br />
<br />
I'm using nRF52840 <br />
Code : <br />
<br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">void&nbsp;ant_hrm_page_0_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">uint8_t&nbsp;</span><span style="color: #007700">const&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;</span><span style="color: #0000BB">p_page_buffer</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ant_hrm_page0_data_t&nbsp;</span><span style="color: #007700">*&nbsp;</span><span style="color: #0000BB">p_page_data</span><span style="color: #007700">)<br /><br /></span><span style="color: #FF8000">//set&nbsp;flag&nbsp;for&nbsp;SDCARD&nbsp;writing&nbsp;1&nbsp;December&nbsp;2021&nbsp;Rixtronix&nbsp;LAB&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SDCARD_Flag</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div><br />
<br />
main loop : <br />
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">//wait&nbsp;for&nbsp;SDCARD_FLAG=1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">SDCARD_Flag</span><span style="color: #007700">==</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"\rWRITE&nbsp;SDCARD..&nbsp;\r\n"</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">SDCARD_Flag</span><span style="color: #007700">=</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//Reset&nbsp;the&nbsp;SDcard&nbsp;flag<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span>
</span>
</code></div><br />
<br />
Any clues ? thanks
      ]]>
      </content>
    </entry>


</feed>