<?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>Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12709/efficient-way-of-using-characteristics</link><description>Hello, 
 I am working on optimizing my BLE transfer algorithm. Therefore I am searching for an efficient way of using the characteristics.
Example:
At the moment I have 2 characteristics called “longitude” and “latitude” in a service. Size of both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jul 2016 01:23:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12709/efficient-way-of-using-characteristics" /><item><title>RE: Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/thread/48270?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2016 01:23:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18b553a0-a1c3-4c56-96a4-0389e00d66bf</guid><dc:creator>junsoo337</dc:creator><description>&lt;p&gt;dear Hung,
i would like to ask you for more detail technical information about &amp;quot;a lot of overhead&amp;quot; and &amp;quot;by grouping the 2 characteristics you can send more data&amp;quot;&lt;/p&gt;
&lt;p&gt;2-characteristic than 1-characteristic have a overhead more? isn&amp;#39;t it?
why the group can send more data when 1 packet?&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/thread/48269?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 16:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dcca685-28fa-4d60-bbc1-b5fd4c9bb171</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/thread/48268?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 15:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:368e67dd-bfa0-484a-9640-2dc2407e7f17</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, it will save you some little space for the RAM of the Attribute table. But not the RAM used for number of connection as when configuring the softdevice (the RAM area for application)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/thread/48267?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 15:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ea46a7-d061-4260-a551-9e7238e1a32e</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hello Hung,
thanks for your reply. That was also my feeling. Thanks for your confirmation. Does this change the RAM/Stack usage of the softdevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Efficient way of using characteristics</title><link>https://devzone.nordicsemi.com/thread/48266?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 15:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbf5fbb7-8cf2-4d1c-aa48-ba18b7d5171d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s better to group the 2 characteristic into one, you will save a lot of overhead. Also there is another limitation on the number of packet per connection interval. Some central only allow 1 packet per connection interval, by grouping the 2 characteristics you can send more data.
The maximum payload size of a packet is 20 bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>