<?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>Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96594/using-nrf-connect-to-configure-a-nrf52840</link><description>I am trying to learn the ins and outs of using the nRF 52840 to send a signal out that can be acted upon by an outside device. Poking my way through the inadequate documentation and not finding what I need. I am currently trying to use nRF connect. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2023 09:31:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96594/using-nrf-connect-to-configure-a-nrf52840" /><item><title>RE: Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/thread/409779?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 09:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c38dd24-3f96-44a3-b4a1-f73b849b8a80</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Don,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We currently don&amp;#39;t have an .ncs example file. If you have any question you can ask me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The feature of setting up a server on nRF Connect&amp;nbsp;may not be the most popular feature as it lack of any way to modify the data dynamically or to send notification. It&amp;#39;s more like an add-on feature.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The nRF Connect app focuses more on the client side than server as most of the time the server is implemented on the peripheral.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;I would assume you already find the documentation of the program, but I will leave the link here, just in case:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfconnect_ble/UG/nRF_Connect_BLE/nRF_Connect_Maintaining_server_setup.html?cp=11_3_0_8"&gt;https://infocenter.nordicsemi.com/topic/ug_nrfconnect_ble/UG/nRF_Connect_BLE/nRF_Connect_Maintaining_server_setup.html?cp=11_3_0_8&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/thread/409683?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 16:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a60cb30-aec3-45ff-b8a1-5092e0ba7ce4</guid><dc:creator>DonGlover</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;br /&gt;It appears that I am still missing something fundamental here.&amp;nbsp;&lt;br /&gt;Does Nordic provide a working example .ncs file that can be downloaded to examine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/thread/409644?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 14:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:022a84c9-86ae-4f04-bf3a-33fc57f10727</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Don,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Sorry that I&amp;nbsp;captured without clicked on the Apply to device.&amp;nbsp;&lt;br /&gt;It worked fine for me. And I can use the phone to see the service and characteristic:&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676299000859v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;What I noticed in your case is that you have notify checked. When you have notify checked, the Bluetooth spec requires the characteristic to have a descriptor to control when it can send notification. So what you need in your case is to add the descriptor 0x2902 to handle CCCD like this:&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676299254970v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then it should work. I assume a error message is missing in this case to tell that the server configuration is not applied because the descriptor is not added when notification is selected.&lt;br /&gt;&lt;br /&gt;In addition, I am not so sure which&amp;nbsp; UUIDs you are using, but if you are doing proprietary you would need to use 128 bit UUID not 16 bit UUID. The UUID you can see in my test was from the lbs example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/thread/409581?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 12:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:041e1297-6f8c-4511-8acb-3c288e698740</guid><dc:creator>DonGlover</dc:creator><description>&lt;p&gt;Hung,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for the reply. Are you sure it was applied? My expectation is that if it is successfully applied I will see a &amp;quot;Server setup was applied&amp;quot; message as shown below. I don&amp;#39;t get that message when I have properties checked nor do I see it in your message above. Further, when I set the dongle to advertise, I use the nRF app on my phone to see the update in the first case and do not see updates in the second.&lt;br /&gt;I don&amp;#39;t have a dev kit available.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:720px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1440x480/__key/communityserver-discussions-components-files/4/7357.nrf2.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF Connect to configure a nRF52840</title><link>https://devzone.nordicsemi.com/thread/409563?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 11:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a88569a-eda1-4b0a-a38e-f955ebf69d61</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Don,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to recreate the problem here but couldn&amp;#39;t see it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:756px;max-width:624px;" height="756" src="https://devzone.nordicsemi.com/resized-image/__size/1248x1512/__key/communityserver-discussions-components-files/4/pastedimage1676288557182v1.png" width="624" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As you can see in the screen shot, I can click save and then can see that what I selected is stored and I can come back to change it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;How did you do the test&amp;nbsp; ? Did you have any connection when you change the server ? I would suggest to do that at the beginning when you select the dongle before you do scanning or connection.&lt;br /&gt;Also could you let me know the version of nRF Connect for Desktop (and the nRF Connect BLE Standalone app)?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to test with a Dev Kit instead of the dongle ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>