<?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>BLE failures with EIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104861/ble-failures-with-eio</link><description>I&amp;#39;m developing a BLE application using several connections, and of course I&amp;#39;m advertising and scanning to establish those connections. I have up to 5 connections at a time and running both peripheral and central roles. 
 
 Occasionally I get an error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Mar 2024 12:59:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104861/ble-failures-with-eio" /><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/476145?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 12:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e097dc-9939-449b-a392-62b472d9e539</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;MMater,&lt;/p&gt;
&lt;p&gt;You will need it on both cores. I hope things work well now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/476018?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 19:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb65c48-2b73-4aac-bb16-3217afdd11af</guid><dc:creator>MMater</dc:creator><description>&lt;p&gt;Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for checking back. We believe the issue was having EXT_ADV enabled on the appcore and not on the netcore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/476012?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 18:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f0384b-4776-4f7a-9c60-5910ea96842f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi MMater,&lt;/p&gt;
&lt;p&gt;My apology for the late follow up. We have been&amp;nbsp;short-handed/overloaded for a few days due to various sicknesses and the Easter holiday.&lt;/p&gt;
&lt;p&gt;In your log, the issue is OpCode 0x2042 resulted in 0x0c. 0x2042 is the OpCode for LE Set Extended Scan Enable, and 0x0c stands for Command Disallowed.&lt;/p&gt;
&lt;p&gt;With the SoftDevice Controller, currently that happens in a few scenarios:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Trying to enable scanner when it is already running&lt;/li&gt;
&lt;li&gt;Trying to disable scanner when initiator is running&lt;/li&gt;
&lt;li&gt;Trying to disable scanner when it is not running&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;#1 and #3 are not forbidden as per the Bluetooth Core Specification, but&amp;nbsp;is not allowed in the current SoftDevice Controller. We have noted this internally and will address it.&lt;/p&gt;
&lt;p&gt;Could you please check if&amp;nbsp;your code is causing one of those cases? The fix would then to just avoid it.&lt;/p&gt;
&lt;p&gt;For info about what the OpCode and Status codes mean, refer to:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109606/log-warning-message-bt_hci_core-opcode-0x200a-status-0x0d"&gt;Log warning message: bt_hci_core: opcode 0x200a status 0x0d&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474674?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 14:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5463da08-f4fa-479e-9c6a-3adebb1a957f</guid><dc:creator>MMater</dc:creator><description>&lt;p&gt;Here is a snippet of the error log. Email me for the full file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[00:01:03.733,306] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_evt_recv: len 33.[0m&lt;br /&gt;[00:01:03.733,367] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: Calling bt_recv(0x2001e4c8).[0m&lt;br /&gt;[00:01:03.733,367] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001e4c8 len 35.[0m&lt;br /&gt;[00:01:03.733,428] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: rx_work_handler: Getting net_buf from queue.[0m&lt;br /&gt;[00:01:03.733,428] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: rx_work_handler: buf 0x2001e4c8 type 1 len 35.[0m&lt;br /&gt;[00:01:03.733,459] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_event: event 0x3e.[0m&lt;br /&gt;[00:01:03.733,489] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_le_meta_event: subevent 0x0d.[0m&lt;br /&gt;[00:01:03.733,489] .[0m&amp;lt;dbg&amp;gt; bt_scan: bt_hci_le_adv_ext_report: Adv number of reports 1.[0m&lt;br /&gt;[00:01:03.733,612] .[0m&amp;lt;dbg&amp;gt; bt_scan: le_adv_recv: E9:D5:00:82:00:07 (public) event 0, len 7, rssi -91 dBm.[0m&lt;br /&gt;[00:01:03.733,703] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:.[0m&lt;br /&gt;.[1;31m--- 60 messages dropped ---&lt;br /&gt;.[0m[00:01:03.898,803] .[0m&amp;lt;dbg&amp;gt; bt_scan: le_adv_recv: E1:81:EB:FD:FF:33 (random) event 3, len 8, rssi -96 dBm.[0m&lt;br /&gt;.[1;31m--- 26 messages dropped ---&lt;br /&gt;.[0m[00:01:03.905,517] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: rx_work_handler: Getting net_buf from queue.[0m&lt;br /&gt;.[1;31m--- 42 messages dropped ---&lt;br /&gt;.[0m[00:01:03.934,997] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001e4c8 len 47.[0m&lt;br /&gt;.[1;31m--- 67 messages dropped ---&lt;br /&gt;.[0m[00:01:03.935,699] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:.[0m&lt;br /&gt;[00:01:03.936,309] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RPMsg data:&lt;br /&gt; 04 3e 39 0d 01 10 00 01 c8 ca de d8 ae 27 01 00 |.&amp;gt;9..... .....&amp;#39;..&lt;br /&gt; ff 7f a4 00 00 ff 00 00 00 00 00 00 1f 1e ff 06 |........ ........&lt;br /&gt; 00 01 09 20 22 93 f1 15 1f e7 da 81 d7 95 13 72 |... &amp;quot;... .......r&lt;br /&gt; 6d 79 70 8b 9e 26 49 76 b8 4f 7f 26 |myp..&amp;amp;Iv .O.&amp;amp; .[0m&lt;br /&gt;[00:01:03.936,340] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_evt_recv: len 57.[0m&lt;br /&gt;[00:01:03.936,370] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: Calling bt_recv(0x2001e4c8).[0m&lt;br /&gt;[00:01:03.936,401] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001e4c8 len 59.[0m&lt;br /&gt;[00:01:03.936,431] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: rx_work_handler: Getting net_buf from queue.[0m&lt;br /&gt;.[1;31m--- 33 messages dropped ---&lt;br /&gt;.[0m[00:01:04.029,418] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001ef5c len 6.[0m&lt;br /&gt;[00:01:04.029,418] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_complete: opcode 0x2042.[0m&lt;br /&gt;[00:01:04.029,449] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_done: &lt;strong&gt;opcode 0x2042 status 0x0c&lt;/strong&gt; buf 0x2001ef5c.[0m&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; &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; &lt;strong&gt;ERROR HERE&lt;/strong&gt;&lt;br /&gt;[00:01:04.029,510] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:&lt;br /&gt; 0c |. .[0m&lt;br /&gt;[00:01:04.029,541] .[1;33m&amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2042 status 0x0c.[0m&lt;br /&gt;.[1;31m--- 16 messages dropped ---&lt;br /&gt;.[0m[00:01:04.030,303] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001ef5c len 6.[0m&lt;br /&gt;.[1;31m--- 24 messages dropped ---&lt;br /&gt;.[0m[00:01:04.095,581] .[0m&amp;lt;dbg&amp;gt; bt_scan: le_adv_recv: E9:D5:00:82:00:07 (public) event 0, len 7, rssi -89 dBm.[0m&lt;br /&gt;.[1;31m--- 32 messages dropped ---&lt;br /&gt;.[0m[00:01:04.100,433] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:.[0m&lt;br /&gt;.[1;31m--- 21 messages dropped ---&lt;br /&gt;.[0m[00:01:04.125,396] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:.[0m&lt;br /&gt;.[1;31m--- 128 messages dropped ---&lt;br /&gt;.[0m[00:01:04.136,383] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_event: event 0x3e.[0m&lt;br /&gt;[00:01:04.136,413] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_le_meta_event: subevent 0x0d.[0m&lt;br /&gt;[00:01:04.136,413] .[0m&amp;lt;dbg&amp;gt; bt_scan: bt_hci_le_adv_ext_report: Adv number of reports 1.[0m&lt;br /&gt;[00:01:04.136,535] .[0m&amp;lt;dbg&amp;gt; bt_scan: le_adv_recv: 4C:2E:91:B8:A1:E3 (random) event 0, len 20, rssi -86 dBm.[0m&lt;br /&gt;[00:01:04.136,596] .[0m&amp;lt;dbg&amp;gt; bt_host_crypto: bt_encrypt_le: key affc5f8d5dd5bfe9374a42ee5b4a4c94.[0m&lt;br /&gt;.[1;31m--- 11 messages dropped ---&lt;br /&gt;.[0m[00:01:04.139,404] .[0m&amp;lt;dbg&amp;gt; bt_scan: bt_hci_le_adv_ext_report: Adv number of reports 1.[0m&lt;br /&gt;[00:01:04.139,526] .[0m&amp;lt;dbg&amp;gt; bt_scan: le_adv_recv: 35:12:DE:56:AB:35 (random) event 3, len 31, rssi -70 dBm.[0m&lt;br /&gt;[00:01:04.139,617] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:.[0m&lt;br /&gt;[00:01:04.178,497] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: opcode 0x2042 param_len 6.[0m&lt;br /&gt;[00:01:04.178,527] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: buf 0x2001ef5c.[0m&lt;br /&gt;.[1;31m--- 14 messages dropped ---&lt;br /&gt;.[0m[00:01:04.179,138] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x2001ef5c len 6.[0m&lt;br /&gt;[00:01:04.179,168] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_complete: opcode 0x2042.[0m&lt;br /&gt;[00:01:04.179,199] .[0m&amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_done: opcode 0x2042 status 0x0c buf 0x2001ef5c.[0m&lt;br /&gt;[00:01:04.179,229] .[0m&amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:&lt;br /&gt; 0c |. .[0m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474650?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 13:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ce2641-9e7c-4822-a589-4035912ca4e2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi MMater,&lt;/p&gt;
&lt;p&gt;Could you please get a full log with these configurations enabled?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/kconfig/index.html#CONFIG_BT_HCI_CORE_LOG_LEVEL_DBG"&gt;CONFIG_BT_HCI_CORE_LOG_LEVEL_DBG&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/kconfig/index.html#CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG"&gt;CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/kconfig/index.html#CONFIG_USBD_BT_HCI_LOG_LEVEL_DBG"&gt;CONFIG_USBD_BT_HCI_LOG_LEVEL_DBG&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474435?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 17:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d8f424e-3e2f-4f85-a809-cbae53c888e6</guid><dc:creator>sheindel-llt</dc:creator><description>&lt;p&gt;Hmm, not sure then. Only other thing I can recall that might be relevant is that&amp;nbsp;EIO can come up if you &amp;#39;overallocate&amp;#39; the radio. If you ask for more than 100% of the time to be spent scanning, for example asking for 80% duty cycle scan on 1M PHY and 50% duty cycle scan on coded PHY. That might be a different root error code though and it shouldn&amp;#39;t show up intermittently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474430?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 17:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a6d458a-1395-45eb-9f18-bfa1a4a662ae</guid><dc:creator>MMater</dc:creator><description>&lt;p&gt;I attempted to disable flow control with no success.&lt;/p&gt;
&lt;p&gt;We are on 2.5.2 of the SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474426?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 16:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5702ac64-91ca-40a3-b881-4632bf8383e5</guid><dc:creator>sheindel-llt</dc:creator><description>&lt;p&gt;I think I resolved this by turning off ACL flow control with `&lt;span&gt;CONFIG_BT_HCI_ACL_FLOW_CONTROL&lt;/span&gt;&lt;span&gt;=n`. I believe there is an issue with the flow control that was worked around in 2.5.0, but if you are on 2.4.2 (like me) then the only fix was to disable flow control. I didn&amp;#39;t see any negative side effects from turning it off either.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/474057?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 11:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a98eee24-b233-4bbd-9c19-fa3e1a7a6542</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi MMater,&lt;/p&gt;
&lt;p&gt;What NCS version are you using? If you are using a version earlier than 2.5.0, then there is a&amp;nbsp;known issue. You can find more details in this DevZone case:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/105589/nrf5340---bt_hci_cmd_send_sync-hangs-with-error--11"&gt;nRF5340 - bt_hci_cmd_send_sync hangs with error -11&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/473520?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 19:14:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c91f5b65-9a4e-4bcc-87fb-5d2335affb59</guid><dc:creator>MMater</dc:creator><description>&lt;p&gt;Was there any resolution to this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am running into a similar issue were I get a &amp;quot;BT_HCI_ERR_CMD_DISALLOWED&amp;quot; error, which propagates as a -EIO error when I attempt to start scanning.&lt;/p&gt;
&lt;p&gt;Once I get the error the stack appears to freeze, I cannot scan or advertise. We are using a nRF5340.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/452304?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8ef2fe-60f8-4b25-96be-1f476efd41d1</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;I am not sure, but could it be related to timings, or number of connections?&lt;/p&gt;
&lt;p&gt;What is the parameter you are passing when calling those function?&lt;/p&gt;
&lt;p&gt;can you change and try again ...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;also, can you put some delay before you call the function.&lt;/p&gt;
&lt;p&gt;these are just for testing purposes.&lt;/p&gt;
&lt;p&gt;and when you try to disconnect, you make sure that connection exists.&lt;/p&gt;
&lt;p&gt;what if there is no connection and you are calling to disconnect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/451810?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 16:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e3bd6a9-19c8-4fa7-abf3-b748513c7162</guid><dc:creator>sheindel-llt</dc:creator><description>&lt;p&gt;Thanks Naeem, that is encouraging as it matches what I could learn from reading&amp;nbsp;the code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure where to go from here, though. Why might the controller not be able to process the command? From my perspective I have a valid connection handle that I want to disconnect, so I&amp;#39;m not sure what state the controller might be in that would disallow this. In my experience retrying the command doesn&amp;#39;t help - I continue to get the same error. I&amp;#39;m not sure what else to do, though. Is there a way for me to find out what the root cause might be? What would you recommend I do to continue investigating this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/451757?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 13:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1715fa9-a7cf-4a9a-883b-28c712e4a2d2</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello Steve,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your patience.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The function &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;bt_le_ext_adv_start()&lt;/span&gt; calls the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;bt_le_adv_set_enable_ext()&lt;/span&gt; function, which in turn calls the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;bt_hci_cmd_send_sync()&lt;/span&gt; function, and that is returning the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;-EOI&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The function &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;bt_hci_cmd_send_sync()&lt;/span&gt; is used for sending a HCI command synchronously. The function will block until a Command Status or a Command Complete event is returned. If either of these have a non-zero status, which happens to be the case you are experiencing, then the function returns a negative error code.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;As per the code (in &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;hci_core.c&lt;/span&gt;), the function will return 0 if successful, or &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;-ENOBUS&lt;/span&gt; (if buffer creation was unsuccessful), or &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;-ECONNREFUSED&lt;/span&gt; (if status=0x09), or &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;-EOI&lt;/span&gt; for all other values of the status. So yes, I agree with you that &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;-EOI&lt;/span&gt; does not provide much information.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However, the status which in your case is &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;0x0c&lt;/span&gt; means the HCI Error is that the Command is DisAllowed (BT_HCI_ERR_CMD_DISALLOWED). As per bluetooth core specification, the Command Disallowed error code indicates that the command requested&amp;nbsp;cannot be executed because the Controller is in a state where it cannot&amp;nbsp;process this command at this time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/451542?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 15:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53bc071d-4ae8-4113-9600-eba933df3898</guid><dc:creator>sheindel-llt</dc:creator><description>&lt;p&gt;OK, I appreciate you looking into it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE failures with EIO</title><link>https://devzone.nordicsemi.com/thread/451539?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 14:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02245dc0-1c19-4ef4-b262-0b028baf60c1</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;I have been assigned this ticket but I could not look at it in depth.&lt;/p&gt;
&lt;p&gt;I will work on it on Monday and I will come back to you once I have more information to share.&lt;/p&gt;
&lt;p&gt;BR, Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>