<?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>Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56562/modifying-ble_app_uart</link><description>Hi I have a device that already have a role as broadcaster and send message continously, now my job is to establish a connection between the device and a gadget and also want to enable a Data exchange. 
 for establishing the connection I used ble_app_template</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jan 2020 11:04:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56562/modifying-ble_app_uart" /><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/231606?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 11:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1a58891-5b27-4d94-aea5-420af514033d</guid><dc:creator>Andhika</dc:creator><description>&lt;p&gt;Hello duy,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;no man thanks I&amp;#39;m really open for any kind of discussion it open many possibilities&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Andhika&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/230887?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 14:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b39aa4e9-893a-4099-a335-87bf920e00e7</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just reply to your question in your other post. Let&amp;#39;s continue the conversation there.&lt;/p&gt;
&lt;p&gt;-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/230487?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 07:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7939626-6e68-4d87-9a04-c981fe490505</guid><dc:creator>Duy</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/andprasetyo"&gt;Andhika&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I got a similar issue with you before (SDK 14.x.x) and the cause for that was I did not add the function&amp;nbsp;&lt;strong&gt;gatt_evt_handler&lt;/strong&gt; in function&amp;nbsp;static void &lt;strong&gt;gatt_init(void)&lt;/strong&gt;. I don&amp;#39;t know if you used to have it or not. Anyway, I found that you have fixed it.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for initializing the GATT module.
 */
static void gatt_init(void)
{
    APP_ERROR_CHECK(nrf_ble_gatt_init(&amp;amp;m_gatt, gatt_evt_handler));
    APP_ERROR_CHECK(nrf_ble_gatt_att_mtu_periph_set(&amp;amp;m_gatt, NRF_SDH_BLE_GATT_MAX_MTU_SIZE));
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Duy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/230317?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 11:46:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1136c62f-12aa-483e-9079-ec71485c1daf</guid><dc:creator>Andhika</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you fro your respond it seem the problem lies on uuid, i already made a seperate post abou it but here&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static ble_uuid_t m_adv_uuids[] =                                               /**&amp;lt; Universally unique service identifiers. */
{
    {BLE_UUID_DEVICE_INFORMATION_SERVICE, BLE_UUID_TYPE_BLE}
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it&amp;#39;s from ble_app_template&lt;/p&gt;
&lt;p&gt;when I use these uuid my device could be found but the service it&amp;#39;s not what i want&lt;/p&gt;
&lt;p&gt;i chang it to these:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static ble_uuid_t m_adv_uuids[] =                                               /**&amp;lt; Universally unique service identifiers. */
{
		{BLE_UUID_NUS_SERVICE, NUS_SERVICE_UUID_TYPE }
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and comes that problem my device could not be found.&lt;/p&gt;
&lt;p&gt;and i&amp;#39;m using eclipse, i using ses just for modifying the nus first.&lt;/p&gt;
&lt;p&gt;I asked my friend about nrf_break_cond, who worked at this project before, he said it&amp;#39;s not a problem, because it&amp;#39;s also happened to him but the programm worked anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/230293?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 10:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:341154a4-46b8-4a1a-bea0-d633786c3a33</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you attach the callstack before you hit nrf_breakpoint_cond? If you are using Segger Embedded studio go to Debug and then press F5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/229698?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 17:46:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd347412-1107-49f0-a54d-ec0a9dff4ba3</guid><dc:creator>Andhika</dc:creator><description>&lt;p&gt;Hallo Duy,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for the feedback. yeah i&amp;#39;ve done it but remove the redundants functions, can you pleas point one the the functions maybe?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also already enabled the ble_nus in sdk_config.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Andhika&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/229151?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 07:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39ba8fac-8c60-4590-9f3a-643b99beaee9</guid><dc:creator>Duy</dc:creator><description>&lt;p&gt;Hello Andhika,&lt;/p&gt;
&lt;p&gt;Have you enabled the services, put the NUS UUID in and removed the redundants functions? I think there should be some things wrong during the initialization. Also watch for the sdk_config.h file.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Duy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>