<?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>BLUETOOTH_PRIVILEGED error HID keyboard</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29198/bluetooth_privileged-error-hid-keyboard</link><description>Hi all,
I have compiled the ble_app_hids_keyboard example for a nRF52832 on a Laird DVK-BL652 breakout board.
I have a tablet running android 5.1.1 and the nordic nRFConnect tool. I find that I can connect the nRFconnect app to the device and I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Apr 2018 03:47:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29198/bluetooth_privileged-error-hid-keyboard" /><item><title>RE: BLUETOOTH_PRIVILEGED error HID keyboard</title><link>https://devzone.nordicsemi.com/thread/126563?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 03:47:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92c5fe71-c32f-43d7-88a7-675512c6c92c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you read the answer by Aleksander ? It&amp;#39;s not possible for 3rd party app to access HID service, only Android system can. You need to access data from HID device as it&amp;#39;s normal keyboard.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLUETOOTH_PRIVILEGED error HID keyboard</title><link>https://devzone.nordicsemi.com/thread/126531?ContentTypeID=1</link><pubDate>Mon, 02 Apr 2018 15:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ff4d826-cad0-46c1-bcb4-dd4c811cbf7b</guid><dc:creator>s</dc:creator><description>&lt;p&gt;i am also facing same issue so how we can check this for app and enable the notification to get the report&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLUETOOTH_PRIVILEGED error HID keyboard</title><link>https://devzone.nordicsemi.com/thread/116104?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 09:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33a899f0-7c49-49f0-92e8-ae74e7eaeb1d</guid><dc:creator>chris</dc:creator><description>&lt;p&gt;Thank you for clarifying this. I have now mostly done what I wanted to, and I shall now access the HID data through the operating system, not though the BLE APIs in my Android program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLUETOOTH_PRIVILEGED error HID keyboard</title><link>https://devzone.nordicsemi.com/thread/116103?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 09:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea9cb525-5852-4887-b652-54a76928b119</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right, this is to prevent 3rd party apps from using this service. Only apps having BLUETOOTH_PRIVILEGED permission (that is those signed with Google&amp;#39;s key, so Settings, Android system itself, etc.) can access characteristics and descriptors in this service. It is not possible to do any walk-around. If you need to add some additional features to your keyboard, you have to use a different, custom service, that only your app will be able to understand. You may have HID and other services on one device. System will use the HID service, your app others.&lt;/p&gt;
&lt;p&gt;This permission is required since Android 5 onward. Before Lollipop, it was possible for any app to enable notifications on HID Report characteristic and listen to any keys (passwords!) typed in. Starting from 5 it is guaranteed that only the system will receive sensitive data typed by the user and it will send them to the correct app as keys, not as BLE events.&lt;/p&gt;
&lt;p&gt;Please, read more here: &lt;a href="https://devzone.nordicsemi.com/blogs/1046/what-to-keep-in-mind-when-developing-your-ble-andr/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; in 4.6.&lt;/p&gt;
&lt;p&gt;Best Regards,
Aleksander&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>