<?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>Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23089/does-nrf-toolbox-android-work-on-nrf52-related-sd-e-g-s140</link><description>Hello everybody! 
 Feel free to read this question for more background information: 
 devzone.nordicsemi.com/.../ 
 I&amp;#39;ll give everyone reading this a quick bulletin run down as to what happened to save time: 
 
 Migrating from nrf51 S110 to nrf52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2017 05:56:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23089/does-nrf-toolbox-android-work-on-nrf52-related-sd-e-g-s140" /><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90861?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 05:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2b76b06-f81e-4eed-b4c9-a4f4eb9e0651</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;@Aleksander Nowakowski&lt;/p&gt;
&lt;p&gt;Hello, can you take a look at this question and provide some insight?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/158289/dear-nordic-semi-please-consider-allowing-cccd-descriptor-write-using-write/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90854?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 09:41:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36a9cb37-6187-4df9-8207-39daf527f468</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;@Aleksander Nowakowski&lt;/p&gt;
&lt;p&gt;Thank you! I&amp;#39;m going to check it out right away, will get back ASAP!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90849?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 08:48:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52da4a54-dab7-4489-bce8-18618ce30b35</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Then wait for onDescriptorWrite(...) callback to check the status. If this doesn&amp;#39;t work, you may have a bug in your code on nRF side, as I wrote before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90855?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 08:44:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98c0136c-85c1-4d05-a7d1-87d6959a4f63</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi, I just tried nRF Toolbox with nRF52840 + s140 5.0.0.alpha2 + HRM and UART samples and everything works as expected. Here&amp;#39;s the code it is using: &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/blob/master/app/src/main/java/no/nordicsemi/android/nrftoolbox/profile/BleManager.java#L502"&gt;github.com/.../BleManager.java&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Important steps:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// Enable notifications locally
gatt.setCharacteristicNotification(characteristic, true);
// Enable notifications on a remote device
final BluetoothGattDescriptor descriptor = characteristic.getDescriptor(CLIENT_CHARACTERISTIC_CONFIG_DESCRIPTOR_UUID);
final int originalWriteType = characteristic.getWriteType();
characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT);
descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
gatt.writeDescriptor(descriptor);
characteristic.setWriteType(originalWriteType);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90858?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:40:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27164d57-27f2-4fdc-9f14-f3c9d4ce00d6</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;Hello, @Aleksander, I&amp;#39;m even more confused, are you a casual contributor to this project (the nrfTool box) or someone on the official developer team?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not using the nrf toolbox or DK, the reason I&amp;#39;m here banging my head against the toolbox is that I want to find the proper code to enable notification. You told me that the proper code is:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_DEFAULT)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and then write 0x0001 to the descriptor, but I have shown you that it doesn&amp;#39;t work, so what is the ACTUAL proper code to get the job done??? And there isn&amp;#39;t even a &amp;quot;WRITE_DEFAULT&amp;quot; anywhere?&lt;/p&gt;
&lt;p&gt;Please advise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90856?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9751af90-2fda-4531-aea9-bc5dd608a46c</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;The current version of toolbox in Google play still have this issue, I fixed it right now only on GitHub, and on Friday. They will be available in the next version. What profile in Toolbox are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90857?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16f7054d-6475-4efd-b049-4788a50a968e</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;@Aleksander Nowakowski:&lt;/p&gt;
&lt;p&gt;If I may, did you try any nrfTool box examples on a S140 based example? Can it enable notification?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90853?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26c8edb3-cbe8-45e0-87a6-3a195df66d13</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;Also, even in the nrfTool box example, it was suing WRITE_TYPE_DEFAULT...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90852?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed69f233-3f2d-4631-8a3a-7d36785d0628</guid><dc:creator>Mitch996</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Are you sure there is not bug on the nrf side? I think it support team could help with this as i have no experience in nrf programming.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Unfortunately, no not really, I mean I didn&amp;#39;t produce the SD after all... but it is the latest version of S140.&lt;/p&gt;
&lt;p&gt;Also I really couldn&amp;#39;t find &amp;quot;WRITE_DEFAULT&amp;quot; anywhere in :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html"&gt;developer.android.com/.../BluetoothGattCharacteristic.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is it because of a higher android API version? I&amp;#39;m using V25 or something, latest I believe.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90851?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bde723e-6ab4-48cc-8245-de1fe6e3485f</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;In case you wonder, yes I set the write type back to write without respond later, after using the &amp;quot;default&amp;quot; write.&lt;/p&gt;
&lt;p&gt;Edit: according to this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html"&gt;developer.android.com/.../BluetoothGattCharacteristic.html&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;int 	WRITE_TYPE_DEFAULT&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Write characteristic, requesting acknoledgement by the remote device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90850?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53f8b503-963a-4c3e-b19a-7b9d49a2f14a</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Write type default is what it should be. If it&amp;#39;s not this... Could you post somewhere code you are using? Are you sure there is not bug on the nrf side? I think it support team could help with this as i have no experience in nrf programming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90846?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 06:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9154ae-3bcc-4d36-8d14-221e1b4d2d94</guid><dc:creator>Mitch996</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Before your step 2. you have to set characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_DEFAULT), and then write 0x0001 to the cccd.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hello, I&amp;#39;m sorry that I misunderstood your post, but I&amp;#39;ve tried the
characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT); it does not work.&lt;/p&gt;
&lt;p&gt;My BLE GATT handler doesn&amp;#39;t even respond after using the &amp;quot;WRITE_TYPE_DEFAULT&amp;quot; property, moreover, there is no &amp;quot;WRITE_DEFAULT&amp;quot; property at all. &amp;quot;WRITE_TYPE_DEFAULT&amp;quot; is the closest I could find.&lt;/p&gt;
&lt;p&gt;Something is seriously wrong here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90847?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 06:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efed100f-92d7-4322-a56d-459963ca7c8e</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;No, it&amp;#39;s about step 2 only. Step one just adds your BluetoothGatt object to notification listeners in the system. Had the notifications were enabled before you connected in your app to this device it&amp;#39;s enough to call only step 1. It&amp;#39;s an information for the system that you want to receive whatever comes to this characteristic.&lt;/p&gt;
&lt;p&gt;Step 2 enables notification on the remote device by sending some data (0x0001). This write to the ccc descriptor should be done with Write Request type, but incorrectly may be written without response. Older SDa were accepting this out-of-spec method, the new one isn&amp;#39;t.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90848?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 06:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e603e00f-d945-417b-b661-5c414dc8013d</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;@Aleksander, thank you, I&amp;#39;ll look right into it, so it has something to do with the step 1 eh? I never thought you should work on the  function &amp;quot;BluetoothGatt.setCharacteristicNotification&amp;quot; itself. I didn&amp;#39;t even know BluetoothGatt.setCharacteristicNotification has its own writing properties.&lt;/p&gt;
&lt;p&gt;Will get back later!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90845?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 06:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7beaf2e7-9fdf-4ed2-a619-864f9d07756f</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;On Android it&amp;#39;s called WRITE_DEFAULT. If the characteristic you want to enable notifications for has Write_no_response property, and no Write property, then the default write type for it may have been set to Write_without_response. This is correct, but due to a bug in Android 4.4-5.1 the same type will be used for writing to its descriptors, which is not correct. Before your step 2. you have to set characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_DEFAULT), and then write 0x0001 to the cccd.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90844?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 06:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122a1e17-1cfa-4514-9b2c-e302b83f5815</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;Hello @Aleksander, how do you mean by:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;write something to the char before you enable notifications/indications on it,&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;? Write something to what char?&lt;/p&gt;
&lt;p&gt;This is what I believe you should do to enable CCCD in an android program:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;call BluetoothGatt.setCharacteristicNotification on the right characteristic.&lt;/li&gt;
&lt;li&gt;Write 0x0001, in android, a byte[] of 0x01, 0x00 to the corresponding descriptor of the characteristic in step 1.&lt;/li&gt;
&lt;li&gt;No step 3, it&amp;#39;s done!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The problem is #2, I believe you should write 0x0001 using some sort of &amp;quot;request&amp;quot; instead of &amp;quot;write&amp;quot;, but sadly I don&amp;#39;t know how to do that, there are all sorts of &amp;quot;write&amp;quot; in android API it seems, but nothing about &amp;quot;request&amp;quot;.&lt;/p&gt;
&lt;p&gt;And can you please help me find the right API/property setter??&lt;/p&gt;
&lt;p&gt;It&amp;#39;ll be greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90860?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 05:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab3c2c5-59bf-49f1-8639-5e2d2d72f65f</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;nRf Toolbox should be working with all our DKs. It&amp;#39;s a bit difficult for the above bug to appear. You have to have Android 5.1 or older phone, newest SD, write something to the char before you enable notifications/indications on it, and write without response.&lt;/p&gt;
&lt;p&gt;What do you mean be what workaround? All the code is on GitHub. I pointed you to the commit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90859?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 02:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2ee6b53-4690-4ba8-9b1e-4fb2ec970533</guid><dc:creator>Mitch996</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Hi Mitch, so I dug deep into nRF Toolbox and I found out that I wasn&amp;#39;t using a workaround to set the write type of a descriptor when enabling notifications/indications.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;@Aleksander Nowakowski  Thank you Aleksander, I found the function too and it was not! So... what does this mean, that nrfTool box SHOULDN&amp;#39;T BE WORKING??? Whaaaaaaaa? So does it work or not? This is so positively confusing! Gosh I don&amp;#39;t have much hair left to pull out !!! T_T&lt;/p&gt;
&lt;p&gt;God the whole thing is such a mess!&lt;/p&gt;
&lt;p&gt;Also @Aleksander Nowakowski what workaround do you use? It would be really, really nice of you if you can let me take a peek at your android code... or just point me to the right direction...&lt;/p&gt;
&lt;p&gt;Cheers - a downtrodden code monkey&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90862?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 13:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f4c4ec-8d06-4088-a0d3-9db06654e986</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi Mitch, so I dug deep into nRF Toolbox and I found out that I wasn&amp;#39;t using a workaround to set the write type of a descriptor when enabling notifications/indications. Please read this issue (just reported it): &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/issues/33"&gt;github.com/.../33&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have also immediately fixed it and you&amp;#39;ll find a commit id in the issue. Please say it it fixes your issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90843?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 11:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05b6fb0-5fcd-4592-b1ef-a8934e63967b</guid><dc:creator>Mitch996</dc:creator><description>&lt;p&gt;Hello @Kristin, I actually have been going at that for some days now, is there a super early version of S140 which hasn&amp;#39;t fixed the &amp;quot;bug&amp;quot; that I can use to isolate this problem? I just want to confirm this is actually the problem, because my Android code doesn&amp;#39;t look quite different from the nrfTool box one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?</title><link>https://devzone.nordicsemi.com/thread/90842?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 12:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e865872-49cc-450c-9ad7-d81162cc1708</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;First, I would recommend you to read &lt;a href="https://devzone.nordicsemi.com/question/151289/ble_gatts_evt_write-not-fired-when-writing-to-cccd-as-ble_gatt_op_write_cmd-s132/"&gt;this&lt;/a&gt; thread regarding the problem you describe.&lt;/p&gt;
&lt;p&gt;The android part: Which phone/android version do you use?&lt;/p&gt;
&lt;p&gt;When I test here, nRF Toolbox (Huawei P10/ android 7.0)&amp;lt;--&amp;gt; nRF52840, S140 v.5.0.0-2.alpha, example ble_app_hrs works fine, it is not any problem to enable notifications.&lt;/p&gt;
&lt;p&gt;In nRF Toolbox: perhaps the function &lt;code&gt;newWriteRequest()&lt;/code&gt;--&amp;gt; &lt;code&gt;getWriteType()&lt;/code&gt; can be of any use when enabling notifications? Or, run nRF Toolbox in debug mode, set a breakpoint in &lt;code&gt;newEnableNotificationsRequest()&lt;/code&gt;and check which write type the app will use for enabling notifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>