<?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 to send ASCII data to MCP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/767/how-to-send-ascii-data-to-mcp</link><description>I am able to send data from EK to MCP but even i am sending one byte of ASCII(alphabet) of data, it is showing as hex value in MCP ex., &amp;#39;C&amp;#39; as 43 , if i want to see ASCII in MCP instead of hex, how to achieve it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Oct 2013 11:04:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/767/how-to-send-ascii-data-to-mcp" /><item><title>RE: how to send ASCII data to MCP</title><link>https://devzone.nordicsemi.com/thread/3870?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2013 11:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3e8dfc4-557c-40f7-8116-3ad67ff3e392</guid><dc:creator>rangineni balu</dc:creator><description>&lt;p&gt;yeah, its working, thanks for your reply and i tried to send 4 bytes of data byte by byte no problem, i&amp;#39;m recieving at usb dongle, but when i tried to send 4 bytes at a time, getting link loss&lt;/p&gt;
&lt;p&gt;i&amp;#39;m attaching the MCP screen shot when it got recieved link loss error&lt;/p&gt;
&lt;p&gt;ble_gatts_hvx_params_t params;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint16_t len = 4;  //sizeof(button_state);
uint8_t button_state[]=&amp;quot;NAME&amp;quot;;
memset(&amp;amp;params, 0, sizeof(params));
params.type = BLE_GATT_HVX_NOTIFICATION;
params.handle = p_lbs-&amp;gt;button_char_handles.value_handle;
params.p_data = &amp;amp;button_state;
params.p_len = &amp;amp;len;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;this is only change i have done  -- changing length field&lt;/p&gt;
&lt;p&gt;&lt;img src="https://plus.google.com/u/0/photos/106342245485958322131/albums/5940116443983863137/5940116594382688338?pid=5940116594382688338&amp;amp;oid=106342245485958322131" alt="https://plus.google.com/u/0/photos/106342245485958322131/albums/5940116443983863137/5940116594382688338?pid=5940116594382688338&amp;amp;oid=106342245485958322131" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send ASCII data to MCP</title><link>https://devzone.nordicsemi.com/thread/3869?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2013 13:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76f0e907-a977-4f71-b7bc-3af52dc6ce0f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;With the newest version of MCP (v3.5.0), this is possible.
You will have to check the box &amp;quot;Display as UTF8&amp;quot;, which is located to the left of &amp;quot;Read Long&amp;quot; button.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>