<?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>uart 0 access in openthread cli</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81244/uart-0-access-in-openthread-cli</link><description>I have successfully formed a mesh and sending data in the format as below 
 &amp;quot; udp send ff03::1 1234 $01 &amp;quot; to udp &amp;#39;1234&amp;#39; socket 
 &amp;quot; udp send ff03::1 1234 $02 &amp;quot; to udp &amp;#39;1234&amp;#39; socket 
 &amp;quot; udp send ff03::1 1234 $03 &amp;quot; to udp &amp;#39;1234&amp;#39; socket 
 &amp;quot; udp send ff03</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Nov 2021 15:26:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81244/uart-0-access-in-openthread-cli" /><item><title>RE: uart 0 access in openthread cli</title><link>https://devzone.nordicsemi.com/thread/337325?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 15:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:987f0264-e558-406b-bf15-010891cc7764</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see you are multicasting the messages, so you will need to have a node listening to the same UDP port. It could be another CLI node: &lt;a title="https://github.com/openthread/openthread/blob/main/src/cli/readme_udp.md" href="https://github.com/openthread/openthread/blob/main/src/cli/README_UDP.md" rel="noopener noreferrer" target="_blank"&gt;https://github.com/openthread/openthread/blob/main/src/cli/README_UDP.md&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But if you want to toggle a GPIO, it would perhaps be easier to start from a normal application and then set up UDP: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__api-udp.html?cp=8_3_5_0_0_2_3_0"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__api-udp.html?cp=8_3_5_0_0_2_3_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Example of how this is done is in the CLI example: &lt;a href="https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp"&gt;https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ex.: &lt;a title="https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#l122" href="https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#L122" rel="noopener noreferrer" target="_blank"&gt;https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#L122&lt;/a&gt;&amp;nbsp;og&amp;nbsp;&lt;a title="https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#l87" href="https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#L87" rel="noopener noreferrer" target="_blank"&gt;https://github.com/openthread/openthread/blob/main/src/cli/cli_udp.cpp#L87&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>