<?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>what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36228/what-should-be-used-to-send-data-on-bluetooth</link><description>hello, 
 I am newer to nrf. I am using nrf52832 development kit and using soft device 5.0. 
 I have confusion with two function with nrf_log_info and printf? 
 which should be used to send data on Bluetooth?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 10 Nov 2018 09:03:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36228/what-should-be-used-to-send-data-on-bluetooth" /><item><title>RE: what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/156750?ContentTypeID=1</link><pubDate>Sat, 10 Nov 2018 09:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4183a6f0-3683-485e-813b-87f533296974</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/6318._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="72270" url="~/f/nordic-q-a/36228/what-should-be-used-to-send-data-on-bluetooth"]I am newer to nrf[/quote]
&lt;p&gt;Do you have any experience with &amp;#39;C&amp;#39; programming?&lt;/p&gt;
&lt;p&gt;It is usually easier to learn the &lt;em&gt;language&lt;/em&gt; on a PC (or similar) - away from the added complications of embedded microcontrollers.&lt;/p&gt;
&lt;p&gt;Here are some &amp;#39;C&amp;#39; learning &amp;amp; reference materials:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.antronics.co.uk/2011/08/08/so-youre-thinking-of-starting-with-c/"&gt;http://blog.antronics.co.uk/2011/08/08/so-youre-thinking-of-starting-with-c/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any experience with any other microcontroller(s)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="74848" url="~/f/nordic-q-a/36228/what-should-be-used-to-send-data-on-bluetooth/156745"]&amp;nbsp;how to write the data in this[/quote]
&lt;p&gt;Have you looked at the &lt;strong&gt;documentation&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nordic UART Service overall:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/group__ble__nus.html?cp=4_0_0_6_3_23"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/group__ble__nus.html?cp=4_0_0_6_3_23&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The &lt;strong&gt;ble_nus_data_send()&lt;/strong&gt; function in particular:&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.2.0/group__ble__nus.html#ga4189d97e88b018e48847c3ea26c4b05d"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/group__ble__nus.html#ga4189d97e88b018e48847c3ea26c4b05d&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: what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/156745?ContentTypeID=1</link><pubDate>Sat, 10 Nov 2018 06:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b4cf1dc-d975-4185-8ac5-f357dd39ebcf</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;how to pass the parameters in this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;see the below pic&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Capture-4.JPG" /&gt;&amp;nbsp;how to write the data in this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/139507?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 06:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bb4a174-eefe-4d3b-898d-4d577e5c0daf</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Vohra,&lt;/p&gt;
&lt;p&gt;To send data over BLE you can use &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_services.html&amp;amp;cp=4_0_0_3_3" target="_blank" rel="noopener noreferrer"&gt;BLE services&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One example is to use the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__ble__nus.html" target="_blank" rel="noopener noreferrer"&gt;Nordic UART service&lt;/a&gt;, which is used in the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_1_2_24" target="_blank" rel="noopener noreferrer"&gt;ble_app_uart&lt;/a&gt;&amp;quot; example.&lt;/p&gt;
&lt;p&gt;It could be a good idea to use that as reference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please take a look at the &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy" target="_blank" rel="noopener noreferrer"&gt;BLE tutorials&lt;/a&gt;, especially the theory behind it to get an understanding how communication over BLE works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/139460?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 16:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee1979c2-c388-4a5e-8e0b-e9c67141ff06</guid><dc:creator>vohra alihussain</dc:creator><description>&lt;p&gt;then what should use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what should be used to send data on Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/139457?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 16:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1658e73-549e-4bbe-9c9f-a90c485a4a30</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Neither function should be used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>