<?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>implement uart into ble beacon example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94805/implement-uart-into-ble-beacon-example</link><description>hi, devzone 
 I ask you a question to see if my idea is possible. 
 there are two thing What I want - like title, implement uart into ble beacon example. 
 and the other thing is to send uart data as soon as the beacon is powered up in 10ms 
 
 
 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2022 15:06:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94805/implement-uart-into-ble-beacon-example" /><item><title>RE: implement uart into ble beacon example</title><link>https://devzone.nordicsemi.com/thread/400673?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 15:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5619001-156e-4f9d-8e74-bd44aa9e4c55</guid><dc:creator>Kenneth</dc:creator><description>[quote user="pail"]so.. you&amp;#39;re saying start with example&amp;quot;ble_app_uart&amp;quot; and copy and paste the main code of example&amp;quot;ble_app_beacon&amp;quot;, aren&amp;#39;tyou?[/quote]
&lt;p&gt;For instance yes, you can then compare with the original main.c from ble_app_uart on how to setup UART. By using ble_app_uart as starting project then all the include files and sdk_config is setup correct.&lt;/p&gt;
[quote user="pail"]So does it mean that I set up an external pull-up resistor(typ. 13k ohm)?[/quote]
&lt;p&gt;For instance yes, this is just to ensure that the RX pin is not floating, because this will cause UART framing errors. The pull-up can be 100kohm or bigger (it can be 13kohm also, but no need to be this low).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implement uart into ble beacon example</title><link>https://devzone.nordicsemi.com/thread/400492?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 01:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f036a7-c286-4bc0-be85-444ea56168ed</guid><dc:creator>pail</dc:creator><description>&lt;p&gt;hi Kenneth&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for your reply.&lt;/p&gt;
&lt;p&gt;so.. you&amp;#39;re saying start with example&amp;quot;ble_app_uart&amp;quot; and copy and paste the main code of example&amp;quot;ble_app_beacon&amp;quot;, aren&amp;#39;tyou?&lt;/p&gt;
&lt;p&gt;however, I&amp;#39;m not sure your Tip.&lt;/p&gt;
&lt;p&gt;You said&amp;nbsp;&lt;span&gt;Tip: Make sure that the RXD pin is pulled high (for instance with pull-up, and not floating).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So does it mean that I set up an external pull-up resistor(typ. 13k ohm)?&lt;/p&gt;
&lt;p&gt;or you want me set up a pull-up internally?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: implement uart into ble beacon example</title><link>https://devzone.nordicsemi.com/thread/400390?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 13:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5853e8f0-5ec3-4157-8263-b153cd612089</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My suggestion is to start with the ble example with uart support:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should be possible to modify the advertisment to contain beacon data, and then you already have uart working.&lt;/p&gt;
&lt;p&gt;Tip: Make sure that the RXD pin is pulled high (for instance with pull-up, and not floating).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>