<?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>zephyr rtos  and some other question on ble:</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95833/zephyr-rtos-and-some-other-question-on-ble</link><description>I Have a peripheral over ble I have to question? 
 When the peripherl send a message ,(send a Notify over ble) is possible to know when the device receive the Layer2 ACK ? 
 In this way I can make a mesure of the time I need for the transmittion with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Jan 2023 13:36:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95833/zephyr-rtos-and-some-other-question-on-ble" /><item><title>RE: zephyr rtos  and some other question on ble:</title><link>https://devzone.nordicsemi.com/thread/405688?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 13:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f56f6459-5548-4519-9330-082ab423d7a8</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]When the peripherl send a message ,(send a Notify&amp;nbsp; over ble) is possible to know&amp;nbsp; when the device&amp;nbsp; receive the Layer2&amp;nbsp; ACK ?[/quote]
&lt;p&gt;The answer depends a bit on how low level you want to go, but from the documentation you can find for instance:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Attribute value changes can be notified using&amp;nbsp;&lt;/span&gt;&lt;a title="bt_gatt_notify" href="https://docs.zephyrproject.org/3.2.0/connectivity/bluetooth/api/gatt.html#c.bt_gatt_notify"&gt;&lt;code&gt;&lt;span&gt;bt_gatt_notify()&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;API, alternatively there is&amp;nbsp;&lt;/span&gt;&lt;a title="bt_gatt_notify_cb" href="https://docs.zephyrproject.org/3.2.0/connectivity/bluetooth/api/gatt.html#c.bt_gatt_notify_cb"&gt;&lt;code&gt;&lt;span&gt;bt_gatt_notify_cb()&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;where is is possible to pass a callback to be called when it is necessary to know the exact instant when the data has been transmitted over the air.&lt;/span&gt;&lt;/p&gt;
[quote user=""]Is possible for&amp;nbsp; a peripheral to be connected from with a Central only if a central have a Particular &amp;quot;Name&amp;quot; ? So I can accept e/o filter the connection ?[/quote]
&lt;p&gt;The peripheral can not do filtering on cental device name, the reason thsi is not possible is that there is no information in the packets (scan request and/or connect request) from the central that may provide information about the name of the central device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>