<?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>nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84065/nrf52832-ble-hids-keyboard--measure-the-bluetooth-report-rate</link><description>I want to measure the Bluetooth report rate. Is there a way to do it? 
 Or let me know if you have any information on the basic nrf52832ble response speed.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jan 2022 08:11:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84065/nrf52832-ble-hids-keyboard--measure-the-bluetooth-report-rate" /><item><title>RE: nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/thread/350117?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 08:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c997441-fa72-471c-a94e-3b021c496122</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I assume you are still talking about a keyboard. How would you normally measure the response time of a keyboard (a wired keyboard, not bluetooth)?&lt;/p&gt;
&lt;p&gt;There is no trivial way to do this. Either you need to write your own software that connects to your peripheral-hids-keyboard that can receive the keystroke and signal this on a pin, or you can set up a high speed camera to measure the latency between a keypress and the received press from the computer. Something like &lt;a href="https://www.rtings.com/keyboard/tests/latency"&gt;this&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The reason this is not trivial is that there is no event in the keyboard application telling you when the message was sent to the computer. It is possible to get a callback on the nRF when this message was sent. You can look at how this project uses bt_hids_inp_rep_send() in main.c -&amp;gt;&amp;nbsp;&lt;span&gt;key_report_con_send()&lt;/span&gt;. The last input parameter here is a callback to when the message is sent, but I don&amp;#39;t know the accuracy of the timing of this event. It is used to know when the message was acked by the receiver, and that your buffer is free to be reused if needed.&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: nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/thread/350088?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 23:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5a5638a-80e9-4179-84a5-c7f1b4c3c70d</guid><dc:creator>jayden123</dc:creator><description>&lt;p&gt;&lt;span&gt;I want to measure the Bluetooth response time.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/thread/349938?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 11:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59f1b26d-34c3-4d12-ac09-ec0a7c831678</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What exactly do you need to prove?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/thread/349866?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 06:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f409f556-022c-4cd0-9ebe-e52c71909e57</guid><dc:creator>jayden123</dc:creator><description>&lt;p&gt;&lt;span&gt;Is there any data that can refer to the BLE response speed? I need evidence to prove it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 ble-hids-keyboard -measure the bluetooth report rate</title><link>https://devzone.nordicsemi.com/thread/349840?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 19:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d6cdbce-a8db-4514-ad6a-a3752fc4204c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not completely sure what you mean. We have samples that can test the throughput, and you can create samples that can test the back and forth latency (by replying to a message, and timing the time it takes from you send until you get a reply). But none of these are trivial to test in the ble-hids-keyboard sample, since you can&amp;#39;t send as much data as you like (only keyboard data), and you can&amp;#39;t get the computer to reply back.&lt;/p&gt;
&lt;p&gt;Also, the response speed heavily depends on the connection parameters (connection interval). The shortest possible is 7.5ms. Whenever you send a message, it will be sent in the next connection event (which occurs every connection interval). For BLE lkeyboards the connection interval is typically 7.5ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>