<?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>nRF24LU1 esb default channel</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17786/nrf24lu1-esb-default-channel</link><description>Hello, when I check nRFgo SDK document and demo, find one difference, it&amp;#39;s strange. 
 First, in demo, I check hal_nrf.c: 
 /** 
 
 Typedef for the RF_CH register. Contains all the bitaddressable 
 settings in the bits struct and the value sent to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Nov 2016 00:55:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17786/nrf24lu1-esb-default-channel" /><item><title>RE: nRF24LU1 esb default channel</title><link>https://devzone.nordicsemi.com/thread/68524?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2016 00:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1153f830-a725-44f7-b767-f7eb18d90434</guid><dc:creator>Chaw</dc:creator><description>&lt;p&gt;Thanks.
I have checked, it is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1 esb default channel</title><link>https://devzone.nordicsemi.com/thread/68522?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2016 09:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3513b02c-d387-4c60-a8cc-510f99215a39</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The channel is not set in the example code. The nRF24 module will use the default channel if you dont set the channel yourself. If you want to set the channel use &lt;code&gt;hal_nrf_set_rf_channel(channel)&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1 esb default channel</title><link>https://devzone.nordicsemi.com/thread/68523?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2016 00:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71862d8f-743a-4f43-b3a0-1436b3109dda</guid><dc:creator>Chaw</dc:creator><description>&lt;p&gt;Thanks.
And could you tell me where code set default channel to 2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1 esb default channel</title><link>https://devzone.nordicsemi.com/thread/68521?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 13:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a05f02-8577-4fb1-8572-1303b75094d5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The following default radio parameters are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;RF channel 2&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;2 Mbps data rate&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;RX address 0xE7E7E7E7E7 (pipe 0) and 0xC2C2C2C2C2 (pipe 1)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;1 byte CRC&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In &lt;code&gt;uint8_t rf_ch : 7&lt;/code&gt; :7 is just the number of bits in the bit-field. &lt;code&gt;rf_ch&lt;/code&gt; is going to use 7 bits to store the value. You can read more about bit fields &lt;a href="https://www.tutorialspoint.com/cprogramming/c_bit_fields.htm"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>