<?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>Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94846/send-receive-message-from-to-thread-device-and-global-address-using-openthread-api</link><description>I am currently working on establishing thread network using nRF5340DK to send/receive data between thread device(client) and global network(server). I was successful in setting up the network and able to ping the devices. 
 But I really don&amp;#39;t know, how</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2023 12:45:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94846/send-receive-message-from-to-thread-device-and-global-address-using-openthread-api" /><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/405240?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 12:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:696875fb-29cd-442f-983b-70ec0cc33949</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Ok Charlie, I will create a new issue and start the discussion there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Vipin &amp;nbsp;Das&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/405229?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 12:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8b2998f-cc2e-43ce-9d8c-3fe32cab45be</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vipin,&lt;/p&gt;
&lt;p&gt;Thanks for your update. Unfortunately, I do not have much experience with&amp;nbsp;the adaptation of TCP running on top of OpenThread.&lt;/p&gt;
&lt;p&gt;I suggest you add an issue report to the original case and continue the discussion there.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/405199?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 10:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38cf85aa-f989-4722-81e4-1fb83c11c6ec</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I followed the &amp;nbsp;discussion suggested by you&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90352/error--22-in-mqtt_connect---nrf52840dk-with-azure-iot-hub-using-openthread-and-tcp/380422"&gt;(+) Error -22 in mqtt_connect() - nRF52840dk with Azure IoT Hub using OpenThread and TCP - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;and adapted the necessary changes on echo client sample. The good thing is that I was able to ping our &lt;strong&gt;http server&lt;/strong&gt; (&lt;a id="" href="https://mainnet.incubed.net"&gt;https://mainnet.incubed.net&lt;/a&gt;) from the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:37.808,624] &amp;lt;dbg&amp;gt; in3_ot: ping_send: Ping Server:
[00:00:37.808,624] &amp;lt;dbg&amp;gt; in3_ot: print_ipv6_address: Mesh Local EID Address: fd97.6739.093e.0002.0000.0000.a756.5ef8
[00:00:37.809,265] &amp;lt;dbg&amp;gt; in3_ot: ping_send: ping send response:0
[00:00:37.809,295] &amp;lt;dbg&amp;gt; main: main: Connected to thread network
[00:00:37.895,446] &amp;lt;dbg&amp;gt; in3_ot: ping_reply_cb: Ping reply
[00:00:37.895,477] &amp;lt;dbg&amp;gt; in3_ot: print_ipv6_address: Mesh Local EID Address: fd97.6739.093e.0002.0000.0000.a756.5ef8
[00:00:47.460,449] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000064 Current role: router&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But I am unable to send TCP packets to our HTTP server. Even I integrated the http client sample by thinking if the http header format is required to have proper communication. But nothing helps. Do you have any suggestions or thoughts on this. Logs collected as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:30.631,896] &amp;lt;inf&amp;gt; usb_cdc_acm: Device resumed
[00:00:30.748,016] &amp;lt;inf&amp;gt; usb_cdc_acm: Device suspended
[00:00:30.987,182] &amp;lt;inf&amp;gt; usb_cdc_acm: Device resumed
[00:00:31.048,187] &amp;lt;inf&amp;gt; usb_cdc_acm: Device configured
[00:00:45.052,551] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00004000 Current role: disabled
[00:00:45.053,192] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00020000 Current role: disabled
[00:00:45.053,283] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00040000 Current role: disabled
[00:00:45.053,375] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000100 Current role: disabled
[00:00:45.056,671] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00010000 Current role: disabled
[00:00:45.056,762] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00008000 Current role: disabled
[00:00:45.057,281] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x10000000 Current role: disabled
[00:00:45.057,556] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x10000000 Current role: disabled
[00:00:45.058,624] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00001000 Current role: disabled
[00:00:45.058,807] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.058,837] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.058,929] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000001 Current role: disabled
[00:00:45.059,020] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.059,112] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000008 Current role: disabled
[00:00:45.059,234] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x01000000 Current role: disabled
[00:00:45.059,356] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000004 Current role: detached
[00:00:45.059,509] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000001 Current role: detached
[00:00:45.059,600] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.059,692] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00001000 Current role: detached
[00:00:45.059,844] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.059,967] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00001000 Current role: detached
[00:00:45.060,119] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:45.060,211] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000010 Current role: detached
[00:00:45.060,943] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x10000000 Current role: detached
[00:00:47.353,790] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x200012a4 Current role: child
[00:00:47.354,064] &amp;lt;inf&amp;gt; net_l2_openthread: State changed! Flags: 0x00000001 Current role: child
[00:00:47.354,187] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:47.354,217] &amp;lt;wrn&amp;gt; net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[00:00:47.354,278] &amp;lt;dbg&amp;gt; in3_ot: ping_send: Ping Server:
[00:00:47.354,309] &amp;lt;dbg&amp;gt; in3_ot: print_ipv6_address: Mesh Local EID Address: fd97.6739.093e.0002.0000.0000.2e04.6974
[00:00:47.354,919] &amp;lt;dbg&amp;gt; in3_ot: ping_send: ping send response:0
[00:00:47.354,949] &amp;lt;dbg&amp;gt; main: main: Connected to thread network
[00:00:47.355,499] &amp;lt;dbg&amp;gt; net_tcp: tcp_conn_ref: (main): conn: 0x20033ad8, ref_count: 1
[00:00:47.355,529] &amp;lt;dbg&amp;gt; net_tcp: tcp_conn_alloc: (main): conn: 0x20033ad8
[00:00:47.355,743] &amp;lt;dbg&amp;gt; net_tcp: net_tcp_connect: (main): context: 0x20013594, local: ::, remote: fd97:6739:93e:2::2e04:6974
[00:00:47.355,895] &amp;lt;dbg&amp;gt; net_tcp: net_tcp_connect: (main): conn: 0x20033ad8 src: fd11:22::bd3f:a678:d35a:f0c1, dst: fd97:6739:93e:2::2e04:6974
[00:00:47.356,048] &amp;lt;dbg&amp;gt; net_tcp: tcp_in: (main):  [LISTEN Seq=1179184775 Ack=0]
[00:00:47.356,292] &amp;lt;dbg&amp;gt; net_tcp: tcp_out_ext: (main): SYN Seq=1179184775 Len=0
[00:00:47.356,445] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (main): SYN Seq=1179184775 Len=0 
[00:00:47.356,689] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (main): SYN Seq=1179184775 Len=0
[00:00:47.357,055] &amp;lt;dbg&amp;gt; net_tcp: tcp_in: (main): LISTEN-&amp;gt;SYN_SENT
[00:00:47.402,557] &amp;lt;dbg&amp;gt; in3_ot: ping_reply_cb: Ping reply
[00:00:47.402,587] &amp;lt;dbg&amp;gt; in3_ot: print_ipv6_address: Mesh Local EID Address: fd97.6739.093e.0002.0000.0000.2e04.6974
[00:00:47.564,208] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:47.564,422] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:47.771,697] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:47.771,942] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:47.979,217] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:47.979,431] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:48.186,706] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:48.186,950] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:48.394,226] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:48.394,439] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:48.601,715] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:48.601,959] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:48.809,234] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:48.809,448] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:49.016,723] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:49.016,967] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:49.224,243] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:49.224,456] &amp;lt;dbg&amp;gt; net_tcp: tcp_send: (tcp_work): SYN Seq=1179184775 Len=0
[00:00:49.431,732] &amp;lt;dbg&amp;gt; net_tcp: tcp_send_process_no_lock: (tcp_work): SYN Seq=1179184775 Len=0 in_retransmission
[00:00:49.431,793] &amp;lt;dbg&amp;gt; net_tcp: tcp_conn_unref_debug: (tcp_work): conn: 0x20033ad8, ref_count=1 (tcp_send_process():568)
[00:00:49.431,823] &amp;lt;dbg&amp;gt; net_tcp: tcp_conn_unref_debug: (tcp_work): conn: 0x20033ad8 is waiting on connect semaphore&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vipin Das&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/403582?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 12:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7adda1c-5b36-4ea7-b07a-ddfedf2e22e6</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vipin,&lt;/p&gt;
&lt;p&gt;ot cli has some commands related to DNS resolution:&amp;nbsp;&lt;a href="https://github.com/openthread/openthread/blob/main/src/cli/README.md#dns-config"&gt;openthread/README.md at main · openthread/openthread (github.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can learn about API usage from DNS command implementation.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/403567?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 12:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc6927d6-9f9a-4890-b8df-91c849752a85</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Is there anyway, I can use any api to find the ipv6 address of any remote server by host name in OT/Zephyr stack. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;To be more precise, in order to send a TCP packet to remote server(global ip address), I might need the ipv6 address of that server how do I&amp;nbsp;find and handle using my application? Any reference implementation would help me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Vipin Das&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/402967?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 13:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4efeac6c-75a1-4346-bbf4-3ae0130c1b99</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Hi Charlie,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It works if I ping&amp;nbsp;&lt;span&gt;&amp;nbsp;fd1f:8fda:e9e0:2:0:0&lt;/span&gt;&lt;span&gt;:808:808.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ ot ping fd1f:8fda:e9e0:2:0:0:808:808
16 bytes from fd1f:8fda:e9e0:2:0:0:808:808: icmp_seq=6 hlim=113 time=36ms
1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 36/36.0/36 ms.
Done
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vipin Das&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/402962?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 13:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7a969b5-9a67-4d2a-8e44-a97ea89a27c3</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vipin,&lt;/p&gt;
&lt;p&gt;It looks fd1f:8fda:e9e0:2:0:0::/96 should be used when converting your IPv4 address to IPv6.&lt;/p&gt;
&lt;p&gt;What if you ping &lt;span&gt;&amp;nbsp;fd1f:8fda:e9e0:2:0:0&lt;/span&gt;:808:808 directly?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/402917?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 09:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4121be73-1100-495a-b72e-e0dcb7eed8f3</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Hi Charlie,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Happy New Year!!!&lt;/p&gt;
&lt;p&gt;Thank you for your answers and sorry for late reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I setup the OTBR as per the page and formed the network. And followed the steps as mentioned by you. But I still have some issues. Below is my output from the OT CLI end device terminal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ ot networkkey
d6af7ff1a2fcf42743fd7a6989911d67
Done
uart:~$ 
uart:~$ ot ifconfig up
Done
uart:~$ 
uart:~$ ot thread start
Done
uart:~$ 
uart:~$ ot state
leader
Done
uart:~$ 
uart:~$ ot state child
Done
uart:~$ 
uart:~$ 
uart:~$ ot state
leader
Done
uart:~$ 
uart:~$ ot state router
Done
uart:~$ 
uart:~$ ot state router
Done
uart:~$ 
uart:~$ 
uart:~$ 
uart:~$ ot state
leader
Done
uart:~$ 
uart:~$ 
uart:~$ ot netdata show
Prefixes:
fd11:22:0:0::/64 paros med 2400
Routes:
fd1f:8fda:e9e0:2:0:0::/96 sn low 2400
fd70:77a5:30f0:1437::/64 s med 2400
Services:
44970 5d fddead00beef00000cd8cbff1e5c562fd11f s 2400
44970 01 76000500000e10 s 2400
Done
uart:~$ 
uart:~$ ot ping 8.8.8.8
Error 6: Parse
uart:~$ 
uart:~$ ot ping 2001:4860:4860:0:0:0:0:8888
1 packets transmitted, 0 packets received. Packet loss = 100.0%.
Done
uart:~$ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Output of OTBR:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pi@pi:~ $ sudo ot-ctl state
router
Done
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ sudo ot-ctl ipaddr
fdde:ad00:beef:0:0:ff:fe00:fc11
fdde:ad00:beef:0:0:ff:fe00:fc38
fd11:22:0:0:5734:5484:47b:792d
fdde:ad00:beef:0:0:ff:fe00:fc10
fdde:ad00:beef:0:0:ff:fe00:2400
fdde:ad00:beef:0:cd8:cbff:1e5c:562f
fe80:0:0:0:1c0e:8cf:728e:e245
Done
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ sudo ot-ctl networkkey
d6af7ff1a2fcf42743fd7a6989911d67
Done
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ sudo ot-ctl state
router
Done
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ 
pi@pi:~ $ sudo ot-ctl netdata show
Prefixes:
fd11:22:0:0::/64 paros med 2400
Routes:
fd1f:8fda:e9e0:2:0:0::/96 sn low 2400
fd70:77a5:30f0:1437::/64 s med 2400
Services:
44970 5d fddead00beef00000cd8cbff1e5c562fd11f s 2400
44970 01 76000500000e10 s 2400
Done
pi@pi:~ $ 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please tell me what could be possibly wrong in my case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Vipin Das&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/400992?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 08:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:737c7336-3381-4918-9e11-984babb3cc82</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vipin,&lt;/p&gt;
[quote user="vipin das"]Is there any way I can use TCP+SSL on Thread end device(nRF5340DK) instead of UDP.&amp;nbsp;[/quote]
&lt;p&gt;Yes, you can find solutions mentioned in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90352/error--22-in-mqtt_connect---nrf52840dk-with-azure-iot-hub-using-openthread-and-tcp/380422"&gt;(+) Error -22 in mqtt_connect() - nRF52840dk with Azure IoT Hub using OpenThread and TCP - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
[quote user="vipin das"]I am not quite successful in pinging a global address from my thread end device. [/quote]
&lt;p&gt;Looks like your NAT64 prefix is already set to&amp;nbsp;fd83:b72e:262d:2:0:0::/96. Which is the feedback when you run the ping command?&lt;/p&gt;
&lt;p&gt;I recently followed&amp;nbsp;&lt;a href="https://openthread.io/codelabs/openthread-border-router#1"&gt;Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery (openthread.io)&lt;/a&gt;&amp;nbsp;to set up an OTBR and formed a Thread network through Web GUI with default setting. Run the following commands on OpenThread CLI device, the ping command to&amp;nbsp;8.8.8.8 just works.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ot networkkey 00112233445566778899aabbccddeeff 
ot networkkey 00112233445566778899aabbccddeeff
Done
ot ifconfig up
ot ifconfig up
Done
ot thread start
ot thread start
ot state
ot state
detached
Done
ot state
ot state
child
Done
ot state
ot state
child
Done
ot state router
ot state router
Done
ot state
ot state
router
Done
ot netdata show
ot netdata show
Prefixes:
fd8e:964d:9d85:1::/64 paos low 3000
Routes:
fd11:1111:1122:2222::/64 s med 3000
fd8e:964d:9d85:2:0:0::/96 sn low 3000
Services:
44970 01 32000500000e10 s 3000
44970 5d fd35e07c0372271ee4a005368966fa59d11f s 3000
Done
ot ping 8.8.8.8
ot ping 8.8.8.8
Pinging synthesized IPv6 address: fd8e:964d:9d85:2:0:0:808:808
16 bytes from fd8e:964d:9d85:2:0:0:808:808: icmp_seq=1 hlim=53 time=38msua

1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 38/38.0/38 ms.
Done&lt;/pre&gt;&lt;/p&gt;
[quote user="vipin das"]I am bit confused with ifconfig up / thread start commands done in BR side as well as End device side. Could you please tell me what I should do to make RPi+Dongle side as Router only and nRF5340 side as Child. Few times I noticed in my configuration that BR side as well as End device side as leader.&amp;nbsp;[/quote]
&lt;p&gt;You&amp;nbsp;need to form the network on OTBR first, then turn on and configure the child device to join the formed network, it will become child first then turn to router, you can also set its role with &amp;quot;ot state router&amp;quot;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/400900?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 15:12:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62d40b5d-f2fd-4a24-97ca-c093b7ea2614</guid><dc:creator>vipin das</dc:creator><description>&lt;p&gt;Hi Charlie,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I will take a look at the samples you mentioned.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have few more questions.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is there any way I can use TCP+SSL on Thread end device(nRF5340DK) instead of UDP.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;I am not quite successful in pinging a global address from my thread end device. I followed many Q&amp;amp;A discussions and also some other discussions as well. Could you please give some insights on that. I did set the route/prefix for global addressing. Current route output is&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pi@pi:~ $ sudo ip -6 route
::1 dev lo proto kernel metric 256 pref medium
fd11:22::/64 dev wpan0 proto kernel metric 256 pref medium
fd70:77a5:30f0:1437::/64 dev eth0 proto kernel metric 256 expires 1603sec pref medium
fdde:ad00:beef::/64 dev wpan0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
fe80::/64 dev wpan0 proto kernel metric 256 pref medium
pi@pi:~ $ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pi@pi:~ $ sudo ot-ctl netdata show
Prefixes:
fd11:22:0:0::/64 paros med 6000
Routes:
fd83:b72e:262d:2:0:0::/96 sn low 6000
fd70:77a5:30f0:1437::/64 s med 6000
Services:
44970 5d fddead00beef0000869fa0cfca6b6ce3d11f s 6000
44970 01 3a000500000e10 s 6000
Done
pi@pi:~ $ &lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I am bit confused with ifconfig up / thread start commands done in BR side as well as End device side. Could you please tell me what I should do to make RPi+Dongle side as Router only and nRF5340 side as Child. Few times I noticed in my configuration that BR side as well as End device side as leader.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Looking forward to your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Vipin Das&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send/receive message from/to thread Device and  global address using OpenThread API</title><link>https://devzone.nordicsemi.com/thread/400633?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 13:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac6da09-434f-4222-9ac4-d6556c437e5a</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Vipin,&lt;/p&gt;
&lt;p&gt;CoAP/UDP is normally used on top of the Thread network by your application.&lt;/p&gt;
&lt;p&gt;You can refer to the sample mentioned here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94519/openthread-coap-client-to-a-public-server-over-internet"&gt;(+) OpenThread COAP Client to a public server over Internet - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>