<?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>Problem detecting 128-bit service w/ 16-bit char using BLE driver.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14839/problem-detecting-128-bit-service-w-16-bit-char-using-ble-driver</link><description>Setup: DK #1 is running native S110/SDK10/nRF51, one service 128-bit w/ 16-bit char: 
 Service UUID: 0x0xb1ad
Service UUID type: 0x0x2
Service handle: 0x0x0c
Service handle: 0xc
Characteristic value handle: 0xe
Characteristic CCCD handle: 0xf
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Jul 2016 11:03:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14839/problem-detecting-128-bit-service-w-16-bit-char-using-ble-driver" /><item><title>RE: Problem detecting 128-bit service w/ 16-bit char using BLE driver.</title><link>https://devzone.nordicsemi.com/thread/56638?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2016 11:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2780bb8a-cc02-4b0f-a477-780c8ce2732b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Leon,&lt;/p&gt;
&lt;p&gt;Do you have the same issue that the descriptor was wrong when discovering the stock HRM example ?&lt;/p&gt;
&lt;p&gt;Could you take a screenshot of the service discovery result when you use Master Control Panel on PC/Android ?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a little bit complicated to debug this because we need to track down to the serialization library that the python code based on, and then if the issue doesn&amp;#39;t lie there, we need to get to the service discovery code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem detecting 128-bit service w/ 16-bit char using BLE driver.</title><link>https://devzone.nordicsemi.com/thread/56640?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 11:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48cad44f-33ab-4de3-bd9f-ad94256c03ce</guid><dc:creator>Leon Woestenberg</dc:creator><description>&lt;p&gt;This is no bug fix for the issue I am seeing. Instead I am now going to try the SD 2.0.1 that comes with the pc-ble-driver-py release which has a newer SD 2.0.1, newer lib/includes and SDK11 patch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem detecting 128-bit service w/ 16-bit char using BLE driver.</title><link>https://devzone.nordicsemi.com/thread/56639?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2016 21:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13b104e1-83aa-4ea7-855d-ceafc2da35fd</guid><dc:creator>Leon Woestenberg</dc:creator><description>&lt;p&gt;By pure luck I found this patch lurking in the pc-ble-driver-py folder &lt;code&gt;/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/hex/SD20_SDK11.patch&lt;/code&gt;, which seems a likely candidate for a fix of the (wrong) behaviour I am seeing:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;diff --git a/components/serialization/application/codecs/s130/middleware/app_mw_ble_gatts.c b/components/serialization/application/codecs/s130/middleware/app_mw_ble_gatts.c
--- a/components/serialization/application/codecs/s130/middleware/app_mw_ble_gatts.c
+++ b/components/serialization/application/codecs/s130/middleware/app_mw_ble_gatts.c
@@ -586,7 +586,8 @@ static uint32_t gatts_attr_get_rsp_dec(const uint8_t * p_buffer, uint16_t length
     const uint32_t err_code = ble_gatts_attr_get_rsp_dec(
         p_buffer,
         length,
-        (ble_gatts_attr_md_t **)&amp;amp;mp_out_params[0],
+        (ble_uuid_t **)&amp;amp;mp_out_params[0],
+        (ble_gatts_attr_md_t **)&amp;amp;mp_out_params[1],
         &amp;amp;result_code);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>