<?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>Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121958/connect-to-generic-access-service-with-sdk-17-1-0</link><description>From the examples of SDK 17.1.0 (I&amp;#39;m Not using Zephyr), I&amp;#39;m trying to connect to a beacon&amp;#39;s Generic Access Service, so I can read the characteristic 0x2A00 and then read it&amp;#39;s name. But I&amp;#39;m not able to even connect to it yet. 
 I scanned the beacon and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Jun 2025 11:11:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121958/connect-to-generic-access-service-with-sdk-17-1-0" /><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/540007?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2025 11:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2263a4d2-7a5e-4a88-b00f-9ea5a4c23b28</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should not remove the&amp;nbsp;&lt;span&gt;APP_ERROR_CHECK(), they are there to catch errors.&amp;nbsp;By default a APP_ERROR_CHECK() error will enter&amp;nbsp;app_error_fault_handler(), where the default behavior is to reset the device. So try placing a breakpoint in&amp;nbsp;app_error_fault_handler(). If you are having issues with this, please open a new case for that.&lt;/span&gt;&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: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/539944?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 22:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:647fe081-d128-435c-9e9e-294e3ba7217e</guid><dc:creator>ricardo.oliveira</dc:creator><description>&lt;p&gt;I was able to read the device name as I wanted, but now, when the beacon shuts off the connection or when I try to disconnect by code, my device reboots. I have removed all APP_ERROR_CHECK but it still reboots.&amp;nbsp;&lt;br /&gt;Any idea of what can be happening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538444?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 14:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65db38d4-0150-4c37-b646-1361f06157b0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;That&amp;#39;s after you have connected, and done service discovery.&lt;/p&gt;
&lt;p&gt;You can view the advertisement data in the &amp;quot;Scanner&amp;quot; tab (make sure you disconnect from the device)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538403?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 11:39:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddda3bb7-1535-4f9d-9fbc-2ac9d29e908a</guid><dc:creator>ricardo.oliveira</dc:creator><description>&lt;p&gt;Sure. This image is from nRF Connect:&lt;/p&gt;
&lt;p&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/0647.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538358?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 07:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d7b8067-930c-4488-9f4e-ea396ed023e9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could you post a screenshot on how the advertising data looks like for the beacon, e.g. using nRF Connect for mobile ?&lt;br /&gt;Maybe there is some information apart from the MAC address that you can use to trigger a connect on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538241?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 13:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42023801-f3b9-4661-93ed-a3bd6d32b924</guid><dc:creator>ricardo.oliveira</dc:creator><description>&lt;p&gt;What I mean is, since I know my beacon is connectable, and suppose it has only the Generic Access Service, how can I connect to it and then read the device name in the UUID&amp;nbsp;&lt;span&gt;characteristic 0x2A00?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I saw the link you attached, but since I&amp;#39;m new to Ble and nordic, it still lacks informations for me.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I did here was to set &amp;quot;&lt;/span&gt;&lt;span&gt;init_scan&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;connect_if_match&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;false&amp;quot;, and then in the&amp;nbsp;&lt;/span&gt;BLE_GAP_EVT_ADV_REPORT case inside the callback of the event handler, I could see my beacon MAC and other informations, but I don&amp;#39;t know how to proceed to connect to it and read that characteristic.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538097?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 14:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89f961aa-0330-4998-9160-77d3ab430cd8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;From the screenshot, the beacon seem to only have the&amp;nbsp;&lt;span&gt;Generic Access Service, and don&amp;#39;t have e.g. the NUS service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A BLE advertiser, can advertise different kind of data. e.g.&amp;nbsp;&lt;span&gt; Incomplete/Complete UUID list of&amp;nbsp;available services,&amp;nbsp;Shortened/Complete Local Name,&amp;nbsp;Tx Power Level,&amp;nbsp;Manufacturer Specific Data, etc. If you want to find &amp;quot;your beacon&amp;quot; you need to advertise something that is&amp;nbsp;unique for your beacons.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/538094?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 14:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ced14fc-f0b3-49c9-b3ad-974ed628e559</guid><dc:creator>ricardo.oliveira</dc:creator><description>[quote userid="15146" url="~/f/nordic-q-a/121958/connect-to-generic-access-service-with-sdk-17-1-0/537864"]You are filtering on NUS UUID, but the beacon does not have the NUS UUID.[/quote]
&lt;p&gt;My beacon do not have an connectable UUID? Sorry I didn&amp;#39;t get it.&lt;/p&gt;
&lt;p&gt;I was able to connect to the beacon via it&amp;#39;s MAC address, but for my development that is not useful. I should try to connect to any beacon of this type that is around, so I would not know all MAC address to connect to. After I connect to any nearby beacon, than I&amp;#39;d read it&amp;#39;s name and so my program logic would start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect to Generic Access Service with SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/537864?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 12:03:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6df67cf-fd17-41f9-bae3-388e76ce9925</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]But I&amp;#39;m not able to even connect to it yet.[/quote]
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    err_code = nrf_ble_scan_filter_set(&amp;amp;m_scan, SCAN_UUID_FILTER, &amp;amp;m_nus_uuid);
    APP_ERROR_CHECK(err_code);

    err_code = nrf_ble_scan_filters_enable(&amp;amp;m_scan, NRF_BLE_SCAN_UUID_FILTER, false);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You are filtering on NUS UUID, but the beacon does not have the NUS UUID.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""] so I can read the characteristic 0x2A00 and then read it&amp;#39;s name. [/quote]
&lt;p&gt;See this post on how to do that:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49837/reading-the-central-device-name-smart-phone-in-nrf52dk-peripheral-and-printing-on-the-terminal/199126"&gt;RE: Reading the central device name (smart phone) in nRF52DK(Peripheral) and printing on the terminal&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>