<?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>Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85203/extended-adverts-bt_le_ext_adv_create-error</link><description>Hi, 
 I am trying to enable extended adverts, when the call to bt_le_ext_adv_create is made, it always returns: 
 
 Using the following code: 
 
 
 My custom service has the following init: 
 
 
 My prj.conf 
 
 
 If using normal adverts, everything works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Nov 2022 07:54:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85203/extended-adverts-bt_le_ext_adv_create-error" /><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/397064?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 07:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1213ce94-65b1-463f-954a-4771ed20d533</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Hello Billy, did you come up to a solution to this problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/356254?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 10:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d93e83e0-29db-4284-97d6-3f6a063cfcf3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, I have been OoO the last couple of days. The&amp;nbsp;&lt;span&gt;thingy53_nrf5340_cpunet.conf file will only be included if you build for the Thingy53. Seems strange that this file would be generated when building for the DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How to include and build with specific (child) images is &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_multi_image.html#ug-multi-image-variables"&gt;explained here, in the multi image user guide section&lt;/a&gt; of our documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355889?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 16:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b08b69-71c7-49e8-a630-22104cd4fa95</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It appears that the thingy53_nrf5340_cpunet.conf file is not actually included in the build process, but it is the only additional .conf file i have in the project.&lt;/p&gt;
