<?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>Can BLE send string instead of byte?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2043/can-ble-send-string-instead-of-byte</link><description>HI,all! 
 I want to know if BLE can send data to APP in form of String instead of Byte?(the examples all send in form of byte )
If it does can, can you mainly introduce the procedure? 
 Looking forward to your reply, thank you very much!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 25 Apr 2015 13:34:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2043/can-ble-send-string-instead-of-byte" /><item><title>RE: Can BLE send string instead of byte?</title><link>https://devzone.nordicsemi.com/thread/8779?ContentTypeID=1</link><pubDate>Sat, 25 Apr 2015 13:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84919853-4e80-4215-b0ff-29351a5f50f4</guid><dc:creator>maxpaynner</dc:creator><description>&lt;p&gt;Why no upvotes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can BLE send string instead of byte?</title><link>https://devzone.nordicsemi.com/thread/8778?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2014 08:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfca1af6-4c61-49f5-8c48-b700fffddb6d</guid><dc:creator>kk</dc:creator><description>&lt;p&gt;Got it. &amp;quot;any data transmitted over the air is just bytes&amp;quot;
thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can BLE send string instead of byte?</title><link>https://devzone.nordicsemi.com/thread/8777?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2014 08:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d162ba1-5495-4d4a-8ff5-3b1f7d7214f9</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;When you transfer data over BLE, there isn&amp;#39;t really any concept of a string or any other format; it&amp;#39;s just raw bytes. It&amp;#39;s up to the devices in either end to interpret the data as wanted, and this is where service specifications come into play. For instance, the &lt;a href="https://developer.bluetooth.org/TechnologyOverview/Pages/HRS.aspx"&gt;Heart Rate Service&lt;/a&gt; says that any data from a characteristic with UUID 0x2A37 is to be understood according to &lt;a href="https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml"&gt;this format&lt;/a&gt;, while the &lt;a href="https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.battery_service.xml"&gt;Battery Service&lt;/a&gt; says that any data from a characteristic with UUID 0x2A19 is to be understood like &lt;a href="https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.battery_level.xml"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Your question is hence not really meaningful; any data transmitted over the air is just bytes, and it&amp;#39;s up to you to read according to your own service specification, for instance as a string of some kind. If you create a custom service, as explained in &lt;a href="https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip"&gt;nAN-36&lt;/a&gt;, it&amp;#39;s hence perfectly possible for you to say that any data from a characteristic with UUID 4b50d9ee-1757-479a-86e9-8c2b348344da is to be understood as a string. Note that you must use a 128-bit UUID for all custom attributes, as described in the application note.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>