<?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>getting device number from master</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4116/getting-device-number-from-master</link><description>Hello,
I want to implement device pairing, using the pairing bit. The pairing bit is set in the masters device type. For a slave to pair with such master, it opens a channel with the device type set to the pairings masters device type and the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Oct 2014 06:37:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4116/getting-device-number-from-master" /><item><title>RE: getting device number from master</title><link>https://devzone.nordicsemi.com/thread/14730?ContentTypeID=1</link><pubDate>Thu, 23 Oct 2014 06:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b445d063-fe4b-43f2-ab7c-3e9b82e80a52</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;Why not?
I can use any of eight channels (from 0 to 7) nRF51 S210/310 offers (except Scan mode available for  channel 0 only).&lt;/p&gt;
&lt;p&gt;Really this setting I&amp;#39;ve used to prove a functionality with different ANT networks and channels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting device number from master</title><link>https://devzone.nordicsemi.com/thread/14729?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2014 12:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b660aaa-57c6-4666-adb2-993ca01a534f</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;@testy Sorry, I&amp;#39;ve missed your answer. I&amp;#39;ve tried solution 1 and it&amp;#39;s working like a charm. Thank you. BTW: Why are you using 0x06 for channel_0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting device number from master</title><link>https://devzone.nordicsemi.com/thread/14728?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2014 12:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9ba078c-bb48-4347-bdd4-102444522e7f</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;ad 1) yes, you can:&lt;/p&gt;
&lt;p&gt;// #define CHANNEL_0 0x06&lt;/p&gt;
&lt;p&gt;uint16_t ChanDevNum;
uint8_t ChanDevType, ChanTransType;&lt;/p&gt;
&lt;p&gt;err_code = &lt;strong&gt;sd_ant_channel_id_get&lt;/strong&gt;(CHANNEL_0, &amp;amp;ChanDevNum, &amp;amp;ChanDevType, &amp;amp;ChanTransType);&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;ad 2) or use ANTLibConfig &amp;amp; check extended payload:&lt;/p&gt;
&lt;p&gt;err_code = &lt;strong&gt;sd_ant_lib_config_set&lt;/strong&gt;(ANT_LIB_CONFIG_MESG_OUT_INC_DEVICE_ID);	// prior to opening SLAVE channel enable extended messaging to standard 8byte payload&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>