<?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 create a new 128bit UUID services in the SDK10.0 ble_app_uart_c ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13703/how-to-create-a-new-128bit-uuid-services-in-the-sdk10-0-ble_app_uart_c</link><description>I am working in the SDK10.0 ble_app_uart_c(master),it can connect to ble_app_hrs(slave) successfully.
But if I add a new 128 bit UUID named ACC_BASE_UUID different from NUS_BASE_UUID.After I power on the master device,it can connect to slave,but the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 May 2016 10:56:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13703/how-to-create-a-new-128bit-uuid-services-in-the-sdk10-0-ble_app_uart_c" /><item><title>RE: How to create a new 128bit UUID services in the SDK10.0 ble_app_uart_c ?</title><link>https://devzone.nordicsemi.com/thread/52370?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 10:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e101971-7e0e-484b-9f82-facb486df677</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Cannot say much without seeing how youa re calling ble_acc_c_rx_notif_enalbe and what you are doing inside ble_acc_c_rx_notif_enable function.&lt;/p&gt;
&lt;p&gt;if you are doing exactly same as NUS then it means you have not updated p_ble_acc_c-&amp;gt;conn_handle when your device is connected like NUS did in main.c-&amp;gt;on_ble_evt-&amp;gt;BLE_GAP_EVT_CONNECTED&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;m_ble_nus_c.conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You need to do the same for your m_ble_acc_c&lt;/p&gt;
&lt;p&gt;PLUS&lt;/p&gt;
&lt;p&gt;you need to update the p_ble_acc_c-&amp;gt;nus_rx_cccd_handle when the db_discover_evt_handler discovers the cccd handle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>