<?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>Unable to discover service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115695/unable-to-discover-service</link><description>Hi, 
 I&amp;#39;m using SDK5 17.1.0 and SD132 v7.3.0. At the moment I&amp;#39;m developing a central device which scans for a peripheral. I did this a few times before with other devices and never had a problem with it. But now, the central is unable to discover the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Jun 2025 08:00:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115695/unable-to-discover-service" /><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/537790?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 08:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4badb4c-d183-4a91-a557-87721feeda2c</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the manufacturer provided a bug-fix for this. So this ticket can be closed.&lt;/p&gt;
&lt;p&gt;Thanks for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/522595?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 09:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43dc6777-096d-4acd-ab65-7626a54b47ce</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Strange, maybe you can try the Bluetooth shell:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/bluetooth/bluetooth-shell.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/bluetooth/bluetooth-shell.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At least that one should be easy to test.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/522589?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 08:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0d05722-06bb-4b81-8e80-f8a7d0982cf9</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;They already received the sniffing logs.&amp;nbsp;Could it be a solution&amp;nbsp;to implement that project with nrf connect SDK? Is there a method to&amp;nbsp;discover all primary services, like in the nrf connect app for Android?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/522579?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 08:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f03f1bf-2654-4f36-a81f-48a8bfd3156f</guid><dc:creator>Kenneth</dc:creator><description>[quote user="ilockit_CFR"]Isn&amp;#39;t that exactly what is used in service discovery and doesn&amp;#39;t work in our case?&amp;nbsp;In the sniffer logs there is the request &amp;quot;Sent Find By Type Value Request&amp;quot; and the answer &amp;quot;Rcvd Error Response - Attribute Not Found&amp;quot;[/quote]
&lt;p&gt;Yes, can you send them that log also?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/522566?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 07:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11831fea-8ebe-40d0-9f5f-f38d2aae4ac5</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I double-double checked that the uuid is correct. We had contact with the manufacturer of the hardware and the response was, that &amp;quot;Discover primary service by service UUID&amp;quot; is not implemented in that product. To implement that, their BLE chip supplier has to update the protocol stack and I think that won&amp;#39;t happen.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We then received the following response from the manufacturer, which I don&amp;#39;t fully understand. Maybe you can help me with that.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;We do have some promising news: After discussing with the MG126 supplier, we confirmed that their current protocol stack supports the&amp;nbsp;&lt;b data-stringify-type="bold"&gt;&amp;ldquo;ATT_FIND_BY_TYPE_VALUE_REQ&amp;rdquo;&lt;/b&gt;&amp;nbsp;protocol. Based on our understanding, Nordic&amp;rsquo;s nRF chip should also support this service.&lt;span class="c-mrkdwn__br" data-stringify-type="paragraph-break"&gt;&lt;/span&gt;Would you be able to test this approach with your BLE fob development partner? I&amp;rsquo;d appreciate any feedback on whether this method could work for your setup.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Isn&amp;#39;t that exactly what is used in service discovery and doesn&amp;#39;t work in our case?&amp;nbsp;In the sniffer logs there is the request &amp;quot;Sent Find By Type Value Request&amp;quot; and the answer &amp;quot;Rcvd Error Response - Attribute Not Found&amp;quot;&lt;/p&gt;
&lt;p&gt;Please excuse me for bothering you with the problem which is not caused by the nrf. But it would be nice if we could somehow find a solution.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/517916?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 11:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd2b0d37-d09c-4311-8092-7467bc8e5749</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Double check the problem is not related to endianess of uuid?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/517697?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 12:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d746c09-1945-4b7e-b501-a913a70810ec</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;tanks for your reply. If I understood this correctly, it was about setting the service UUID to the stack via&amp;nbsp;sd_ble_uuid_vs_add(). I&amp;#39;m doing this already at application start when I initialise the services. So for me it looks, like the service is still not found at all. In my post above I saw the service UUID and thought that it was found, but I think it was only shown because I set the UUID before with&amp;nbsp;ble_db_discovery_evt_register. Do you have any other idea, that could help?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/517630?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 09:44:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d4a3ae3-89ce-47fe-9344-e08924326a91</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I could find this thread which I think is relevant:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/3656/s130-custom-uuid-service-discovery"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/3656/s130-custom-uuid-service-discovery&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/517178?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 10:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c610b059-8073-4665-8ec2-7c0a9b16dd0b</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;at the moment I&amp;#39;m working further on my solution for this workaround and have an issue with the characteristics.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems, that your&amp;nbsp;propposed solution only finds the characteristics of the 16-bit standard services. I couldn&amp;#39;t find any characteristics of the custom service. I&amp;#39;m also not 100% sure if this workaround can find the custom service at all, because if I check this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_LOG_DEBUG(&amp;quot;Service count = %d&amp;quot;, p_ble_gattc_evt-&amp;gt;params.prim_srvc_disc_rsp.count);
    
