<?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>What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80529/what-new-features-were-released-in-ncs1-7-0-about-advertising</link><description>Recently, Nordic released ncs1.7.0, I wonder if it supports the following features: 
 1. What is the maximum length of broadcast data for extended advertisement? It cannot exceed 251 bytes in ncs1.6.0. 
 2. Periodic advertising can&amp;#39;t set advertising data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Oct 2021 13:34:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80529/what-new-features-were-released-in-ncs1-7-0-about-advertising" /><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/334378?ContentTypeID=1</link><pubDate>Fri, 15 Oct 2021 13:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0d4d6c-1652-408b-b961-20f29bbbc607</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;By default the receiver is only set up to support reading so I think there are a few more tweaks necessary to make it be able to synchronize with multiple ones. If the 3 advertisers are close together it might also be that they interfere with one another which cause the incorrect IQ data.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/334040?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 07:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39be8c8d-1ba2-4c5a-87a2-b62c69a1cba1</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thank you so much.&lt;/p&gt;
&lt;p&gt;I understood it. The reason is my&amp;nbsp;&lt;span&gt;smart phone&lt;/span&gt;&amp;nbsp;can&amp;#39;t scan periodic advertising data, it led me to think&amp;nbsp;&lt;span&gt;&lt;em&gt;bt_le_per_adv_set_data&lt;/em&gt; can&amp;#39;t work. So, I run&amp;nbsp;&lt;em&gt;direction_finding_connectionless_rx&lt;/em&gt; sample it can scan periodic advertising data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But it only create synchronization with a slave even if setting&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_BT_PER_ADV_SYNC_MAX&lt;/span&gt;&lt;span&gt;=3&amp;nbsp;&lt;/span&gt;&lt;span&gt;in the&amp;nbsp;&lt;em&gt;direction_finding_connectionless_rx&lt;/em&gt;&amp;nbsp;sample. So I did some changes in the sample, here is the source code,&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/37650.main.c"&gt;devzone.nordicsemi.com/.../37650.main.c&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It can&amp;nbsp;&lt;/span&gt;&lt;span&gt;establish&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;synchronization&amp;nbsp;&lt;/span&gt;&lt;span&gt;with&amp;nbsp;&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;&amp;nbsp;slaves at the same time, but&amp;nbsp;&lt;/span&gt;&lt;span&gt;can&amp;nbsp;&lt;/span&gt;&lt;span&gt;only&amp;nbsp;&lt;/span&gt;&lt;span&gt;receive&amp;nbsp;&lt;/span&gt;&lt;span&gt;IQ data&amp;nbsp;&lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;&amp;nbsp;tag, and sometimes the IQ-data was wrong, the following is running log&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634196274031v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634196340978v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/333832?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 07:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21b4525b-a202-4bf6-88d0-9af382855e27</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;2. The advertising sets in the direction finding example uses the following struct to set up the advertising sets. What kind of issues do you have trying to set up the bt_le_per_adv_set_data?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static struct bt_le_ext_adv *adv_set;

const static struct bt_le_adv_param param =
		BT_LE_ADV_PARAM_INIT(BT_LE_ADV_OPT_EXT_ADV |
				     BT_LE_ADV_OPT_USE_NAME,
				     BT_GAP_ADV_FAST_INT_MIN_2,
				     BT_GAP_ADV_FAST_INT_MAX_2,
				     NULL);

static struct bt_le_ext_adv_start_param ext_adv_start_param = {
	.timeout = 0,
	.num_events = 0,
};

const static struct bt_le_per_adv_param per_adv_param = {
	.interval_min = BT_GAP_ADV_SLOW_INT_MIN,
	.interval_max = BT_GAP_ADV_SLOW_INT_MAX,
	.options = BT_LE_ADV_OPT_USE_TX_POWER,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;5. The Bluetooth SIG specification only supports up to 8 bit resolution of the I and Q samples. which is why these are set to 8 bit in our example project. The nRF52833 supports a resolution of&amp;nbsp;&lt;strong&gt;up to&lt;/strong&gt; 12 bits, but we&amp;#39;ve not added support for a proprietary extension yet.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/333643?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 07:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc81d9b7-81db-4a8a-a11f-365bbf1e464e</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Question-2: I run &lt;em&gt;nrf/samples/bluetooth/sample direction_finding_connectionless_tx&lt;/em&gt;, and&amp;nbsp;it use zephyr controller, but it can&amp;#39;t set advertising data by calling&amp;nbsp;&lt;em&gt;bt_le_per_adv_set_data. &lt;/em&gt;And it&amp;#39;s same to run sample&lt;em&gt; zephyr/samples/bluetooth/periodic_adv. &lt;/em&gt;Can you help me to confirm the api wether it worked?&lt;/p&gt;
&lt;p&gt;Question-5: I&amp;#39;m sorry that I misunderstood the documentation, But it&amp;#39;s 8-bits signed in file &amp;quot;zephyr/include/bluetooth/hci.h&amp;quot;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634023962347v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/333625?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 06:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbd1b2c6-6a02-42a6-a4d8-56932b30da47</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. The same goes for nRFConnect SDK (NCS) v1.7.0 as well. One advertisement can be up t 251 bytes. You can also used chained advertising to reach up to 255 bytes of advertising. We will support larger chained advertising in the future.&lt;/p&gt;
&lt;p&gt;2. The&amp;nbsp;&lt;em&gt;bt_le_per_adv_set_data&amp;nbsp;&lt;/em&gt;seems to be part of the Zephyr stack, so it should be usable if you&amp;#39;re using the Zephyr controller.&lt;/p&gt;
&lt;p&gt;3. Yes, the Direction Finding sample projects in NCS are BLE compatible and can be used in products, but you&amp;#39;ll likely want to make some changes to the sample projects to fit your product as good as possible.&lt;/p&gt;
&lt;p&gt;4. There does not seem to be a limit in the Bluetooth specification to the max number of simultaneous periodic advertising syncs.&amp;nbsp;From what I can tell the restriction may be due to the use of a uint8_t for indices and memory buffer counts. If more than 64 instances are buildable and functional, you are free to increase this to what you&amp;#39;d like.&lt;/p&gt;
&lt;p&gt;5. From what I can see both I and Q samples are 12 bits signed. Where do you see that the &lt;strong&gt;I&lt;/strong&gt; samples are 16-bits unsigned in the documentation and 8-bits in NCS?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634020593045v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What new features were released in ncs1.7.0 about advertising?</title><link>https://devzone.nordicsemi.com/thread/333610?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 03:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e13a2a-5280-4552-97aa-23ba8b839a92</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;Add the question:&lt;/p&gt;
&lt;p&gt;4. Why is &lt;em&gt;CONFIG_BT_PER_ADV_SYNC_MAX&amp;nbsp;&lt;/em&gt;maximum is 64? What does limit it? Core spec, timing sequence, memory or others?&lt;/p&gt;
&lt;p&gt;5. For format of IQ sampling, I is 16-bits unsigned and Q is 12-bits signed in nRF52833 production specification, but both I and Q are 8-bit signed in ncs. Why are they different?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>