<?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>Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117685/regarding-mouse-hid-example-code</link><description>Hello Developers, 
 I am k.hemasundar and i am working on the nRF52833 QAAA0 micro controller with segger embedded studio IDE. I have used nRF SDK of version 17.1.0 and 16.0.0 with my micro controller. I am using the BLE_MOUSE_HID example code with both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2025 09:22:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117685/regarding-mouse-hid-example-code" /><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516934?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 09:22:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9812c93-634a-4cb2-a579-d78fc6fdcae2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;That&amp;#39;s the 32Mhz crystal. You need to show us what you use on the 32kHz crystal. If you don&amp;#39;t have the crystal, you need to set the clock source to RC. Please set NRF_SDH_CLOCK_LF_SRC&amp;nbsp;,CLOCK_CONFIG_LF_SRC and NRFX_CLOCK_CONFIG_LF_SRC to 0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_SDH_CLOCK_LF_ACCURACY should be 500ppm.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516824?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 13:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dad5d450-eafd-4046-adcc-c6bdae422a2e</guid><dc:creator>k.hema sundar</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2025_2D00_01_2D00_03-at-19.23.04_5F00_161544db.jpg" /&gt;&lt;br /&gt;Yes i have a crystal oscillator on my board with 32.000MHZ&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516807?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 13:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae5a365-6971-4467-8c69-f73b94732ba9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;You need to check the crystal on your board. Please try to test with a 2nd board to verify if there is any problem with that particular board.&amp;nbsp;&lt;br /&gt;Please provide the schematic and the BOM.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516802?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 13:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aac4e210-4df2-455a-b2c0-68345ffa7770</guid><dc:creator>k.hema sundar</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_01_2D00_03-183754.png" /&gt;&lt;br /&gt;yes it is configured to&amp;nbsp;&amp;nbsp;&amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516799?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 13:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd6837c7-cca2-4ef2-bb2b-506dff277f25</guid><dc:creator>k.hema sundar</dc:creator><description>&lt;p&gt;ok I&amp;#39;ll try and let you know what happen thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516797?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 12:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407c8ebc-535f-4801-aa9b-63282647ee79</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Since it&amp;#39;s your custom board, please double check the 32kHz crystal to see if you have selected the correct one. THe ppm should be 20ppm, otherwise you need to reconfigure the code to match your actual ppm.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516790?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 12:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a33d99-2ceb-4c28-aa05-3e8659df8ea3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hema,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The SDK&amp;nbsp;has not been changed for 5 years and it has been intensively tested on all the boards so I&amp;nbsp;am quite certain it&amp;#39;s not the issue with the DK.&amp;nbsp;&lt;br /&gt;Please make sure you erased bond on the phone (Forget the device in Bluetooth testing)&lt;br /&gt;Please use the nRF Connect app on the phone to test, if you have another phone&amp;nbsp;it worth to try on another phone.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regarding the sniffer you need to have a DK to use as a sniffer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516731?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 04:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b15fa1-b859-400d-aaf1-b60cb1852cfb</guid><dc:creator>k.hema sundar</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I&amp;#39;ve tried with ble_app_uart example but still not working. And for sniffer is there any chance to get the sniffer data via USB, because, has i said i don&amp;#39;t have UART support for my j-link. If it is possible to get via USB please guide me how to do it then, i&amp;#39;ll get the sniffer data to you.&amp;nbsp;&lt;br /&gt;if your have nrf52833 DK can you please try the ble_hids_mouse or any other examples and tell me weather it is working or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516688?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 16:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28031d43-5f1a-471e-91c9-c69765b5fc32</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hema,&amp;nbsp;&lt;br /&gt;Please try to get hold of a nRF52840 DK. It will help you a lot on development and save you a lot of time. You can use it as the sniffer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to test with ble_app_uart , it has PCA10100 supported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Disconnected reason 0x3e means&amp;nbsp;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED. It&amp;#39;s hard to tell what exactly went wrong without the sniffer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516635?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 12:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8e6249-93f6-41e9-a797-afe993753794</guid><dc:creator>k.hema sundar</dc:creator><description>&lt;p&gt;it is giving that &lt;span&gt;p_ble_evt-&amp;gt;gap_evt.disconnected.reason=&lt;/span&gt;0x3e&lt;br /&gt;by the by you said that use another example code like ble_app_blink but in that pca10100 example is not there. So how could i use that code for pca10100 it has limited examples. And i have tried with ble_hid_keyboard too but same problem is facing.&lt;br /&gt;And you said that remove the device in bluetooth setting i&amp;#39;ve tried that but no change is there.&lt;br /&gt;And as u said refer the sniffer trace but for sniffer trace i dont have UART option on my j-link to detect the port, i am using j-link EDU mini for my board, so i cant use the sniffer trace, that&amp;#39;s the reason i am using printf function insted of using APP_ERROR_CHECK.&lt;br /&gt;please help me on my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding mouse HID example code</title><link>https://devzone.nordicsemi.com/thread/516634?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 12:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acf47dae-b006-4426-9b34-9940609ed301</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;From the log you showed, it seems that it get connected then disconnected immediately after that.&amp;nbsp;&lt;br /&gt;Please try to print the&amp;nbsp;p_ble_evt-&amp;gt;gap_evt.disconnected.reason when you have the&amp;nbsp;&lt;span&gt;ble_event_id=17&amp;nbsp; (BLE_GAP_EVT_DISCONNECTED)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My suspicion is that there were bonding information on the central device that has not been removed. So when you connect the board to the device it will try to re-pair with the older bond information. This will not succeed and it will terminate the connection.&amp;nbsp;&lt;br /&gt;Make sure you erase all bond information on the phone (Forget/remove the device in Bluetooth setting)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Please try to test using other sample for example ble_app_blinky&lt;br /&gt;If the issue persist please try to capture a sniffer trace. You can learn how to use it &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>