<?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>HID over GATT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38620/hid-over-gatt</link><description>Hi, 
 I&amp;#39;m referring to - 
 1. Custom HID over GATT device 
 2. nRF51422 HID example modification 
 So for now, I just used the descriptor mentioned in above links. But &amp;quot;hello&amp;quot; is not getting printed on the notepad. Here is my code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Sep 2018 10:12:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38620/hid-over-gatt" /><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149989?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 10:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a71d2f-7baa-4735-ab27-750722dfd28c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not sure the correct way of transferring data to an application is by pretending to be a keyboard. Because when you connect to the computer, it will start to write as if it was the keyboard connected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am not exactly sure why the HIDS keyboard isn&amp;#39;t working with the parameters that you changed, but it should be easy to figure it out if you do some debugging, like I explained in the previous comment.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, I think it is better to go with something proprietary, like the ble_app_uart example. Note that you will not get the values from this in a window by default, but you can use a UART terminal, like Putty or Termite to see the data that you send. How to test the example is described &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fble_sdk_app_nus_eval.html&amp;amp;anchor=project_uart_nus_eval_test" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149483?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 14:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10cd8b26-e057-4bc6-8349-40d6f713f22c</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;So you suggest not to use HID? I&amp;#39;m able to connect with computer but not able to send values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149371?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 09:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13c3fc03-4566-40e4-bcb4-e3c8050ef2f2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok,&lt;/p&gt;
&lt;p&gt;It is probably a driver problem. I assume you will find the reason if you debug your application. My guess is that one of the APP_ERROR_CHECK(err_code) receives an err_code != 0 (=NRF_SUCCESS), and the application crashes. Are you able to connect to the device with your computer with these values?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regardless, are you sure that you want to send this data as a keyboard writing on the computer?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think that the keyboard example is the best way to start transferring values from the ADC measurements.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suggest that you rather look into e.g. the ble_app_uart example, and try to transfer the data through the NUS service.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149299?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 15:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e147db9-4b74-4eed-aab2-e80ec4cb75bf</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;I changed hids_init() function. My ultimate goal is to create own custom page. If I do so, will there be a driver problem? I want to create an array with 19 elements and each element will correspond to an ADC value received from microcontroller via uart and passed to computer via ble. So I was just trying with a small array having a string &amp;quot;hello&amp;quot;. But I&amp;#39;m unable to do so. Please help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149276?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 14:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad257590-fbbd-4a3e-b59b-789fef0d40d7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Is there a particular reason for why you need to change these?&lt;/p&gt;
&lt;p&gt;Are&amp;nbsp;OUTPUT_REPORT_MAX_LEN and&amp;nbsp;INPUT_REPORT_KEYS_MAX_LEN the only parameters that you changed?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149262?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 14:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c602d350-8348-4723-9143-049051c9fc5b</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;I&amp;#39;ve just changed the descriptor, rest code is the hid keyboard example from nrf52 sdk15. The example code works fine, I was testing it for custom descriptor. Could you my code above?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID over GATT</title><link>https://devzone.nordicsemi.com/thread/149223?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 12:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bac764a8-90b1-435e-8694-0f0f3e263491</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You say that you use nRF52832, is that correct? The links you are referring to is projects made for the nRF51 series, so they probably won&amp;#39;t work with the nRF52.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tested the example located in SDK15.0.0 (or any of the other later SDKs)\examples\ble_peripheral\ble_app_hids_keyboard\pca10040\s132\&amp;lt;your favorite IDE&amp;gt;\&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you use any of the IDEs other than SES, remember to upload the S132 softdevice from the SDK you are using first (SES will do this for you).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does it work if you use this example?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>