<?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>nrf52833 + s140, Can ble send data immediately after enabling notification?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102656/nrf52833-s140-can-ble-send-data-immediately-after-enabling-notification</link><description>hi 
 When I was developing my own 52833 product，i connect it with others，It acts as a server。 
 for the server side，When notification is enabled, i immediately notify data， use the softdevice api sd_ble_gatts_hvx( ),as shown below photo。the api will return</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Aug 2023 13:45:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102656/nrf52833-s140-can-ble-send-data-immediately-after-enabling-notification" /><item><title>RE: nrf52833 + s140, Can ble send data immediately after enabling notification?</title><link>https://devzone.nordicsemi.com/thread/440337?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2023 13:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf722b78-36bd-4fa1-8143-6fb3713b71dc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no specific delay. You can send immediately after the SoftDevice have received (and processed) the write to the CCCD, enabling notifications. You can check to see if this has&amp;nbsp;happened&amp;nbsp;checking if notifications are enabled when you get a write to the CCCD, as is done in many of the service implementations in the SDK (for instance you can search for&amp;nbsp;BLE_BAS_EVT_NOTIFICATION_ENABLED to see the conditions for sending that event in&amp;nbsp;components/ble/ble_services/ble_bas/ble_bas.c).&lt;/p&gt;
&lt;p&gt;(I am not sure I understand the sniffer trace, as you describe notifications but I don&amp;#39;t see any notifications there. Perhaps you can elaborate and upload the trace (not just a screenshot)?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>