<?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>BLE NUS sending notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65557/ble-nus-sending-notification</link><description>I am trying to figure out how to use the TX part of the BLE NUS Service to send a notification. Currently I am receiving data via the nus_data_handler, however because i will be receiving multiple packets of 240 bytes I want to be able to notify the app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Sep 2020 12:16:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65557/ble-nus-sending-notification" /><item><title>RE: BLE NUS sending notification</title><link>https://devzone.nordicsemi.com/thread/268520?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 12:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62818739-240c-4757-9dc0-0ced96ff0be0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I am not sure what function triggers the notification or a good place in documentation to understand how to do so.[/quote]
&lt;p&gt;&amp;nbsp;It&amp;#39;s the SoftDevice function sd_ble_gatts_hvx() that is used to send notifications. In the ble_app_uart example, the function&amp;nbsp;ble_nus_data_send() is&amp;nbsp;using the&amp;nbsp;&lt;span&gt;sd_ble_gatts_hvx() to send notification based on what it&amp;nbsp;receives over UART.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I understand you correctly, then you can send a notification, and when you receive the notification&amp;nbsp;on the central side, you send the next write command from the central.&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></channel></rss>