<?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>HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100879/hid-nus-fatal-error</link><description>HI all: 
 I want to use both HID and NUS functions simultaneously. Based on the NUS example(nRF5_SDK_17.1.0_ddde560\nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_uart), I ported the HID code(nRF5_SDK_17.1.0_ddde560\nRF5_SDK_17.1.0_ddde560\examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jun 2023 00:13:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100879/hid-nus-fatal-error" /><item><title>RE: HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/thread/432146?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 00:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d9c3ad-ce5d-4408-a7c3-20b1a2362307</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;No problem.&lt;/p&gt;
&lt;p&gt;Happy to help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/thread/432011?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 12:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d0db38-987a-4f9e-b2ae-a5aa6d15af30</guid><dc:creator>huangtao</dc:creator><description>&lt;p&gt;OK thank you &lt;span&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/thread/431908?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 08:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8370664b-5cb4-4131-b001-60ef18250e6a</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;You have to make sure that the&amp;nbsp;&lt;span&gt;nrf_drv_power_init() function is called before&amp;nbsp;Softdevice is enabled.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&lt;br /&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/thread/431788?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 13:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc73e5e8-3e80-4b43-9b4c-4a606e1717dc</guid><dc:creator>huangtao</dc:creator><description>&lt;p&gt;Hi Joakim&lt;span class="user-name"&gt;, Thank you for your reply. Can you specify how to handle this issue, caused by the order of calling initialization? What is the correct order?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID+NUS fatal error</title><link>https://devzone.nordicsemi.com/thread/431613?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2023 20:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:860bae0d-a9e2-4c27-9b59-aac195f64a42</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the&amp;nbsp;nrf_drv_power_init() function is returning NRF_ERROR_INVALID_STATE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is happening because the&amp;nbsp;&lt;span&gt;Power driver has to be enabled before SoftDevice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>