&lt;p&gt;Does that mean that i need to create a new one to change any options within the network build? if so, what would the steps/naming convention be? i cannot seem to find any supporting documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355883?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 15:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80544be6-7cd6-4051-9d05-ca9418ea3c38</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have now looked at every sample which provides extended adverts (multiple_adv_sets, direction_finding_peripheral etc) and none of them show anything that i could have missed.&lt;/p&gt;
&lt;p&gt;I also checked if you create project from sample application and choose nrf5340dk_nrf5340_cpuapp, the the build process generated a network core conf file named thingy53_nrf5340_cpunet.conf.&lt;/p&gt;
&lt;p&gt;I understand the error i am getting is the network core saying the command is not supported&lt;/p&gt;
&lt;p&gt;I am really out of ideas now as to what i need to do to enable this feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355599?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 14:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01815098-8bdb-4f27-b942-34000611b0c4</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Adding or removing the two entries seems to make no difference.&lt;/p&gt;
&lt;p&gt;I am not building for the Thingy:53, All i did was use the &amp;#39;New application from sample&amp;#39; option, and when adding the build selected the nRF5340dk_nRF5340_cpuapp option - and this is what was created&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1646145353457v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1646145410542v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I did not select the Thingy:53 - this was given to me automatically by nRFConnect - i assumed it uses the same option&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355561?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 13:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1df7cc4-eb19-4608-819b-8f27522fd6f7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;So if you remove the CONFIG_BT_CTLR_ADV_EXT and&amp;nbsp;&lt;span&gt;CONFIG_BT_EXT_ADV from the child image config file, the application works as intended (this should be the correct file)? It seems like you&amp;#39;re building for the Thingy:53, is that correct? Have you followed the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thingy53.html#thingy53-app-guide"&gt;Thingy:53 application guide&lt;/a&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355349?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 16:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a3f20ec-2233-4500-bff6-7fab73c5331c</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, sorry i should have included this.&lt;/p&gt;
&lt;p&gt;My project is derived from the peripheral_lbs sample, so when i look in the explorer i have a&lt;/p&gt;
&lt;p&gt;child_image\hci_rpmsg\boards\thingy53_nrf5340_cpunet.conf&lt;/p&gt;
&lt;p&gt;file, i have copied the three lines from the periperhal_hr_coded file&lt;/p&gt;
&lt;p&gt;peripheral_hr_coded\child_image\hci_rpmsg.conf&lt;/p&gt;
&lt;p&gt;so now my child_image conf file looks like this:&lt;/p&gt;
&lt;pre&gt;CONFIG_RPMSG_SERVICE=y&lt;br /&gt;CONFIG_RPMSG_SERVICE_MODE_REMOTE=y&lt;br /&gt;&lt;br /&gt;CONFIG_HEAP_MEM_POOL_SIZE=8192&lt;br /&gt;&lt;br /&gt;CONFIG_MAIN_STACK_SIZE=512&lt;br /&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512&lt;br /&gt;CONFIG_BT=y&lt;br /&gt;CONFIG_BT_HCI_RAW=y&lt;br /&gt;CONFIG_BT_MAX_CONN=10&lt;br /&gt;CONFIG_BT_CTLR_ASSERT_HANDLER=y&lt;br /&gt;CONFIG_BT_HCI_RAW_RESERVE=1&lt;br /&gt;CONFIG_BT_BUF_CMD_TX_COUNT=10&lt;br /&gt;&lt;br /&gt;# Increase maximum data length of PDU supported in the Controller&lt;br /&gt;CONFIG_BT_CTLR_DATA_LENGTH_MAX=251&lt;br /&gt;CONFIG_BT_BUF_ACL_TX_SIZE=251&lt;br /&gt;CONFIG_BT_BUF_ACL_RX_SIZE=502&lt;br /&gt;&lt;br /&gt;CONFIG_BT_EXT_ADV=y&lt;br /&gt;CONFIG_BT_CTLR_ADV_EXT=y&lt;br /&gt;# CONFIG_BT_CTLR_PHY_CODED=y&lt;/pre&gt;
&lt;p&gt;But it did not help&lt;/p&gt;
&lt;p&gt;Im assuming this is the correct file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355274?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 12:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eac71ae-59e4-47d8-86da-8e4a6a5d8dc3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Billy&lt;/p&gt;
&lt;p&gt;Have you set the configs in a child_image folder as well? You can refer to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;peripheral_hr_coded &lt;/a&gt;sample project to see how it is done there.&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: Extended adverts bt_le_ext_adv_create error</title><link>https://devzone.nordicsemi.com/thread/355142?ContentTypeID=1</link><pubDate>Sun, 27 Feb 2022 16:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b32f60-30f8-47f6-a652-7f2a09c44f5a</guid><dc:creator>billywalton</dc:creator><description>&lt;p&gt;I hava some additional debug data&lt;/p&gt;
&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;[00:00:33.437,377] &amp;lt;dbg&amp;gt; bt_hci_core.bt_hci_cmd_create: opcode 0x2036 param_len 25&lt;br /&gt;[00:00:33.460,571] &amp;lt;dbg&amp;gt; bt_hci_core.bt_hci_cmd_create: buf 0x200060cc&lt;br /&gt;[00:00:33.482,788] &amp;lt;dbg&amp;gt; bt_id.bt_id_set_adv_random_addr: F3:27:69:6D:48:9E&lt;br /&gt;[00:00:35.749,877] &amp;lt;dbg&amp;gt; bt_hci_core.bt_hci_cmd_send_sync: buf 0x200060cc opcode 0x2036 len 28&lt;br /&gt;[00:00:35.774,169] &amp;lt;dbg&amp;gt; bt_hci_core.process_events: count 2&lt;br /&gt;[00:00:35.795,379] &amp;lt;dbg&amp;gt; bt_hci_core.process_events: ev-&amp;gt;state 4&lt;br /&gt;[00:00:35.816,955] &amp;lt;dbg&amp;gt; bt_hci_core.send_cmd: calling net_buf_get&lt;br /&gt;[00:00:35.838,653] &amp;lt;dbg&amp;gt; bt_hci_core.send_cmd: calling sem_take_wait&lt;br /&gt;[00:00:35.860,565] &amp;lt;dbg&amp;gt; bt_hci_core.send_cmd: Sending command 0x2036 (buf 0x200060cc) to driver&lt;br /&gt;[00:00:35.884,979] &amp;lt;dbg&amp;gt; bt_hci_core.bt_send: buf 0x200060cc len 28 type 0&lt;br /&gt;[00:00:35.907,440] &amp;lt;dbg&amp;gt; bt_hci_driver.bt_rpmsg_send: buf 0x200060cc type 0 len 28&lt;br /&gt;[00:00:35.930,633] &amp;lt;dbg&amp;gt; bt_hci_driver.Final HCI buffer:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01 36 20 19 00 01 00 a0&amp;nbsp; 00 00 f0 00 00 07 01 00 |.6 ..... ........&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00 00 00 00 00 00 00 7f&amp;nbsp; 01 00 02 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |........ .....&lt;br /&gt;[00:00:35.971,221] &amp;lt;dbg&amp;gt; bt_hci_core.process_events: ev-&amp;gt;state 0&lt;br /&gt;[00:00:35.992,797] &amp;lt;dbg&amp;gt; bt_hci_driver_nrf53.endpoint_cb: Received message of 7 bytes.&lt;br /&gt;[00:00:36.016,296] &amp;lt;dbg&amp;gt; bt_hci_driver_nrf53.Data:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04 0f 04 01 01 36 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |.....6&lt;br /&gt;[00:00:36.046,875] &amp;lt;dbg&amp;gt; bt_hci_driver.RPMsg data:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04 0f 04 01 01 36 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |.....6&lt;br /&gt;[00:00:36.076,934] &amp;lt;dbg&amp;gt; bt_hci_driver.bt_rpmsg_evt_recv: len 4&lt;br /&gt;[00:00:36.098,388] &amp;lt;dbg&amp;gt; bt_hci_driver.bt_rpmsg_rx: Calling bt_recv(0x200060cc)&lt;br /&gt;[00:00:36.121,276] &amp;lt;dbg&amp;gt; bt_hci_core.bt_recv: buf 0x200060cc len 6&lt;br /&gt;[00:00:36.143,035] &amp;lt;dbg&amp;gt; bt_hci_core.hci_cmd_status: opcode 0x2036&lt;br /&gt;[00:00:36.164,764] &amp;lt;dbg&amp;gt; bt_hci_core.hci_cmd_done: opcode 0x2036 status 0x01 buf 0x200060cc&lt;br /&gt;[00:00:36.188,781] &amp;lt;dbg&amp;gt; bt_hci_driver.RX buf payload:&lt;br /&gt;[00:00:36.209,472] &amp;lt;dbg&amp;gt; bt_conn.bt_conn_prepare_events:&lt;br /&gt;[00:00:36.230,407] &amp;lt;dbg&amp;gt; bt_hci_core.hci_tx_thread: Calling k_poll with 2 events&lt;br /&gt;[00:00:36.253,417] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2036 status 0x01&lt;br /&gt;Failed to create adv (err -5)&lt;br /&gt;Ext advertising failed to start (err -5)&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>