<?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 transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89167/how-to-transfer-custom-data-through-ble-in-ncs</link><description>Hi, 
 I am developing a function based on NCS 1.9.1 that periodically sends customized messages to bluetooth-connected phones using the BLE of nrf52840. 
 I&amp;#39;ve checked DevZone and it seems there is only a guide based on the old SDK. 
 So, is there a NCS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jun 2022 14:33:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89167/how-to-transfer-custom-data-through-ble-in-ncs" /><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/374196?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 14:33:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50992369-db98-4b35-b30b-7ca8554b7837</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;You can select a reply as the answer, this will lock/close the case, or you can ask and I can do it for you :D&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/374094?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 09:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76981e51-269d-4f4b-868e-c98b2c50918c</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;OK, thank you.&lt;/p&gt;
&lt;p&gt;Another irrelevant question, how do I close a case on DevZone?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373998?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 15:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b304c1da-a31a-4727-b3c1-fb4e0cc0bb16</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="Joyop"]Besides,&amp;nbsp;&amp;nbsp;I also want to know whether NUS can be used together with MCUboot. If so, is&amp;nbsp;there&amp;nbsp;a sample I can refer to?[/quote]
&lt;p&gt;Yes, that should be possible, we don&amp;#39;t have a example whit that, but starting with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/services/nus.html"&gt;NUS sample&lt;/a&gt; and adding config for MCUBoot should do the job.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373834?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18f19243-8f5f-4912-845c-5d6b234c3366</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;Since&amp;nbsp;I have already uninstalled the app with the problem, I cannot &lt;span&gt;reproduce that problem t&lt;/span&gt;emporarily. I will capture a log when I encounter this problem next time.&lt;/p&gt;
&lt;p&gt;Besides,&amp;nbsp;&amp;nbsp;I also want to know whether NUS can be used together with MCUboot. If so, is&amp;nbsp;there&amp;nbsp;a sample I can refer to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373643?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 11:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10bbd3ef-d839-41bb-a625-ae14d97ba83b</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Difficult to say what is the issue wit out having a sniffer trace of what is going on. Many things could be the reason. If you are able to provide a sniffer trace then it will show what is happening and it is easier to determine where the problem lies.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le/download#infotabs"&gt;nRF Sniffer for Bluetooth LE - Downloads - nordicsemi.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373553?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 01:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b3b3f9-47c0-4100-80e1-fce2790a4ca1</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;What about the 2nd problem?(Failed to send data over BLE)&lt;/p&gt;
&lt;p&gt;I tried to reinstall the nRF Connect app on my phone and the 2nd problem seems to be solved. But&amp;nbsp;still don&amp;#39;t understand why it has anything to do with app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best wishes,&lt;/p&gt;
&lt;p&gt;Joyop&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373410?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 10:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fafabed-a9ee-40a3-b99f-42e614e34ac0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could it be that you are looking at the wrong terminal?&lt;br /&gt;&lt;br /&gt;Check the other COM ports and see if you see anything printed there, might be that you are looking at the RTT log, it wont show the serial data printed.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to transfer custom data through BLE in NCS?</title><link>https://devzone.nordicsemi.com/thread/373361?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 07:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2564023e-e0bf-414b-88bc-c57c61bb6cd1</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;I found a sample at .../samples/bluetooth/peripheral_uart, which seems to meet my requirements.&lt;/p&gt;
&lt;p&gt;But when I do the tests as shown below, I met&amp;nbsp;some problems at step 11~12.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1655796774313v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;1. I didn&amp;#39;t see the text displayed on my &amp;quot;COM listener&amp;quot;.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Failed to&amp;nbsp;send data from the nrf52840dk&amp;nbsp;to&amp;nbsp;my phone. (PS: sending data from my phone to &lt;span&gt;nrf52840dk is OK&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1655797220545v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What caused these problems? Did I miss something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>