<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Background scanning ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68872/background-scanning</link><description>Dear Members, 
 For scanning GSC10 sensor, 
 can this example be used ? 
 https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ant_examples_scanning.html 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Dec 2020 02:27:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68872/background-scanning" /><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282778?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 02:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de206f6c-3e10-45fd-9b8c-932ce4d30093</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;What should I change here for pairing with Garmin GSC10?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.thisisant.com/directory/gsc-10-speed-cadence-bike-sensor"&gt;https://www.thisisant.com/directory/gsc-10-speed-cadence-bike-sensor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; const ant_channel_config_t ms_channel_config =
    {
        .channel_number    = ANT_MS_CHANNEL_NUMBER,
        .channel_type      = CHANNEL_TYPE_MASTER,
        .ext_assign        = 0x00,
        .rf_freq           = RF_FREQ,
        .transmission_type = CHAN_ID_TRANS_TYPE,
        .device_type       = CHAN_ID_DEV_TYPE,
        .device_number     = dev_num,
        .channel_period    = CHAN_PERIOD,
        .network_number    = ANT_NETWORK_NUM,
    };

    const ant_channel_config_t bs_channel_config =
    {
        .channel_number    = ANT_BS_CHANNEL_NUMBER,
        .channel_type      = CHANNEL_TYPE_SLAVE,
        .ext_assign        = EXT_PARAM_ALWAYS_SEARCH,
        .rf_freq           = RF_FREQ,
        .transmission_type = CHAN_ID_TRANS_TYPE,
        .device_type       = CHAN_ID_DEV_TYPE,
        .device_number     = 0x00,              // Wild card
        .channel_period    = 0x00,              // This is not taken into account.
        .network_number    = ANT_NETWORK_NUM,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282767?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 23:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d32801a4-f88c-4d54-8a02-85f978973c47</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;Hi Kenneth,&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;Thanks for the reply,&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;................ So if you know how to scan for an ANT device, then you can go to the ANT+ profile you are interested in to find the specific configuration you need to set for the ANT channel to &amp;quot;find&amp;quot; the ANT+ device you are in specific interested in................&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which file should I change to configure my ANT code talking with my Garmin GSC-10?&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the configuration (channel, frequency and so on ) for Garmin GSC-10 ?&lt;/p&gt;
&lt;p&gt;Where can I find &lt;em&gt;ANT+&lt;strong&gt; profile I&amp;#39;m are interested in ,which file in code example&lt;/strong&gt;?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;em&gt;...........................You need to register as an ANT+ adopter on www.thisisant.com to be able to support ANT+...............&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have registered, what will I do from that registration ? I have put ANT key license on my code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282744?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 16:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1543888-51bc-4524-a2a1-d5977eeaa3af</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It is not easy to provide a simple answer here, but here it goes:&lt;/p&gt;
&lt;p&gt;Any of the master examples should show how you can scan for ANT devices, while ANT+ is &amp;quot;just&amp;quot; defined configuration and usage of an ANT channel. So if you know how to scan for an ANT device, then you can go to the ANT+ profile you are interested in to find the specific configuration you need to set for the ANT channel to &amp;quot;find&amp;quot; the ANT+ device you are in specific interested in. You need to register as an ANT+ adopter on www.thisisant.com to be able to support ANT+.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282703?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 14:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1352b035-3608-4aa4-95bd-f5deb0712e19</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Please give me suggestion, which example should I use for scanning Garmin GSC10 ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282580?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 07:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca3dfb00-bd70-41a2-9536-af01b49783b6</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;If I want to see the value of Garmin GSC10 cadence and speed sensor, how can I retrieve it ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282527?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 17:27:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0153c1e9-41ee-440a-a0a3-6f27fcc1300b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The defines (ANT_PLUS_NETWORK_KEY and&amp;nbsp;ANT_FS_NETWORK_KEY) are required if you plan to support or develop an ANT+ profiles. You can find various ANT+ profiles on &lt;a href="http://www.thisisant.com"&gt;www.thisisant.com&lt;/a&gt;&amp;nbsp;depending on the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282526?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 17:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:688be731-24c5-4c1c-9cf0-3bf9601eebf3</guid><dc:creator>Kenneth</dc:creator><description>[quote user="RixtronixLAB"]What value should I enter in that (ant_evt_t * p_ant_evt, void * p_context) ?[/quote]
&lt;p&gt;This is a callback event from the softdevice to handle ANT events, that is registered by:&lt;/p&gt;
&lt;p&gt;NRF_SDH_ANT_OBSERVER(m_ant_bs_observer,&amp;nbsp;ANT_BS_ANT_OBSERVER_PRIO,&amp;nbsp;sf_background_scanner_process,&amp;nbsp;NULL);&lt;/p&gt;
&lt;p&gt;For instance depending on the ANT event (p_ant_evt-&amp;gt;event) you may choose to handle the data attached to the event depending on your application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282463?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 13:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a9cd5c2-c90a-4462-a2eb-34e397f5b9bb</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Do I need to include these ;&lt;/p&gt;
&lt;p&gt;#ifndef ANT_PLUS_NETWORK_KEY&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //#define ANT_PLUS_NETWORK_KEY&amp;nbsp;&amp;nbsp;&amp;nbsp; {0, 0, 0, 0, 0, 0, 0, 0}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; The ANT+ network key. */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#define ANT_PLUS_NETWORK_KEY {0xB9, 0xA5, 0x21, 0xFB, 0xBD, 0x72, 0xC3, 0x45}&lt;br /&gt;#endif //ANT_PLUS_NETWORK_KEY&lt;br /&gt;&lt;br /&gt;#ifndef ANT_FS_NETWORK_KEY&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; #define ANT_FS_NETWORK_KEY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {0, 0, 0, 0, 0, 0, 0, 0}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; The ANT-FS network key. */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#define ANT_FS_NETWORK_KEY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {0xA8, 0xA4, 0x23, 0xB9, 0xF5, 0x5E, 0x63, 0xC1}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&amp;lt; The ANT-FS network key. */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;#endif // ANT_FS_NETWORK_KEY&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How can I display :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
            NRF_LOG_INFO(&amp;quot;Message number %d&amp;quot;, m_recieved);
            NRF_LOG_INFO(&amp;quot;Device ID:     %d&amp;quot;, m_last_device_id);
            NRF_LOG_INFO(&amp;quot;RSSI:          %d&amp;quot;, m_last_rssi);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282372?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 06:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:056cebb7-f120-4b92-b3b7-2bda4c071899</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Garmin GSC10 , can I retrieve the information from it with ANT background scanning ?&lt;/p&gt;
&lt;p&gt;How can I use this function ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void background_scanner_process(ant_evt_t * p_ant_evt, void * p_context)
{
    uint32_t err_code;
    UNUSED_PARAMETER(p_context);
    if (p_ant_evt-&amp;gt;channel != ANT_BS_CHANNEL_NUMBER)
    {
        return;
    }

    switch (p_ant_evt-&amp;gt;event)
    {
        case EVENT_RX:
        {
            err_code = bsp_indication_set(BSP_INDICATE_RCV_OK);
            APP_ERROR_CHECK(err_code);

            if (p_ant_evt-&amp;gt;message.ANT_MESSAGE_stExtMesgBF.bANTDeviceID)
            {
                m_last_device_id = uint16_decode(p_ant_evt-&amp;gt;message.ANT_MESSAGE_aucExtData);
            }

            if (p_ant_evt-&amp;gt;message.ANT_MESSAGE_stExtMesgBF.bANTRssi)
            {
                m_last_rssi = p_ant_evt-&amp;gt;message.ANT_MESSAGE_aucExtData[5];
            }

            NRF_LOG_INFO(&amp;quot;Message number %d&amp;quot;, m_recieved);
            NRF_LOG_INFO(&amp;quot;Device ID:     %d&amp;quot;, m_last_device_id);
            NRF_LOG_INFO(&amp;quot;RSSI:          %d&amp;quot;, m_last_rssi);

            m_recieved++;
            break;
        }
        default:
        {
            break;
        }
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;background_scanner_process(ant_evt_t * p_ant_evt, void * p_context)&lt;/p&gt;
&lt;p&gt;What value should I enter in that (ant_evt_t * p_ant_evt, void * p_context) ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background scanning ?</title><link>https://devzone.nordicsemi.com/thread/282328?ContentTypeID=1</link><pubDate>Sat, 28 Nov 2020 00:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b5c4d9a-07fe-4230-9422-6d88b961abc1</guid><dc:creator>awneil</dc:creator><description>[quote userid="91908" url="~/f/nordic-q-a/68872/background-scanning"]GSC10 sensor[/quote]
&lt;p&gt;A what ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>