for(uint8_t i = 0; i &amp;lt; p_ble_gattc_evt-&amp;gt;params.prim_srvc_disc_rsp.count; i++)
{
    NRF_LOG_DEBUG(&amp;quot;[%d]: %.4X&amp;quot;,i, p_ble_gattc_evt-&amp;gt;params.prim_srvc_disc_rsp.services[i].uuid.uuid);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it will give me this result:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; Service count = 2
00&amp;gt; [0]: 1800
00&amp;gt; [1]: 180A&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is there anything I can do to get the characteristics of the custom service? Unfortunatelly, there&amp;#39;s no response from the vendor to fix this bug, so I have to find a solution to get around this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/511434?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 09:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3dd1598-3183-4b12-93ce-7b2d4e1f0a93</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Christian,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That was good news!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It&amp;nbsp;is a bit hard to tell what exactly is wrong on the Peripheral side, but it looks like a bug in the implementation of the GATT server. According to Core Spec, Vol 3, Part G &amp;quot;4.4 Primary Service Discovery&amp;quot;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There are two sub-procedures that can be used for primary service discovery: Discover All Primary Services and Discover Primary Service by Service UUID.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It looks like the server doesn&amp;#39;t support the second sub-procedure (Discover Primary Service by Service UUID) that uses ATT_FIND_BY_TYPE_VALUE_REQ packet.&lt;/p&gt;
&lt;p&gt;You might consider report this as a&amp;nbsp;bug and attach sniffer traces you captured to the Bluetooth Host vendor you use.&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;br /&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/511413?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 06:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fce1024-6c42-4e0f-82ec-89b3c0ac9781</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m very happy to tell you, that your suggestion worked. I was able to discover all services on the peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have an idea what&amp;#39;s wrong on the peripheral side? If you could explain this to me, I can give the information to the development team of the peripheral so they can fix the issue on their side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much for your support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/511231?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2024 08:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39da9adc-f5d4-48d5-91a0-fa5a88c4ce40</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi Christian,&lt;/p&gt;
&lt;p&gt;This seems like an issue on the peripheral side. But it should be possible to change the behaviour by using&amp;nbsp;&lt;span&gt;sd_ble_gattc_primary_services_discover(.., ..,&amp;nbsp;&lt;/span&gt;&lt;strong&gt;NULL&lt;/strong&gt;&lt;span&gt;).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try in&amp;nbsp;\components\ble\nrf_ble_gq\nrf_ble_gq.c to change the last parameter to NULL for test? Should be two places in the file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510865?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 09:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87426043-1725-4e8a-a50b-e015af0eb9c8</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can send you the code, if we could turn this ticket to private.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually, I call&amp;nbsp;ble_db_discovery_start(&amp;amp;m_db_disc, p_gap_evt-&amp;gt;conn_handle); after receiving the&amp;nbsp;BLE_GAP_EVT_CONNECTED event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510857?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 09:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b51687-b570-4be6-9ada-3596d5f45d24</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you&amp;nbsp;send part of your code where you have implemented service discovery?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From my understanding, if you call sd_ble_gattc_primary_services_discover(.., .., NULL)&amp;nbsp;then the softdevice will send ATT_READ_BY_GROUP_TYPE_REQ (similar to phone).&amp;nbsp;Can you check if p_srvc_uuid to NULL when you call sd_ble_gattc_primary_services_discover()?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510835?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 07:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c51792a-5d8a-49fd-9935-0035bd67eab3</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I tried the delay but the result stays the same. I also tried a larger delay or start the discovery on button press, but nothing worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bonding to the device is not possible. One of the developers of the HMI uses a Puck.js from epruino, which also has a nrf52832 on it, and ithe service discovery works fine for him.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510668?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 11:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e39394c0-2419-418b-8714-2722e1a94822</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi C&lt;span&gt;hristian,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There are a few things we want you to try.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If possible delay the service discovery with 100ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If possible bond before you do a service discovery.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510225?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 07:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37cfa529-6f61-4b9f-a457-86068ffd0b83</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;here are the wireshark files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/connect_5F00_with_5F00_nrf_5F00_connect_5F00_app.pcapng"&gt;devzone.nordicsemi.com/.../connect_5F00_with_5F00_nrf_5F00_connect_5F00_app.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_custom_5F00_service_5F00_failed.pcapng"&gt;devzone.nordicsemi.com/.../discovery_5F00_custom_5F00_service_5F00_failed.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_0x1800_5F00_failed.pcapng"&gt;devzone.nordicsemi.com/.../discovery_5F00_0x1800_5F00_failed.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_0x1800_5F00_success_5F00_other_5F00_device.pcapng"&gt;devzone.nordicsemi.com/.../discovery_5F00_0x1800_5F00_success_5F00_other_5F00_device.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510158?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 15:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6920da52-64b8-4ce6-adaf-5b3ae903398a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there any way you have saved the wireshark (.pcapng) files?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/510126?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 14:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ea6131-448b-4c91-a20b-e3280cc3e423</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi Kenneth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sorry for the late reply. As requested, I created some sniffer logs while discovering the services. I did four different things:&lt;/p&gt;
&lt;p&gt;1. Connect with nrf connect Android app to the HMI and start a service discovery -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/connect_5F00_with_5F00_nrf_5F00_connect_5F00_app.txt"&gt;devzone.nordicsemi.com/.../connect_5F00_with_5F00_nrf_5F00_connect_5F00_app.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Connect HMI with the nrf52832 and start service discovery for the custom service -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_custom_5F00_service_5F00_failed.txt"&gt;devzone.nordicsemi.com/.../discovery_5F00_custom_5F00_service_5F00_failed.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Connect HMI with the nrf52832 and start service discovery for service 0x1800 -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_0x1800_5F00_failed.txt"&gt;devzone.nordicsemi.com/.../discovery_5F00_0x1800_5F00_failed.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. Connect another device with the nrf52832 and start service discovery for service 0x1800 -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/discovery_5F00_0x1800_5F00_success_5F00_other_5F00_device.txt"&gt;devzone.nordicsemi.com/.../discovery_5F00_0x1800_5F00_success_5F00_other_5F00_device.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attempt 2 and 3 were not sucessfull. Attempt 4 found the service on the other device to proof, that the code is working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507725?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 11:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e56b551-2992-44d6-b40a-213bf4080f29</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Are you able to provide a sniffer log of working and failing? E.g. using:&lt;br /&gt;&lt;a id="" href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507514?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 08:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16df07f3-c72e-4244-a4e3-e980deb62a2f</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;switching to nrf connect SDK would be too complicated for the current task. But I tested the central_bas sample in ncs and adjusted it to the service 0x1800 of the peripheral device. The result was the same as in SDK5. The nrf wasn&amp;#39;t able to find any service. But if I connect to another device the service is found. That&amp;#39;s very strange and I never experienced such behaviour.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The target device is an HMI of an ebike and was developed by our customer. The build-in BLE chip is a&amp;nbsp;Seeed Studio Wio Lite MG126. The mobile apps which are used to communicate to the HMI are working properly. Is there anything else that I can try?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507351?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2024 12:17:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50ec6e66-bc94-4235-85da-8e1261200342</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;What can you tell me about the peripheral device you are trying to discover?&lt;/p&gt;
&lt;p&gt;I know there have been improvement in service discovery in nRF Connect SDK, the implementation is different and more robust, so you may need to update.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507303?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2024 10:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5005609f-82f0-4291-ac9c-dae22b183d72</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did a little bit more testing today and found out, that it&amp;#39;s also not&amp;nbsp;possible to detect other services on the device, like 0x1800 or 0x180A. If I use the same code&amp;nbsp;and scan for&amp;nbsp;another device which also provides the 0x1800 service, the serivces discovery succeeds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible, that the connection parameter are not correct or is there anything else that can influence the service discovery?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507115?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 11:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de91aa6b-c9b9-4af4-a14a-ce58c77e6cfb</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I recommend going to nRF Connect SDK if possible, But I assume you are using the database discovery module here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_ble_db_discovery.html"&gt;https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_ble_db_discovery.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately you will need to know the base UUID you want to discover yes:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21152/db-discovery-failing-with-ble_db_discovery_srv_not_found/82775"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/21152/db-discovery-failing-with-ble_db_discovery_srv_not_found/82775&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Notice that each time you call&amp;nbsp;sd_ble_uuid_vs_add() it will increment the uuid.type. If that is not the problem, then I suspect it&amp;#39;s some problem with endianess of base uuid.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover service</title><link>https://devzone.nordicsemi.com/thread/507104?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 10:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcd684f3-5a66-4552-9aed-9a8f1542ccce</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Thanks for the hint, but the base UUID is already added with&amp;nbsp;&lt;span&gt;sd_ble_uuid_vs_add().&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>