<?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>Send text by BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46992/send-text-by-ble</link><description>I&amp;#39;m sending data from my phone to the device using nRF Connect app for android as follows 
 uint8_t SoporteBLE::enviaTiempoEspera() { uint8_t tiempoEspera; if(Bluefruit.connected()){ if (TiempoEspera.read8()) { tiempoEspera = (uint8_t) TiempoEspera.read8</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2019 11:43:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46992/send-text-by-ble" /><item><title>RE: Send text by BLE</title><link>https://devzone.nordicsemi.com/thread/185941?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 11:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2bf86f-b3a8-46a8-970e-9d193ae3eee8</guid><dc:creator>awneil</dc:creator><description>[quote userid="79078" url="~/f/nordic-q-a/46992/send-text-by-ble/185730"]&amp;nbsp;I&amp;#39;m using&amp;nbsp;BLECharacteristic library[/quote]
&lt;p&gt;I have no idea what that is. It&amp;#39;s not a Nordic thing, is it?&lt;/p&gt;
&lt;p&gt;Have you contacted the author for support?&lt;/p&gt;
&lt;p&gt;As noted above, Nordic&amp;#39;s UART Service (NUS) can do what you require.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send text by BLE</title><link>https://devzone.nordicsemi.com/thread/185730?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 12:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9acfb34-533f-4f45-a568-bacf750df877</guid><dc:creator>IngF</dc:creator><description>&lt;p&gt;This code works with data of numerical type (values between 0 and 255)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint8_t SoporteBLE::enviaTiempoEspera()
{
    uint8_t tiempoEspera;
    if(Bluefruit.connected()){
        if (TiempoEspera.read8()) {
            tiempoEspera = (uint8_t) TiempoEspera.read8();
            delay(250);
        }else{
            tiempoEspera = 0;
        }
    }
    return tiempoEspera;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But i need to send data of text type, String or char*,&amp;nbsp;I&amp;#39;m using&amp;nbsp;BLECharacteristic library, I tried with read64 function, but whe I try to send text, the module doesn&amp;#39;t receive any data, if during configuratio of charcteristics I modifiy this value to a higher value, the module receives&amp;nbsp;unreadable ASCII characters&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;Sentido.setFixedLen(1); &lt;/pre&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send text by BLE</title><link>https://devzone.nordicsemi.com/thread/185621?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 07:31:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46a02cd1-0979-41aa-95dd-b230a83dea13</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Please post the code legibly, then I&amp;#39;ll look at it.&lt;/p&gt;
&lt;p&gt;Also, please give more detail on, &amp;quot;&lt;span&gt;don&amp;acute;t work&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;What were you &lt;em&gt;expecting&lt;/em&gt; to happen?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;What is &lt;em&gt;actually&lt;/em&gt; happening?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;What testing / debugging / investigation have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt;&lt;/em&gt; done to find the problem?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#code"&gt;http://www.catb.org/esr/faqs/smart-questions.html#code&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you looked at the Nordic UART Service (NUS):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send text by BLE</title><link>https://devzone.nordicsemi.com/thread/185580?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 21:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3551a8d6-94e2-4737-ad76-aaff9b825415</guid><dc:creator>IngF</dc:creator><description>&lt;p&gt;Thanks for the suggest.&lt;/p&gt;
&lt;p&gt;Can you help me with the problem sending text by BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send text by BLE</title><link>https://devzone.nordicsemi.com/thread/185576?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 21:17:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e184f79-35a6-4b10-8d1a-b9c441a14ba6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4336._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>