<?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>reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76186/reciveng-data-on-uar-then-broadcasting-on-mesh</link><description>Good day i am new to Nordics platform and SDK also new to segger embedded studio 
 i am required to develop a solution that receives data on the UART of the NRF52840(client) which it needs to broadcast via Mesh to the server which it will then write to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 06:14:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76186/reciveng-data-on-uar-then-broadcasting-on-mesh" /><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/328702?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 06:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc49730-d927-4b40-b4ed-0dc9df9e021c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Zain&lt;/p&gt;
&lt;p&gt;We will do our best to help you get started with the nRF Connect SDK, but&amp;nbsp;if you have new questions not directly related to the original question I recommend opening a new ticket rather than continuing on this one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First off, devzone is not designed to handle long cases covering multiple topics, and second I don&amp;#39;t work a lot with mesh anymore so you will be better served by talking to one of the mesh experts in the group ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/328653?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 14:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b776ac-0e32-4ba7-ae7f-f1bf62330472</guid><dc:creator>ZainHedge</dc:creator><description>&lt;p&gt;Hi Torbjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was using the generic on off modelto try and get the data to be sent&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i am going to try and look into the NRF Connect SDK&amp;nbsp;&lt;/p&gt;
&lt;p&gt;please assist&amp;nbsp; me in finding the best way to develop the soloution&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Zain Imran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/328636?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 13:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89aed3ea-94a6-4228-aac6-15e1f4b4e512</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Zain&lt;/p&gt;
&lt;p&gt;Which SDK example are you using as a basis for your mesh code?&lt;/p&gt;
&lt;p&gt;I am trying to figure out which is the best example to get started with, but unfortunately it seems that most examples in the nRF5 mesh SDK uses standard models that don&amp;#39;t allow you to send custom strings.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the &lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF-Connect-SDK"&gt;nRF Connect SDK&lt;/a&gt; we have a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/chat/README.html"&gt;chat example&lt;/a&gt;, which allows you to send custom strings from one node to another. Would it be an option to switch over to the nRF Connect SDK if this example does more or less what you need?&lt;/p&gt;
&lt;p&gt;In the future we will move all software development over to the nRF Connect SDK platform, so eventually you will need to make this move regardless if you plan to take advantage of new mesh releases or new chipsets from Nordic.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My colleague Hung shared some information about how to integrate UART messages into a mesh example &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29108/how-to-add-mesh-into-nrf5-sdk-v14-1-v15-ble-application/115531#115531"&gt;here&lt;/a&gt;, but this is a 4 year old case, and I expect it will be quite outdated by now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/328468?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 20:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2192ffc-4546-4ffa-a7e1-60e5f25f1bb3</guid><dc:creator>ZainHedge</dc:creator><description>&lt;p&gt;Hi Torbjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for the reply&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i have finally been able to receive all my UART data and send my UART data&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;however i am struggling to send this data from client to server over mesh&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i am using&lt;/p&gt;
&lt;p&gt;&amp;nbsp;access_model_publish(0x1001,data_array_mes);&lt;/p&gt;
&lt;p&gt;to send the data i stored in data_array_mesh&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i am however unable to see how to receive the data on the server side&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please let me know what function to use or where to look&amp;nbsp;&lt;/p&gt;
&lt;p&gt;also am i sending the data using the correct function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;kind regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Zain&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/318820?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 14:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29b82a32-2881-496d-938e-da54b5d671e8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Zain&lt;/p&gt;
&lt;p&gt;Sorry for the slow response, I just came back from leave.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you still having problems with this?&lt;/p&gt;
&lt;p&gt;Which mesh model are you currently using, and do you already send some other data over the mesh (not from the UART)?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/316435?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 10:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bfed5dc-a519-4ddd-99fa-e85583060af5</guid><dc:creator>ZainHedge</dc:creator><description>&lt;p&gt;Hi Torbjon&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;so i have successfully been able to receive a string on the Uart and save it in a custom buffer that i have created&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;now I am struggling with broadcasting this over the Bluetooth mesh&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;what are steps i need to take to broadcast this string over mesh to the server&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;kind regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Zain&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/315158?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 13:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77b1506-94de-4c2e-9c19-2e9f3a2ccc42</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Zain&lt;/p&gt;
&lt;p&gt;Have you had a look at the SDK documentation &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=8_1"&gt;here&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;In it you will find documentation for the various examples and libraries available in the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To understand the app_uart events you can have a look at the documentation for the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_nus_eval.html?cp=8_1_4_2_2_25"&gt;ble_app_uart example&lt;/a&gt;, which mentions the various events used by the app_uart driver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/314888?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 11:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f123cf8-f458-4a3c-8fe0-68cf20d1edf2</guid><dc:creator>ZainHedge</dc:creator><description>&lt;p&gt;hi Torbjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using V17.0.2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i used the peripheral UART example initially i have only now looked at the app_uart_fifo.c library&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i have noticed a comon trend with system events that are being used to trigger functions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;is there documentation and examples available to help me understand how to set these events and process them&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;kind Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Zain&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/314745?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 13:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a13fd28-25de-4196-a90f-e9288f40c029</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Zain&lt;/p&gt;
&lt;p&gt;Could you let me know which SDK version you are using?&lt;/p&gt;
&lt;p&gt;Also, which example have you been looking at in the SDK?&lt;/p&gt;
&lt;p&gt;The ble_app_uart example in &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK#infotabs"&gt;nRF5 SDK&lt;/a&gt; v17.0.2 shows quite well how to send and receive bytes over the UART, by using the app_uart_fifo.c driver.&amp;nbsp; This example doesn&amp;#39;t implement Bluetooth mesh unfortunately, so you would need to implement something similar on top of one of the mesh examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reciveng data on UAR then broadcasting on Mesh</title><link>https://devzone.nordicsemi.com/thread/314560?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 19:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc641dc3-9174-4c61-9c5a-c3838d50a646</guid><dc:creator>ZainHedge</dc:creator><description>&lt;p&gt;Hi please assist&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>