<?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 service discovery behaviours are different on two central devices via &amp;quot;nRF Connect APP&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118604/ble-service-discovery-behaviours-are-different-on-two-central-devices-via-nrf-connect-app</link><description>Hi Support team, 
 I met a strange problem on my IoT device, which provided a BLE service. 
 One month ago, I could use nRF_Connect_APP with my mobile phone(phone_A) to find the service and read/write data. But I can&amp;#39;t find the service now, the Bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2025 11:59:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118604/ble-service-discovery-behaviours-are-different-on-two-central-devices-via-nrf-connect-app" /><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/523241?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 11:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f36ea2d6-6dee-46b8-b532-97260d356dba</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;With the nRF Connect for Desktop BLE app, you will get prompted when you open the app and choose the DK you want to use to connect to program the board with the correct firmware. It is a connectivity sample that we don&amp;#39;t have available as it is based on some rather old connectivity firmware at this point.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/523184?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 08:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02372944-051e-4ca7-a1d9-eb93bce2e746</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;I have a nRF5340 DK, what sample or image should I download to it if I want to use the app &amp;quot;Bluetooth low energy&amp;quot;?&lt;br /&gt;From &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le/download#infotabs"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt;， it seems the firmware is only for nRF52* DK.&lt;br /&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Yanpeng Wu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/523034?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 11:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f42cab4a-5920-4f0e-83a6-d1ad56b65a43</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Glad to hear you got around your issue. I see, that makes sense! Some phones handle bonding/discovery differently int heir BT stacks, so some different behavior must be expected.&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have any specific suggested Windows based program for BLE directly, but we do have the nRF Connect for Desktop BLE app with the source code available here:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble"&gt;https://github.com/NordicSemiconductor/pc-nrfconnect-ble&lt;/a&gt;&amp;nbsp;It requires that an nRF52/53 series DK or Dongle is connected to the computer though.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/523004?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 09:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:231b9ba6-e970-412c-badc-245a4094367a</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a nRF5340 custom board and the problem is fixed now.&amp;nbsp;The BLE on our custom board is used for the system provision, which allows boned central to configure it only.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;what I changed to fix this problem is:&lt;br /&gt;1. Disable the settings for BLE and force the central device to bond for every connection request.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;        CONFIG_BT_SETTINGS=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2. Set the Security with Mode 1 Level 4, and ensure the central device bond with Passkey Confirmation(Numeric Comparison):&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;        CONFIG_BT_SMP=y
        CONFIG_BT_BONDABLE=y
        CONFIG_BT_PRIVACY=y
        CONFIG_BT_SMP_SC_ONLY=y
        CONFIG_BT_SMP_APP_PAIRING_ACCEPT=y
        CONFIG_BT_SMP_ENFORCE_MITM=y&lt;/pre&gt;&lt;br /&gt;And in the on_connected_cb, set bt_conn_set_security(conn, BT_SECURITY_L4 | BT_SECURITY_FORCE_PAIR).&lt;/p&gt;
&lt;p&gt;After these changes, Both phones bonded with the target and discovered the services successfully. A little difference is one phone discovers the services automatically after a secure connection, and the other phone needs to discover manually (click Discover Services in the nrf connect for mobile APP ). Both read/write via BLE are successful.&lt;/p&gt;
&lt;p&gt;Now I use the APP &amp;quot;nrf connect for mobile&amp;quot; to configure my device, I need to develop a Windows-based dialog program for this purpose. Could you help give some suggestions for this? (1) Need I use a Nordic dongle on my laptop? I found my laptop can scan and find the target, but can not connect it stable (short connected then disconnected for an unknow reason). (2) For the Windows dialog program, are there any open sources or tools I can base on to develop it quickly? Thank you very much.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Yanpeng Wu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/521511?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 10:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea914c0a-8ad6-4e91-8aca-cc6702ebe6a1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you share some details on what phones you&amp;#39;re using here, both the one that&amp;#39;s working and the one with issues doing service discovery on? And what service exactly is it you&amp;#39;re trying to discover? Also, what kind of IoT device is it, is this an nRF5340 custom board or DK? In the IoT device log there seems to be some packets dropped and no mention of service discovery, so maybe these are lost somehow.&lt;/p&gt;
&lt;p&gt;One thing you could try is to get a sniffer trace so we can see what is going on over the air since the logs don&amp;#39;t really point to anything specific being wrong here. You can either use a dedicated Bluetooth sniffer like the &lt;a href="https://www.ellisys.com/products/bex400/"&gt;Ellisys Snfifers&lt;/a&gt;&amp;nbsp;or an nRF52 series DK with the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer firmware&lt;/a&gt; and Wireshark to sniff the connection. Check out the nRF Sniffer user guide here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil_ble_sniffer_pdf/resource/nRF_Sniffer_BLE_UG_v4.0.0.pdf"&gt;https://docs.nordicsemi.com/bundle/nrfutil_ble_sniffer_pdf/resource/nRF_Sniffer_BLE_UG_v4.0.0.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/521397?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 18:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb1d26c-105e-491a-a299-4a0ded02288e</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;About two months ago, the BLE service can be found on&amp;nbsp;&lt;span&gt;phone_A, after one or two Bluetooth upgrades, the service discovery failed now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe this was caused Bluetooth version mismatch? Could you help give some hints? Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service discovery behaviours are different on two central devices via "nRF Connect APP"</title><link>https://devzone.nordicsemi.com/thread/521274?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 10:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f33b1cc-9b90-4cda-8a73-f1a5ff55b230</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;I added the log on the peripheral side (my IoT device) here.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IoT_5F00_device_5F00_peripheral.txt"&gt;devzone.nordicsemi.com/.../IoT_5F00_device_5F00_peripheral.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>