<?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>S130 SDK 11  add custom service &amp;amp; Char</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12744/s130-sdk-11-add-custom-service-char</link><description>I am trying to Migrate from Sdk 6 to Sdk 11 . 
 Here i am facing problem in discovering Custom Characteristics .
I can successfully add service and 2 characteristics without any error in my code routine. 
 But in Android Phone app i can&amp;#39;t see any Custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 26 Mar 2016 05:32:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12744/s130-sdk-11-add-custom-service-char" /><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48389?ContentTypeID=1</link><pubDate>Sat, 26 Mar 2016 05:32:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab789e2-107c-47a2-b16b-b4251fab25b1</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Carles now i can see characteristics the problem was with &amp;quot;p_sbs_init-&amp;gt;notify_data.length&amp;quot; and &amp;quot;write_data.length&amp;quot; variable they where not getting filled because of that add char function was not getting called. Now by editting that i can see both my characteristics. Thanks for your support Carles !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48387?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce29d48-8933-4233-a131-1ce064e486b8</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Ok let me check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48388?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:554dec8c-c0f1-4c5d-958a-4889782069c0</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;It is the SoftDevice who fills  in these handles, so the value will be valid when you return from the _add() functions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48386?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:807f9b39-94a3-41eb-9ea3-c2fcbb615fa1</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;The handles are in the variables I mentioned in the comment above. You only need to print them out on the UART&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48385?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:115b18e3-e113-46a7-99c1-0d768b7e5465</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;OK i will try with PC Version of Master control Panel even i have a ble sniffer but don&amp;#39;t know why its not sniffing data from this device i did try that. Quite strange...
How can i get those handles since i am passing that handles in Service add and Characteristics add routine function and in return i am just getting NRF_SUCESS or an Error code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48384?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c030605e-7db4-439b-bbe3-1b6b1435b1b3</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Honestly I&amp;#39;m not sure what else to suggest. Can you run the Nordic sniffer if you have an additional card with a Nordic IC on it to see the traffic? or maybe the log from the Master Control Panel (PC version) ? Something that gives us a bit more information. Also can you post the handles you get back for your service and the 2 characteristics? they should be in p_sbs-&amp;gt;service_handle, write_handles and notify_data_handles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48383?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b2bb48-d64d-4e85-bc52-9cb8c51ffc9e</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Yes they are different..
#define SMARTBEACON_UUID_SERVICE 		0x9E83
#define BLE_UUID_WRITE	 			0xC203
#define BLE_UUID_NOTIFY_DATA			0xC201&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48382?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c6adca6-8c3c-45c6-818e-e889008c5c1c</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;And the 3 sub-UUIDs that you are using: SMARTBEACON_UUID_SERVICE, BLE_UUID_WRITE, BLE_UUID_NOTIFY_DATA, are they different numbers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48381?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c62e2a0-5774-44b3-b294-065ffe9da95b</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;@Carles i tried both the ways, (1) i am getting NRF_SUCCESS for Characteristics adding routine (2) Even i tried to check with other phone and android app but no change.&lt;/p&gt;
&lt;p&gt;@ Martin i tried by switching different ble apps even i restarted my android phone many times but not helping...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48380?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a14c83-ee4d-44e7-a882-32e77ee56e75</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I am not sure if it is the case here, but sometimes the attribute table is cached on the phone. That means that you won&amp;#39;t see the changes you make on the device side on your app. The way I usually solve this is closing the app, open another BLE app, then close this app again, and return to the first app. I also think you can turn on and off BLE on your phone and then restart the app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48379?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 12:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ccccedd-6633-4018-a4f8-7fd88263820b</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;I see nothing immediately wrong with the code, so there&amp;#39;s only 2 things that I can suggest to check. First make absolutely sure that the calls to sd_ble_gatts_characteristic_add() are returning NRF_SUCCESS. Second, can you try with another app (Master Control Panel on the PC, or another Android app) to see if this might be an issue with the Android app itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48378?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 11:36:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2357bf-1cf1-4c42-ac12-043ced6985d3</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Yes in Custom Service section i should get &lt;strong&gt;2 Characteristics(WRITE/NOTIFY,READ)&lt;/strong&gt;. But they are missing any how. Irrespective of that other all things are seen correctly same as my sdk 6 devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 SDK 11  add custom service &amp; Char</title><link>https://devzone.nordicsemi.com/thread/48377?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 11:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f66c8b1f-b30d-462b-822d-5f92853d0b12</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;So just to be clear, you can see the service (as shown in the screenshot) but not the characteristics, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>