<?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>Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40055/bluetooth-not-connecting-after-inclusion-of-uart-module-in-hid-example-its-urgent</link><description>I&amp;#39;m trying to combine hid keyboard with .../peripheral/uart example. 
 Only after the bluetooth connection is established between host (PC) &amp;amp; nrf DK, I want to continuously send data received from uart (connected to microcontroller) to host machine .</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2019 10:05:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40055/bluetooth-not-connecting-after-inclusion-of-uart-module-in-hid-example-its-urgent" /><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/204020?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 10:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb583a4e-a707-4f37-ac56-58e5dd55f4de</guid><dc:creator>awneil</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/40055/bluetooth-not-connecting-after-inclusion-of-uart-module-in-hid-example-its-urgent/203959"] I suggest you create a new question for that since it is not related to the original question [/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;And, if the original question is now resolved, then verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0363._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203959?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 07:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15ace86f-6b30-4022-bf58-112c2b84db3d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Sounds good. Then I suggest you create a new question for that since it is not related to the original question in this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203919?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 23:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3dc6523-6beb-4ea1-a9c6-7ce2a0d67c78</guid><dc:creator>CanTech1</dc:creator><description>&lt;p&gt;I figured out that I don&amp;#39;t need to put NUS Service in the advertising packet. Now I just need to figure out how to discover the service after the peripheral device is paired with the central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203899?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 16:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d59edda7-2396-4070-a138-4e15bac33797</guid><dc:creator>CanTech1</dc:creator><description>&lt;p&gt;I am guessing that my advertising packet is too large with the HID service and the NUS service. How to work within these parameters?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203898?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 16:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad30123e-2c2f-44cc-9929-87e715681a40</guid><dc:creator>CanTech1</dc:creator><description>&lt;p&gt;Debug. Game changer. I have adjusted the RAM start and RAM size as per info in the Debug Terminal. I am still snagged however:&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: ERROR 7 [NRF_ERROR_INVALID_PARAM] which takes me to:&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203869?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 14:14:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e111f7e-6e7f-427a-8ad1-b8f010eeb649</guid><dc:creator>CanTech1</dc:creator><description>&lt;p&gt;Top Notch!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Today is a new day. Thank you for the direction. I will give it a go and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203813?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 12:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258e564a-369e-4510-b1df-9fbcd29bb4b3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; wrote to &lt;a href="https://devzone.nordicsemi.com/members/bop123"&gt;bscdb&lt;/a&gt;, you need to debug the issue to understand what is going on first. Since you use SES, you should start by selecting the Debug build configuration in the dropdown usually located in the upper left of the screen. That will turn off optimization and define DEBUG. Then you should observe the log output (UART or RTT), and this will tell you if an error has been detected, and if so, where and with what error code. This is always the first step.&lt;/p&gt;
&lt;p&gt;Without seeing the error message, we can only guess, but generally, you need to adjust the memory configuration of the SoftDevice if you add more services, since it will need more RAM. It might be that you need to increase&amp;nbsp;NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE or&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT in your projects sdk_config.h. Debugging will tell you which of these. Note that if you do, you also have to &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;adjust the application RAM start address and size&lt;/a&gt;, since the SoftDevice RAM usage increases.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/203703?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 00:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40aa6a57-2f0e-43eb-aca7-185c1c6e047a</guid><dc:creator>CanTech1</dc:creator><description>&lt;p&gt;I am having the same struggle. When I add&lt;/p&gt;
&lt;p&gt;static ble_uuid_t m_adv_uuids[] = {{BLE_UUID_NUS_SERVICE, NUS_SERVICE_UUID_TYPE}};&lt;/p&gt;
&lt;p&gt;to the HID example it crashes things immediately. I understand that the HID is a 16 bit UUID and the NUS_SERVICE is a 32 bit UUID.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t figured out how to understand the error codes at this point. It is really frustrating. I followed the basic &lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI"&gt;debugging tutorial&lt;/a&gt; but I keep getting a break point with a question mark? I am not sure where I turn optimization off at, I have tried to find it. I have been scouring these tutorials and posts but no luck piecing it together as of yet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you found a solution for this yet?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SDK15.2, Segger Embedded&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/155446?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 22:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cc40215-060b-47c5-a5fe-6dac2966ea29</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Indeed - so have you done it?&lt;/p&gt;
&lt;p&gt;what have you found?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/155444?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 21:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1633fb-346c-4c8c-b086-cd2d027fa752</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;I think thats a general approach which everyone follows!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/155443?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 21:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec45d34d-203a-4948-a395-6d232b75245d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;you need to find the problem before you can solve it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/155439?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 21:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c227cae-1004-46ca-8fd9-515f2d90b3df</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;May be you can suggest some solution!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth not connecting after inclusion of UART module in HID example. Its urgent.</title><link>https://devzone.nordicsemi.com/thread/155437?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 21:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3883ed32-374c-4892-96a9-5b408e29f652</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So what debugging have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt;&lt;/em&gt; done to find where it&amp;#39;s failing?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#urgent"&gt;http://www.catb.org/esr/faqs/smart-questions.html#urgent&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>