<?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>How do I change type of data to send with BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29584/how-do-i-change-type-of-data-to-send-with-ble</link><description>I want to change type from &amp;quot;uint32_t val1 = 0xAA01&amp;quot; to &amp;quot;uint8_t val2 = {&amp;quot;AA01&amp;quot;}. 
 Then, attr_char_value.p_value = val2; 
=&amp;gt; sd_ble_gatts_characteristic_add(p_rms-&amp;gt;service_handle, 
&amp;amp;char_md, 
&amp;amp;attr_char_value, 
&amp;amp;p_rms-&amp;gt;version_char_handles); 
 Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jan 2018 11:45:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29584/how-do-i-change-type-of-data-to-send-with-ble" /><item><title>RE: How do I change type of data to send with BLE?</title><link>https://devzone.nordicsemi.com/thread/117570?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 11:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d951cb75-d566-45f1-9a32-e073bdd9e765</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Have you tried?&lt;/p&gt;
&lt;p&gt;itoa() doesn&amp;#39;t seem to be part of the standard and after a couple of google searches it seems like &lt;a href="http://www.keil.com/forum/11429/"&gt;sprintf is to be preferred&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>