<?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>lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112943/lookup-meaning-of-bt_hci_core-opcode-0x2036-status-0x07</link><description>I have a project that I&amp;#39;m pulling in code from multiple_adv_sets using v2.7.0 and sysbuild. 
 
 talks about the opcodes and status being in the spec? https://www.bluetooth.com/specifications/specs/core-specification-5-3/ That spec is pretty large, it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jul 2024 12:27:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112943/lookup-meaning-of-bt_hci_core-opcode-0x2036-status-0x07" /><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/494356?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 12:27:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f3b4a2-9947-4ea5-96b7-4a79b4403283</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to hear that it works now after you increased the number of adv. sets. Thanks for the updates. Regarding the recover command, this should&amp;nbsp;ideally be a one time&amp;nbsp;operation. It&amp;nbsp;disables the APPROTECT mechanism on the chip (i.e., readback protection). However, certain actions can cause it to become enabled again. For instance, if you erase the firmware on the netcore or appcore followed by a reset, as the firmware (in the startup files) is responsible for performing the software unlocking of the protection on boot. A crash very early in the boot process can also lead to the same symptoms.&lt;/p&gt;
&lt;p&gt;It may also be worth adding that a --recover or --chiperase command will erase the whole chip, including any bonding information that may be stored in the settings partition. In that case, you will need to delete the bond on the PC and&amp;nbsp;repeat the pairing procedure.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/security/ap_protect.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/security/ap_protect.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/494262?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 04:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64692e0-30fe-4ae0-8891-2873a78ade9e</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;I find that I have to do recover to get the board flashed, I just do it every time.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m wondering if this affects the bond/pairing information.&lt;br /&gt;-- runners.nrfjprog: Recovering and erasing flash memory for both the network and application cores.&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;Erasing user code and UICR flash areas.&lt;br /&gt;Writing image to disable ap protect.&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;Erasing user code and UICR flash areas.&lt;/p&gt;
&lt;p&gt;I set the CONFIG_BT_CTLR_ADV_SET to 6 and haven&amp;#39;t seen 0x2036 since.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/494237?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 19:25:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d283a613-02f2-44dd-9796-0bbc7e8fe99e</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;I marked the ticket as closed.&amp;nbsp; But;&lt;/p&gt;
&lt;p&gt;[00:00:05.356,994] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2036 status 0x07&lt;br /&gt;Failed to create a connectable advertising set hids_mouse (err -5)&lt;br /&gt;&lt;br /&gt;I still get&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;SDC_HCI_OPCODE_CMD_LE_SET_EXT_ADV_PARAMS&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0x2036&lt;/span&gt;&lt;span&gt;,&lt;br /&gt;&lt;br /&gt;0x07 Memory Capacity Exceeded&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;after multiple connection attempts.&amp;nbsp; Aside from putting things in a work queue or upping the&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_ADV_SET any other suggestions?&lt;br /&gt;&lt;br /&gt;It pairs fine and works on first pair.&amp;nbsp; It&amp;#39;s hard to understand why the mouse is disconnecting and reconnecting.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/494212?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 15:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af8db9ad-7284-49f4-aade-eaac6d0252df</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;The hids_mouse also does the workqueue to decouple the advertising and I pulled that in.&amp;nbsp; I also attempted to wrap my other calls that were from adv_multi sample in a workqueue and did not see a difference.&lt;/p&gt;
&lt;p&gt;Let me know if you have any other ideas.&amp;nbsp; I will keep shuffling code...&lt;br /&gt;-----&lt;br /&gt;Everything looks to be working now from nrf connect.&amp;nbsp; Any ideas on why I would not be seeing the device on my windows PC since changing it to&amp;nbsp;bt_le_ext_adv_start?&lt;br /&gt;----&lt;br /&gt;Nordic_HIDS_mouse shows up and it connects and shortly after it tells me driver error.&amp;nbsp; I will keep trying...if you know of a way to debug the interaction between the mouse and the windows pc. lmk&lt;br /&gt;---&lt;br /&gt;Working!&amp;nbsp; Had to get the Kconfig correct; you can&amp;#39;t do windows mouse without&amp;nbsp;&lt;br /&gt;BT_HIDS_SECURITY_ENABLED&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;I had troubles with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;BT_DIRECTED_ADVERTISING&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I disabled that; with it I could not see the device.&amp;nbsp; Regardless, thank you for your help Vidar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493952?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 14:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:763afa26-e29b-446f-9dd5-dd06cf1486c0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;
[quote user="tldr"]The&amp;nbsp;hids mouse does not exist in this project yet, I will be attempting to do that.&amp;nbsp; I&amp;#39;m surprised by the way in which it beats up the connection; if the service doesn&amp;#39;t exist, you&amp;#39;d think it would back off at some point.&amp;nbsp; It looks like a denial of service it connects so many times.&amp;nbsp;[/quote]
&lt;p&gt;I agree, it seems like it would make sense for the PC to back off after a few attempts. The link is probably terminated by the PC when the peripheral reports &amp;quot;pin or key missing&amp;quot; in response to the encryption request. Since it is HID over GATT, which is natively supported by most operating systems, the re-connections in the background will be handled by the OS and not through an app/program. However, it is possible to make the peripheral ignore connection requests from &amp;quot;unknown&amp;quot; devices by using the &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/security-models/"&gt;Bluetooth Filter Accept List feature&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user="tldr"][00:00:41.568,359] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2039 status 0x0d&lt;br /&gt;00&amp;gt; [00:00:41.575,408] &amp;lt;err&amp;gt; bt_adv: Failed to start advertiser&lt;br /&gt;00&amp;gt; Failed to create a connectable advertising set (err -12)[/quote]
&lt;p&gt;It may be that the controller does not have the resources to start advertiser at the time of the request. I&amp;#39;m not sure where in your code you are starting the advertiser here, but please try to offload this task to the system &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/kernel/services/threads/workqueue.html"&gt;workqueue&lt;/a&gt; to see if that fixes the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s an example where advertisment start task is offloaded to the workqueue:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/b3293095a1374d9fa4a7480fb5d145760155596e/samples/bluetooth/peripheral_hr_coded/src/main.c#L82"&gt;https://github.com/nrfconnect/sdk-nrf/blob/b3293095a1374d9fa4a7480fb5d145760155596e/samples/bluetooth/peripheral_hr_coded/src/main.c#L82&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493809?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 06:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd7d31d-6ff1-484c-9260-3770d9e01b68</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;Trying to advertise the peripheral_hids_mouse via advertising_set_create&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;[00:00:41.568,359] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2039 status 0x0d&lt;br /&gt;00&amp;gt; [00:00:41.575,408] &amp;lt;err&amp;gt; bt_adv: Failed to start advertiser&lt;br /&gt;00&amp;gt; Failed to create a connectable advertising set (err -12)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/110613/insufficient-resources-warning-when-connecting"&gt;devzone.nordicsemi.com/.../insufficient-resources-warning-when-connecting&lt;/a&gt;&lt;br /&gt;&lt;span&gt;&amp;gt; The status states BT_HCI_ERR_INSUFFICIENT_RESOURCES, and from what I&amp;#39;ve found, the opcode 0x2039 stands for&amp;nbsp;BT_HCI_OP_LE_SET_EXT_ADV_ENABLE&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I&amp;#39;ve up&amp;#39;d the&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_ADV_SET and I think that is correct, any suggestions appreciated.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493788?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 04:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1c74648-03b6-4f9c-8464-9d1d710b2c65</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;Impressed you were able to discern that from the&amp;nbsp;information given.&amp;nbsp; The machine I am using has an intel bt chipset and this DK I have had paired as a mouse using peripheral_hids_mouse.&amp;nbsp; I tried the other DK board I have and it didn&amp;#39;t exhibit the behavior either so that makes sense.&lt;br /&gt;&lt;br /&gt;The&amp;nbsp;hids mouse does not exist in this project yet, I will be attempting to do that.&amp;nbsp; I&amp;#39;m surprised by the way in which it beats up the connection; if the service doesn&amp;#39;t exist, you&amp;#39;d think it would back off at some point.&amp;nbsp; It looks like a denial of service it connects so many times.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493555?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 06:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d413d11a-f2df-4cb5-bcc9-ef075624a080</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It seems like you have a central device within BLE range that keeps connecting and disconnecting with your nRF5340 DK, and it&amp;#39;s probably filtering on the BLE address since you are not seeing these connection attempts being made when using the Thingy.&lt;/p&gt;
&lt;p&gt;The OUI in the public address of the Bluetooth central is registered to Intel, so I guess the connections are made from a nearby PC with an Intel BT/Wifi chipset.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493503?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 17:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9cb9787-eb5d-4809-a1f7-fd7908739104</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;&lt;span&gt;The connect/disconnect is not happening on the thingy53.&amp;nbsp; It only happens on the nrf5340DK.&lt;br /&gt;I do not have special conf or overlay files for the dk.&amp;nbsp;If the code helps, send me an email from my profile address and I will provide.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493499?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 16:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce9d6ed-ce1c-4c9d-a2e8-24582ebadca9</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;Disconnected: A4:F9:33:82:A2:FC (public) (reason 19)&lt;br /&gt;Connected A4:F9:33:82:A2:FC (public)&lt;br /&gt;Advertiser[2] 0x20001278 connected conn 0x20001408&lt;br /&gt;Disconnected: A4:F9:33:82:A2:FC (public) (reason 19)&lt;br /&gt;&lt;br /&gt;That mac address does not show in the nrf scanner; not sure what else to try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493481?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 15:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbcef5c8-f500-48c9-a516-315640069602</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;Spot on Vidar.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Gives me the whole output!&amp;nbsp; That&amp;#39;s a huge problem solved for me.&amp;nbsp; Why the difference in behavior from cold start and wake sense?&amp;nbsp;&amp;nbsp;The 1024 default might be changed if normal output causes RTT users to get cut off.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;Do you have any BLE security enabled in your application?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have exactly what is coming from&amp;nbsp;multiple_adv_sets, which I believe does nothing with security.&amp;nbsp; I was wondering if its from nrf connect or some other device I have.&amp;nbsp; There is no other peer;&amp;nbsp; no other device is scanning and I&amp;#39;m not using nrfconnect when the connections and disconnections occur.&lt;br /&gt;&lt;br /&gt;&amp;gt;&amp;nbsp;I was wondering where and when you saw the Kconfig warning above.&lt;br /&gt;The warning came from the tooltip hover provided in vscode that shows you the criteria for the flag.&amp;nbsp; I was reaching...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493467?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 14:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d988c043-03e0-4385-afa8-241e41ee3d15</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="tldr"]The first time the device turns on the output still terminates; wake sensing the device works as expected.&lt;br /&gt;Any ideas on how to go about debugging that?&amp;nbsp; I need to do some more testing...I keep seeing connected and disconnected events with (reason 19) happening; more to look into but I&amp;#39;m happy to see the services.&amp;nbsp; lmk if you&amp;#39;ve seen this before.[/quote]
&lt;p&gt;Disconnect reason 19 corresponds to&amp;nbsp;BT_HCI_ERR_REMOTE_USER_TERM_CONN and indicates that the connection was terminated by the peer device. Do you have any BLE security enabled in your application? Reason for asking is that the peer device may in some cases terminate the connection if it fails to secure the connection.&lt;/p&gt;
&lt;p&gt;Regarding the missing log messages, are you printing logs over RTT or UART. If using RTT, it may help to increase the &amp;#39;CONFIG_SEGGER_RTT_BUFFER_SIZE_UP&amp;#39; size.&amp;nbsp;The main() thread does not yield to the log processing thread during initilization which may cause the log buffer to become full.&amp;nbsp;&lt;/p&gt;
[quote user=""]CONFIG_BT_PERIPHERAL was assigned the value y, but got the value n. Missing dependencies:&lt;br /&gt;BT_RPC_STACK || (BT_HCI &amp;amp;&amp;amp; BT)[/quote]
&lt;p&gt;I was wondering where and when you saw the Kconfig warning above. I was not sure what could have&amp;nbsp;caused this as both BT_HCI and BT should be enabled in&amp;nbsp;the application.&lt;/p&gt;
&lt;p&gt;CONFIG_BT_RPC_STACK should only be enabled if you want to run the whole BT stack on the netcore:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/device_guides/nrf53/features_nrf53.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/device_guides/nrf53/features_nrf53.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493454?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2805c466-9838-49d1-ab03-bd98e986423d</guid><dc:creator>tldr</dc:creator><description>&lt;p&gt;Thank you for teaching me how to fish and making me a meal.&lt;/p&gt;
&lt;p&gt;I was able to get the the additional beacon and connectable service working by setting:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_ADV_SET&lt;/span&gt;&lt;span&gt;=3 in prj.conf in sysbuild/ipc_radio&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;.&lt;br /&gt;The first time the device turns on the output still terminates; wake sensing the device works as expected.&lt;br /&gt;Any ideas on how to go about debugging that?&amp;nbsp; I need to do some more testing...I keep seeing connected and disconnected events with (reason 19) happening; more to look into another fishing expedition for a code but I&amp;#39;m happy to see the services.&amp;nbsp; lmk if you&amp;#39;ve seen this before.&lt;br /&gt;&lt;br /&gt;&amp;gt;&lt;span&gt;Did you also include the Kconfig.sysbuild file which enables the&amp;nbsp;NRF_DEFAULT_IPC_RADIO symbol? And did you see the Kconfig warning while building the ipc_radio or the main application?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Yes, I included the Kconfig.sysbuild and the symbol is enabled.&amp;nbsp; I did not see a warning and I don&amp;#39;t see one in your screenshot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lookup meaning of bt_hci_core: opcode 0x2036 status 0x07</title><link>https://devzone.nordicsemi.com/thread/493446?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0fe84ad-fec2-4ddb-a708-b8d71881e45d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The Bluetooth specification does&amp;nbsp;specify the opcodes for all HCI commands (except vendor specific ones),&amp;nbsp;the problem is that the value is split into fields named OCF and OGF, so the opcode value from the error log is not directly searchable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="font-family:inherit;max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720701698781v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;use to&amp;nbsp;search for the opcode in the SDK tree instead:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720700913135v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The status code can be found in the specification. See Vol. 1, Part F, Chapter 2.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720701864626v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720701880920v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This error may, for instance, be raised if you try to add more advertisement sets than what has been allocated by the CONFIG_BT_CTLR_ADV_SET symbol in the &amp;#39;ipc_radio&amp;#39; build. You can confirm the configurations set for the ipc_radio build by&amp;nbsp;checking&amp;nbsp;the generated .config file in build/ipc_radio/zephyr.&lt;/p&gt;
[quote user=""]&lt;div&gt;and I&amp;#39;m now trying to use&amp;nbsp;&lt;span&gt;multiple_adv_sets&amp;nbsp;to provide the beacon and connectable service.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;ve pulled all the settings from the prj.conf in&amp;nbsp;multiple_adv_sets.&amp;nbsp; I&amp;#39;m using sysbuild and I have the ipc_radio prj.conf defined.&lt;br /&gt;The original existing broadcast/observer code is working even though this bt_hci_core has crashed/failed to initialize.&lt;br /&gt;&lt;br /&gt;CONFIG_BT_PERIPHERAL was assigned the value y, but got the value n. Missing dependencies:&lt;br /&gt;BT_RPC_STACK || (BT_HCI &amp;amp;&amp;amp; BT)&lt;/span&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Did you also include the Kconfig.sysbuild file which enables the&amp;nbsp;NRF_DEFAULT_IPC_RADIO symbol? And did you see the Kconfig warning while building the ipc_radio or the main application?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720704548733v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>