<?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 reading Ble characteristics on android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58020/problem-reading-ble-characteristics-on-android</link><description>Hi all, 
 
 I&amp;#39;m working on a custom Ble service based on this tutorial: https://github.com/bjornspockeli/custom_ble_service_example on nrf52840. 
 I&amp;#39;ve been able to add about 50 characteristics. I&amp;#39;ve tested reading/writing on windows and android with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2020 08:38:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58020/problem-reading-ble-characteristics-on-android" /><item><title>RE: Problem reading Ble characteristics on android</title><link>https://devzone.nordicsemi.com/thread/235650?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 08:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb8f4a80-c4cd-4578-a866-d4ee92db72fc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I do not think that splitting one service with 50 characteristics into two services with 25 characteristics each will solve the issue. I suspect that you will see issues with the second service, e.g. that the last 10 or so characteristics of the second service will be listed as descriptors of the 15th characteristic.&lt;/p&gt;
&lt;p&gt;However I have not tested this, so I might be wrong.&amp;nbsp; As mentioned&amp;nbsp; by another user in the question you referred to,&amp;nbsp; do you need 50 characteristics?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="JOK"][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BTW: it seems that this issue is solved in newer Android versions:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48172/characteristics-count-limit-on-android"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48172/characteristics-count-limit-on-android&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes, but you need to remember that most smartphone vendors adapt the Android OS so adding changes might take a long time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reading Ble characteristics on android</title><link>https://devzone.nordicsemi.com/thread/235638?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 07:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ab8718b-a26d-4cf7-a7d9-873382b166a3</guid><dc:creator>JOK</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Bj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your answer, but I don&amp;#39;t fully understand the issue. There is a limit of 40 chars defined in Android. Is this a limit of 40 chars in a service or 40 chars in total in all services.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the first case I should split the service into multiple smaller services. If the second case is true, I probably&amp;nbsp;have a problem ;-) Any&amp;nbsp;ideas on this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BTW: it seems that this issue is solved in newer Android versions:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48172/characteristics-count-limit-on-android"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48172/characteristics-count-limit-on-android&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reading Ble characteristics on android</title><link>https://devzone.nordicsemi.com/thread/235484?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 14:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1161ac72-3a44-431b-9f74-38b20c8e48aa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi JOK,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, there seems to be a limit on the number of characteristics that an Android device can discover during service discovery, see &lt;a href="https://stackoverflow.com/questions/24531334/is-there-any-limit-on-characteristics-uuid-in-android-ble"&gt;https://stackoverflow.com/questions/24531334/is-there-any-limit-on-characteristics-uuid-in-android-ble&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://issuetracker.google.com/issues/37005408"&gt;https://issuetracker.google.com/issues/37005408&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>