<?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>bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95736/bt_le_ext_adv_create-returning-error--5</link><description>I am quite new to BLE audio, Nordic devices and ZephyrOS. I am currently working with the nRF5340 Audio development boards and in particular the ZephyrOS C Bluetooth samples. The sample that i&amp;#39;m struggling to get working is the simple periodic advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jan 2023 10:30:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95736/bt_le_ext_adv_create-returning-error--5" /><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405435?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 10:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67efe0c8-4bed-4f27-817f-4c5f82ed32f4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;It is great to know that the issue has been resolved.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405331?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 19:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75b57f76-99d8-477a-b279-b49577b2600b</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;Thanks. That solves it. Or by building the Zephyr hci_rpmsg sample with that configuration and flashing the network core separately.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405296?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 14:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4955173-f3b7-4a7c-a798-59d1438a87c7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;If you use unmodified Zephyr sample, you could add child_image folder to your project directory. Inside child_image folder, you should add hci_rpmsg.conf file with the following configuration&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_PER_ADV=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405122?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 18:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d001d0-94bd-41f2-a0e5-7b1c4baf278a</guid><dc:creator>Steve J</dc:creator><description>&lt;p&gt;I suggested it because I had a -5 error with extended advertising yesterday and that solved it. Thinking about it it was probably the adv_set_data call not adv_create that I got the error from.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405120?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 17:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05cc175a-ce0d-45c2-9906-4cb64cadbbc2</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/steve-j"&gt;Steve J&lt;/a&gt;&amp;nbsp; Thanks for your reply. I added that line but unfortunately the problem still persists.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the output of the program :&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.2.99-ncs1 ***
Starting Periodic Advertising Demo
Failed to create advertising set (err -5)
[00:00:00.398,834] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.398,864] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Variant: nRF53x (0x0003)
[00:00:00.398,895] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 109.16784 Build 2917677098
[00:00:00.400,482] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: Identity: F4:5D:59:89:91:45 (random)
[00:00:00.400,482] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: HCI: version 5.3 (0x0c) revision 0x21fa, manufacturer 0x0059
[00:00:00.400,512] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: LMP: version 5.3 (0x0c) subver 0x21fa
[00:00:00.402,374] &amp;lt;wrn&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2036 status 0x01&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_le_ext_adv_create() returning error -5</title><link>https://devzone.nordicsemi.com/thread/405116?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 17:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fd2458-34f0-4bbc-97af-453917662d10</guid><dc:creator>Steve J</dc:creator><description>&lt;p&gt;Try adding -&lt;/p&gt;
&lt;p&gt;CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=255&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>