<?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 string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82013/how-to-send-string-from-application-to-nrf_conncet_mobile-through-zephyr</link><description>Hi all, 
 I&amp;#39;m trying to send string data from zephyr software application to mobile nrf connect application using nrf52840 board, how can i send the data ? 
 
 ~Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Nov 2021 23:39:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82013/how-to-send-string-from-application-to-nrf_conncet_mobile-through-zephyr" /><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340810?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 23:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079acf64-43b4-4511-b4bd-6072057e7855</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;By this I suppose you have moved on from the BLE UART example mentioned earlier.&lt;br /&gt;The custom service from the tutorial functions much the same way as the NUS service though, and will transfer any byte array you provide it with. So long as you know what to expect on the other side (i.e that you format and cast the appropriate bytes you have received) you may use the custom service from the tutorial to transfer either integers or characters, or both.&lt;br /&gt;&lt;br /&gt;So, if you provide it with a c string / array of characters, and make sure to interpret / cast it as characters on your receiver side, you may use the custom service as it is to achieve this.&lt;br /&gt;Try this, as demonstrated in Step 6 of the tutorial, and see if you are able to send some characters to your connected device.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340588?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 15:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67cfd109-af6d-42c2-a2fd-b2c0603cd888</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Below link is the example code which is sending decimal data, but i want to send string data and receive the string data&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/ncs-ble-tutorial-part-1-custom-service-in-peripheral-role"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/ncs-ble-tutorial-part-1-custom-service-in-peripheral-role&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340559?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 13:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7816dae1-9fdf-49e9-85f8-ce9ca7c4fc3d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Perhaps we are misunderstanding each other here. By application log I am referring to the nRF Connect&amp;#39;s &amp;quot;See logs&amp;quot; option, where you should see a logging read &amp;quot;Received notification .. &amp;quot; whenever something is written to the serial port of the connected nRF52840 DK.&lt;br /&gt;&lt;br /&gt;If you are not seeing any such loggings in the log, what does you logger say? Please share the entire log using the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Code -&amp;gt; Text&amp;nbsp;&lt;/em&gt;option.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340514?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 10:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c972eef4-b416-47e4-92bd-81425e49c7ed</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have done all the steps of the link you have have send when sending data from my application it appears on the com but it does not give any notification log on the mobile&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340511?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 10:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e05fffe-a043-4d94-8ba6-1ddf439f79f9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please specify exactly &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;which step of the Testing section from the Example documentation&lt;/a&gt;&amp;nbsp;that does not work as expected, and elaborate how it diverges from what you would have expected.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340499?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 10:14:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03fa9b5e-2a82-424d-86d3-2a8f376497f3</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;i have enabled notify but iam getting nothing in application log&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340467?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 08:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df115f69-7dac-4ed7-aa84-23f441fa8ffd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;You will need to enable notifications / &amp;quot;set CCCD&amp;quot; for the TX characteristic. After that, you should see the data appear in the nRF Connect application&amp;#39;s log.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340448?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 05:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff6853e0-74a5-43ad-b826-caf9b057b767</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;iam running uart example where will the sent data appear in nrf_connect_app&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send string from application to nrf_conncet_mobile through zephyr</title><link>https://devzone.nordicsemi.com/thread/340338?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 12:52:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4781f9e-12af-4e0d-909b-f8b8714b1645</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;You could use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;the BLE Nordic UART example for this&lt;/a&gt;. The example relays any data received over UART through BLE to its connected peer, and visa versa.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>