<?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>BLE - HID profile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82660/ble---hid-profile</link><description>Hi, 
 I understand that the HID profile can be part of my BLE implementation. Can you please tell me how to implement that? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Dec 2021 09:36:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82660/ble---hid-profile" /><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/344277?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 09:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0deebab0-8ffa-4251-ae34-a08d6edbc50d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://proandroiddev.com/background-ble-scan-in-doze-mode-on-android-devices-3c2ce1764570"&gt;This article&lt;/a&gt; discusses some different ways of having your app looking for a BLE device in the background, even if the uses closes the app on the phone side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The best method is to use a foreground service,&amp;nbsp;which will show a persistent message on the notification bar informing the user that your app is still looking for BLE devices in the background.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Similar functionality should also be possible on iOS, as discussed &lt;a href="https://developer.apple.com/forums/thread/652592"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/344094?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 09:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449ca0e5-130d-4ea1-9291-3f592223bfc0</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using my nrf device as a peripheral medical device.&lt;/p&gt;
&lt;p&gt;When bonding to my phone, I&amp;#39;m starting advertise, the mobile app sends a connection request, connection is established and we are bonded. That happens when the mobile app is running.&lt;/p&gt;
&lt;p&gt;After disconnection, I want to connect again when specific conditions occur. So my nrf device starts advertise with whitelist. Am I doing it correctly from peripheral side?&lt;/p&gt;
&lt;p&gt;On mobile side - app isn&amp;#39;t running, so I can&amp;#39;t scan and send a connection request.&lt;/p&gt;
&lt;p&gt;Can you please tell me what do you think?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/344084?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 08:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ebdda21-7e74-4d05-aae1-68c4715c6c1d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is true that HID devices connects to phones on a system level, rather than through a specific app, since HID devices like keyboards, mice and gamepads usually work across all apps on the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That being said it should be possible for an app to connect to your device even if the app is not active, as long as it is running in the background. Most phones allow you to do so called background scanning, which means an app can look for a device in the background and connect to it when it comes into range.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you let me know what you are planning to use your device for?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Depending on what kind of data or services you need I am not sure HID is the best option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343811?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 09:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e41694-493b-43be-bc8b-9a48dcb3292e</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will tell you what exactly is my requirement.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using BLE to connect to a mobile phone. After bonding - I want to reconnect again. When I start advertising - I&amp;#39;m able to connect to the mobile again only when mobile app is open. When it&amp;#39;s closed - no connection is established.&lt;/p&gt;
&lt;p&gt;I understand that HID profile implementation may solve that issue, and allow me to establish connection when starting advertising and mobile app isn&amp;#39;t open.&lt;/p&gt;
&lt;p&gt;Are you familiar with that?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343808?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 08:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83e2c26-d98d-443f-8190-9f28b066da31</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That sounds odd. Most of the HID related BLE configuration, such as the setup of the HID service, is handled by the ble_hids.c file. Did you take a look at this one?&lt;/p&gt;
&lt;p&gt;There is also a lot of BLE handling in the main file, such as the SoftDevice initialization, gap and gatt init, configuration of advertising and services, and init of the conn params and peer manager modules which are also used to service the BLE functionality.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For more information about these examples you can also have a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_hids_keyboard.html?cp=8_1_4_2_2_15"&gt;example documentation&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343551?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 08:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e4be1e0-a025-4161-a426-d9b4eba695c8</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve reviewed those examples and I didn&amp;#39;t see any special BLE implementations, except for the direct advertising. Am I missing something?&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343327?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 08:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0b0269-6337-4065-aa75-6ac2e14a3b95</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the nRF5 SDK we have two examples showing how to run HID over BLE (also called HID over GATT), the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_hids_keyboard.html?cp=8_1_4_2_2_15"&gt;ble_app_hids_keyboard&lt;/a&gt; and the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_hids_mouse.html?cp=8_1_4_2_2_16"&gt;ble_app_hids_mouse&lt;/a&gt; examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest starting with one of these, and make any modifications that you might need based on the standard example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are starting a new design I would also recommend looking into the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt; instead. This is a more future proof software platform which is the one being used for all new Nordic products, and at some point in the future it will not be possible to qualify new products based on the nRF5 SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are examples for HID keyboard and mouse using Bluetooth in this SDK also.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343141?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 12:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a1c66a-8784-4db9-879b-5172de28ca71</guid><dc:creator>Roei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using&amp;nbsp;nRF SDK.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE - HID profile</title><link>https://devzone.nordicsemi.com/thread/343116?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 10:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc6bff53-1676-4b3a-8eb0-a4251a88aeed</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you planning to use the nRF5 SDK or the nRF Connect SDK for your software development?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>