<?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>maximal notification size in s132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22744/maximal-notification-size-in-s132</link><description>Looking at the ble_nus service, I see that the SoftDevice allows notifications to be more than 20 bytes long: 
 uint32_t ble_nus_string_send(ble_nus_t * p_nus, uint8_t * p_string, uint16_t length)
{
 ble_gatts_hvx_params_t hvx_params;

 ...

 if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jun 2017 13:25:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22744/maximal-notification-size-in-s132" /><item><title>RE: maximal notification size in s132</title><link>https://devzone.nordicsemi.com/thread/89409?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 13:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d81d63cc-940e-4222-957f-fe337336b17d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;@Boaz  I have converted the comment to an answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximal notification size in s132</title><link>https://devzone.nordicsemi.com/thread/89408?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 13:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eaae626-2fce-45a7-9e67-5aa6e2a7ae57</guid><dc:creator>Boaz</dc:creator><description>&lt;p&gt;Thanks @Sigurd - can you please post this as an answer so I can accept?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximal notification size in s132</title><link>https://devzone.nordicsemi.com/thread/89410?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 12:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90930a2-c9f2-4545-86d9-c21e96429952</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;According to the BLE specification the notification length can be max ATT_MTU - 3. The 3 bytes subtracted is the 3-byte header(OP-code (operation, 1 byte) and the attribute handle (2 bytes)).&lt;/p&gt;
&lt;p&gt;In BLE 4.1 the ATT_MTU is 23 bytes, but in BLE 4.2 the ATT_MTU can be negotiated up to 247 bytes. Support for Configurable ATT MTU size(longer packets than previously (23 ) was added in S132 version 3.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: maximal notification size in s132</title><link>https://devzone.nordicsemi.com/thread/89411?ContentTypeID=1</link><pubDate>Tue, 13 Jun 2017 11:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:663439c6-efcb-4fd5-b0e0-74ffb1e26947</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I believe this is not Soft Device limitation but BT SIG specification: Notification can be as long as current maximum ATT_MTU size. That&amp;#39;s the difference from Write/Read methods which work on GATT Characteristic&amp;#39;s (or Descriptor&amp;#39;s) Value handles and can work with whole Value length.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>