<?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 characteristic array/set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24447/ble-characteristic-array-set</link><description>i know that it&amp;#39;s not up to you guys to tell me this but maybe you can give me a hint: right now i&amp;#39;m using the bluetooth developer studio together with the nordic plugin for code generation to design my communication/GATT. 
 i&amp;#39;m transferring sensor values</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Aug 2017 15:01:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24447/ble-characteristic-array-set" /><item><title>RE: BLE characteristic array/set</title><link>https://devzone.nordicsemi.com/thread/96255?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 15:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:892417b2-d41a-4311-80b6-cbf8fcf91c99</guid><dc:creator>martin</dc:creator><description>&lt;p&gt;spot on - thanks a lot. i guess it wouldn&amp;#39;t be to hard to implement another protocol layer on top of GATT and the NUS is a great reference, i&amp;#39;ll have a look at that. just have to make sure to make something re-usable for BLE mesh (MTU sizes might be different, didn&amp;#39;t have a chance to look at it just yet).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE characteristic array/set</title><link>https://devzone.nordicsemi.com/thread/96254?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da37d5f-874f-4ac3-a965-1db1f1d60383</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, this is the right way. BLE GATT is the highest layer providing some data frames/packets/whatever you want to call it and on top of that are APP layer proprietary data. If you want to design some optimal protocol you can simply map your data structure to GATT handle Value and send it over link by Notify (from Server side) or Write (from Client side) methods. Btw. this is more or less what Nordic&amp;#39;s BLE UART Service (NUS) does and because Nordic provides full set of examples in their SDK it&amp;#39;s very popular in the field. If you need to be more future proof then you can add some header like what is the protocol packet structure version (and length if you want to make it dynamic). Some purists would even go with full ASN.1 defined protocol (so typically set of BER-TLV structures which then can be parsed without doubts on the receiver&amp;#39;s side and would scale to basically infinite packet sizes etc.) but in the end it&amp;#39;s all the same. So take the approach which suites the best to your purpose and skills, design some proprietary GATT Service and Characteristic with 128-byte UUIDs and map your XYZ samples to GATT &amp;quot;byte array&amp;quot; in the way you will be able to parse and interpret them easily on the other side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>