<?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>ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61031/ble_app_uart-tx-characteristic-doesn-t-work</link><description>Hi, 
 I flashed and run &amp;quot;ble_app_uart&amp;quot; example on nrf52833 DK. With an UART tool, I can recieve data from smartphone (rx characteristic) but I can&amp;#180;t send data from UART tool to smartphone. I pushed the &amp;quot;download arrow&amp;quot; in tx characteristic on smartphone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 May 2020 10:05:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61031/ble_app_uart-tx-characteristic-doesn-t-work" /><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/249151?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 10:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f1a945-e5f4-4206-86d7-b1f724283d67</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I assume the guide will be updated for the nRF52833 for the next nRF5 SDK release, though it will be similar to using PCA10056 when developing for the nRF52811:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf52811_user_guide.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf52811_user_guide.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248684?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 10:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f095b1a-8767-4818-8937-298f2ae9f326</guid><dc:creator>simon1516</dc:creator><description>&lt;p&gt;There are informations how to make examples of PCA10056 (nrf52840) working on nrf52833.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56083/nordic-sdk-examples-making-them-work-for-nrf52833-development-kit"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56083/nordic-sdk-examples-making-them-work-for-nrf52833-development-kit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you explain, how to:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) Change the board config to PCA10100.&lt;/p&gt;
&lt;p&gt;2) Change the board definition in preprocessor definitions.&lt;/p&gt;
&lt;p&gt;3) Adjust FLASH and RAM sizes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In which files can I change these setting in Segger Embedded Studio?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248561?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 21:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d8145d-c442-49ed-891e-09dfcbf249f0</guid><dc:creator>simon1516</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It works now :-) I can now send data from UART to nrf Connect App. My fault was the variable &amp;quot;m_ble_nus_max_data_len&amp;quot;, which includes a buffer with more than 100 characters...I just tried to send a few characters.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is our aim, to sent data from a sensor to nrf connect app. So I have to store the sensor value in the buffer which is transmitted via BLE. So we don&amp;acute;t need the hole UART code. Can you tell me, which variable should including the sensor data instead of uart data?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another question: There is a simple example for BLE advertising, services and characteristics (&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial&lt;/a&gt;). This example unfortunaly is only for nrf52840 and S132. This example is very simple and includes not much code. Can I use this? What changes I have to do, because I use nrf52833 and S113/S140? Is there much to do?&lt;br /&gt;&lt;br /&gt;Our application is very simple, but there are not much examples for nrf52833 SoC :-/&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248340?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 07:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f40ec5f-3399-4517-bd7b-4fbe1db4cb46</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You have to enable notifications yes. However data is not sent from the peripheral until buffer is full (20bytes) or there is a new line character. It should be fairly easy to type &amp;gt;20 characters, can you try it?&lt;/p&gt;
&lt;p&gt;Edit: Looking at the code I can see that the buffer size if dynamically updated (m_ble_nus_max_data_len)&amp;nbsp;in&amp;nbsp;gatt_evt_handler(). So it may be more than 20bytes. If you want you can change implementation in&amp;nbsp;gatt_evt_handler() so that you can set it fixed to for instance 20bytes or less for testing.&lt;/p&gt;
&lt;p&gt;In any case you can check in&amp;nbsp;uart_event_handle() that data will be sent either when&amp;nbsp;received UART data equal m_ble_nus_max_data_len or that a new line character have been received (typically by pressing Enter on keyboard).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248296?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 18:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a3dbaf-15b7-4c39-9d5d-53f163ac3256</guid><dc:creator>simon1516</dc:creator><description>&lt;p&gt;No. I just typed less then 20 characters. I tried for example &amp;quot;48 65 6C 6C 6F&amp;quot;, as described in the example guide step 9. Do I have to enable or diable notifications and indications in nRF connect app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248245?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 14:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0af619a-2113-489a-9aa0-2c79e8b4383c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;See documentation:&amp;nbsp;&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect/tree/master/documentation"&gt;https://github.com/NordicSemiconductor/Android-nRF-Connect/tree/master/documentation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;May I ask if you have tried typing &amp;gt;20 characters?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248192?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 13:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:341393bb-4c26-44dc-a508-328eacafa98d</guid><dc:creator>simon1516</dc:creator><description>&lt;p&gt;Yes, I tried that. I performed the steps exactly as described in your linked guide. Step 8 works well, but Step 9 doesn&amp;acute;t work. If I sent a&amp;nbsp;text, for&amp;nbsp;example &amp;quot;Hello&amp;quot; from COM listener, I didn&amp;acute;t recieve anything in nrf connect app.&amp;nbsp;Do I just have to push&amp;nbsp;the &amp;quot;download&amp;quot; arrow in the app? Or how does it works?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248140?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 10:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af4b93da-4989-441a-afca-28b5c4e726a2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_nus_eval.html#project_uart_nus_eval_test"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_nus_eval.html#project_uart_nus_eval_test&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Typically you need to type up to 20 characters or press Enter to send the characters. Have you&amp;nbsp;tried that?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart TX Characteristic doesn´t work</title><link>https://devzone.nordicsemi.com/thread/248103?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 09:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6767f8c9-ca9c-4874-8d8d-7b9a0f782811</guid><dc:creator>simon1516</dc:creator><description>&lt;p&gt;For information: I use &amp;quot;nrf connect&amp;quot; on the smartphone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>