<?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>Need observer API specific to peripheral GAP role.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119339/need-observer-api-specific-to-peripheral-gap-role</link><description>Hi, 
 I am using NRF58233 sdk and I am currently using &amp;#39;NRF_SDH_BLE_OBSERVER MACRO&amp;#39; API to get the softdevice ble events. However, the observer calls my event handler on every ble event regardless of the GAP role. is there any observer similar to &amp;#39; NRF_SDH_BLE_OBSERVER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Feb 2025 07:00:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119339/need-observer-api-specific-to-peripheral-gap-role" /><item><title>RE: Need observer API specific to peripheral GAP role.</title><link>https://devzone.nordicsemi.com/thread/524969?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 07:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c21ddade-08b8-47ea-acdd-6859867cafe3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have role dependent macros like this. And the OBSERVER does not refer to a scanner or central, but rather refers to it handling as an event observer. so no. We don&amp;#39;t have an observer for GAP roles specifically.&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></channel></rss>