<?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>How to specific hci event in zephyr based on nrf connect sdk?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92261/how-to-specific-hci-event-in-zephyr-based-on-nrf-connect-sdk</link><description>Hello, 
 I want to specific a hci event in zephyr RTOS when using nrf connect sdk. But I don&amp;#39;t know how to achieve it. 
 In Bluetooth Core v5.2, vendor specific events have the same event code, so I should how to distinguish diffirent vs events? 
 And</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Sep 2022 07:48:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92261/how-to-specific-hci-event-in-zephyr-based-on-nrf-connect-sdk" /><item><title>RE: How to specific hci event in zephyr based on nrf connect sdk?</title><link>https://devzone.nordicsemi.com/thread/388047?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 07:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a4f00af-3773-420f-a047-eb675eb541e0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you see a need to do this in HCI context,&amp;nbsp;&amp;nbsp;I suggest you look at the implementation of some existing vendor specific commands/events, and of course add support in both the host and the controller.&lt;/p&gt;
&lt;p&gt;You may refer to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89830/how-to-create-a-hci-vendor-specific-command-of-zephyr/376993"&gt;this post &lt;/a&gt;for a few related configs, and you can search for&amp;nbsp;CONFIG_BT_HCI_VS or CONFIG_BT_HCI_VS_EXT in the code to see where you need to add code in order to support additional VS HCI commands.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specific hci event in zephyr based on nrf connect sdk?</title><link>https://devzone.nordicsemi.com/thread/387963?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58180a74-2b4d-480c-9d47-8a8024bfd5e9</guid><dc:creator>userr</dc:creator><description>&lt;p&gt;I have changed to Zephyr&amp;#39;s own buletooth stack by using&amp;nbsp;the config:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_LL_SW_SPLIT=y;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and I want to transfer a data block from the controller to the host, which maybe achieved asynchronously.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specific hci event in zephyr based on nrf connect sdk?</title><link>https://devzone.nordicsemi.com/thread/387962?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20a78a19-cf03-419e-b9a9-5e0238f86b4a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure I understand this. Custom HCI commands and events are useful (only) for communicating some non-standard HCI command between the Bluetooth host and the Bluetooth controller. And in turn, that would only be useful if you modify the implementation of the Bluetooth controller (which is not possible for instance if you are using the SoftDevice controller that we provide for the nRF devices).&lt;/p&gt;
&lt;p&gt;May I ask what you want to achieve / why you want to make you own custom HCI event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>