<?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>Sending Hexadecimal Values to my BLE device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8687/sending-hexadecimal-values-to-my-ble-device</link><description>i used this function to send data to my ble device ble_nus_string_send.this function sends ASCII values. and when i pass this function hex values it converts them into ascii and then sends. But it terminates data when i pass 0x00 and for some other hex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Sep 2015 12:13:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8687/sending-hexadecimal-values-to-my-ble-device" /><item><title>RE: Sending Hexadecimal Values to my BLE device</title><link>https://devzone.nordicsemi.com/thread/31852?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2015 12:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a151a3-da78-43bb-8cec-2bf81b97dd07</guid><dc:creator>Spirit</dc:creator><description>&lt;p&gt;Nomi, did you solve the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Hexadecimal Values to my BLE device</title><link>https://devzone.nordicsemi.com/thread/31854?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 16:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8491add5-3cad-4618-b164-53096ceadcad</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;I am using an ios app nRF Toolbox&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending Hexadecimal Values to my BLE device</title><link>https://devzone.nordicsemi.com/thread/31853?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 11:58:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe679ec0-f56e-4fc0-b52f-64ea4a653eb8</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi Nomi!&lt;/p&gt;
&lt;p&gt;I am assuming that you are using the ble_app_uart example.
The conversion to ASCII does not happen inside the ble_nus_string_send(ble_nus_t * p_nus, uint8_t * p_string, uint16_t length) function.
It simply treats the p_string variable as a byte array, and does not care what it contains (value wise).&lt;/p&gt;
&lt;p&gt;The issue is probably that your receiver device treats this byte array as a ASCII string, and for example terminates on a 0x00 value.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What is the receiver device?&lt;/li&gt;
&lt;li&gt;Are you writing the receiving software yourself, or using a premade application?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>