<?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>nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44790/nrf-mesh-and-uart</link><description>hi..... everyone 
 I want to send the data from one node to particular node and that same data should want to print in termite using uart . so i checked the ble_uart coexist example .so how to do this task . in this case which example i should use to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Aug 2022 04:56:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44790/nrf-mesh-and-uart" /><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/379794?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 04:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d74785c5-fda7-4758-8dce-b2ed5068f567</guid><dc:creator>Venkat RAM</dc:creator><description>&lt;p&gt;okay Mttrinh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/379518?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 11:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ed016b-f6cd-4431-b09e-2aa868642cdd</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is a very old case, I suggest you create a new ticket and include more information regarding the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/377280?ContentTypeID=1</link><pubDate>Sat, 16 Jul 2022 19:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9598e8cc-f8f5-4d18-b45e-7df83a25da16</guid><dc:creator>Venkat RAM</dc:creator><description>&lt;p&gt;Hai Mttrinh&lt;br /&gt;I am following the instruction&amp;nbsp; as per you said above&lt;br /&gt;But firstly I am trying to send a custom data to uart like&lt;br /&gt;&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; initialize();&lt;br /&gt; start();&lt;br /&gt; uart_init();&lt;br /&gt; uint32_t err_code;&lt;/p&gt;
&lt;p&gt;do&lt;br /&gt; {&lt;br /&gt; err_code = app_uart_put(&amp;#39;p&amp;#39;);&lt;br /&gt; if ((err_code != NRF_SUCCESS) &amp;amp;&amp;amp; (err_code != NRF_ERROR_BUSY))&lt;br /&gt; {&lt;br /&gt; __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;----- UART initiated successfully -----\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;//NRF_LOG_ERROR(&amp;quot;Failed receiving NUS message. Error 0x%x. &amp;quot;, err_code);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; }&lt;br /&gt; } while (err_code == NRF_ERROR_BUSY);&lt;/p&gt;
&lt;p&gt;in nrf_mesh light_switch example&lt;/p&gt;
&lt;p&gt;But i cant able to see any data in my terminal ( I am using tera term with 115200 baud rate)&lt;br /&gt;&lt;br /&gt;kindly help me&lt;br /&gt;&lt;br /&gt;Best regards&lt;/p&gt;
&lt;p&gt;venkatraaman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/179993?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 12:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:143490cd-c62e-41ad-b5ad-6bbcb26cc9dc</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Thanks mttrinh , for your reply . by mistake its copied twice . Now , i have sent this character from client to server , and how do i check whether it is received to server side or not?&lt;/p&gt;
&lt;p&gt;here&amp;nbsp; , below pic client&amp;nbsp; side debug terminal results after i am&amp;nbsp; pressing button 1&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6746.Screenshot--32019_2D00_03_2D00_27-16.33.47.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;here , below pic&amp;nbsp; server side&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8816.Screenshot-2019_2D00_03_2D00_26-16.09.09.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/179974?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 11:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8f094d2-7920-4e93-81ed-67c81eaaa730</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Yes, it seems correct. Why have you :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;set_params.tid = tid++;
    transition_params.delay_ms = APP_CONFIG_ONOFF_DELAY_MS;
    transition_params.transition_time_ms = APP_CONFIG_ONOFF_TRANSITION_TIME_MS;
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Sending msg: ONOFF SET %d\n&amp;quot;, set_params.on_off);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;twice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/178943?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 13:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba2b0cd2-e5d8-4a52-b928-2fe0df0c2d5c</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;&amp;nbsp;here i have set my message , is it correct pls check here&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
static void button_event_handler(uint32_t button_number)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Button %u pressed\n&amp;quot;, button_number);

    uint32_t status = NRF_SUCCESS;
    generic_onoff_set_params_t set_params;
    model_transition_t transition_params;
    static uint8_t tid = 0;

    /* Button 1: On, Button 2: Off, Client[0]
     * Button 2: On, Button 3: Off, Client[1]
     */
 char arr[5] = &amp;quot;code&amp;quot;;
 char ara[5] = &amp;quot;set&amp;quot;;
 
    switch(button_number)
    {
        case 0:
        case 2:
            set_params.on_off = arr;
            break;

        case 1:
        case 3:
            set_params.on_off = Ara;
            break;
    }

    set_params.tid = tid++;
    transition_params.delay_ms = APP_CONFIG_ONOFF_DELAY_MS;
    transition_params.transition_time_ms = APP_CONFIG_ONOFF_TRANSITION_TIME_MS;
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Sending msg: ONOFF SET %d\n&amp;quot;, set_params.on_off);


    set_params.tid = tid++;
    transition_params.delay_ms = APP_CONFIG_ONOFF_DELAY_MS;
    transition_params.transition_time_ms = APP_CONFIG_ONOFF_TRANSITION_TIME_MS;
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Sending msg: ONOFF SET %d\n&amp;quot;, set_params.on_off);
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/178871?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 09:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84bf06a2-65d4-4487-bf09-03be5c1c1c6e</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;access_model_publish(...) is used to send data from client to server on the access layer. Have a look&amp;nbsp;at this function on the application layer&amp;nbsp;generic_onoff_client_set(...).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/177667?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 16:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a236ee4-be18-482e-9585-49288058fc59</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;Thanks . Which function is used to pass the data from client to server .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/177607?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db69b38-9dd1-4424-acc4-56746b5bc166</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;The message that is sent in the example, is data and not a string. In the light switch example, a message is sent from client to server. You have to add UART to the server node if you want to print out the message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/176850?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 05:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01f5cd76-30a8-464d-b4ff-65f65143672f</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;&lt;span&gt;As per you said client can send a message to server then server print out the message via uart . In this case what you are Mean to message. I have understood message mean like hi hello strings right ? Exactly same thing i wanT to do&amp;nbsp;... how to Send the message from one node to another and print via uart what function i have to use To pass the string message&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/176767?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 14:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4e726e-a832-4690-9d99-b98ccbbde6c9</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;I&lt;span&gt;&amp;nbsp;have entered the message in message paaramater&amp;quot;? The UART Coexistence example simulates a button press over UART, which will turn on/off a LED on a Light switch server. You should start with the Light switch example, the client can send a message to the server then server prints out the message via UART.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/176540?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2019 05:36:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9f2c42-a75e-4571-befc-6778db888c90</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;can i use mesh coexist example ? i have entered the message in message paaramater but nothing i&amp;nbsp; get&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/176539?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2019 05:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83aa637a-c321-44b7-923e-6001732dccbd</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;thanks Mttrinh . I will come back to you if i have any doubts&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh and uart</title><link>https://devzone.nordicsemi.com/thread/176461?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 14:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a3c900f-d885-4f33-b47c-3f8e7d8f94d6</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should be able to print the data by adding UART to the Mesh example. I suggest you have a look at this, &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_doc_getting_started_how_to_nordicSDK" rel="noopener noreferrer" target="_blank"&gt;I&lt;span&gt;ntegrating Mesh into nRF5 SDK examples&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>