<?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>Socket API &amp;quot;send&amp;quot; hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74655/socket-api-send-hangs-when-sending-multiple-tcp-messages</link><description>Hi, 
 I am developing an application that requires communication between two nrf52840-based devices. There is a scenario in my application where the devices needs to exchange multiple TCP packets, however after transmitting nearly 50 messages, send API</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jun 2021 14:16:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74655/socket-api-send-hangs-when-sending-multiple-tcp-messages" /><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/314762?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 14:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6208754c-8afc-4b86-95c4-cf3f6dd53d4f</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again, Omer!&lt;br /&gt;&lt;br /&gt;Apologies for the slow response from me. I hope your testing has gone well! To use the net management API you must include &lt;strong&gt;net_mgmt.h&lt;/strong&gt; and enable it in prj.conf by adding&amp;nbsp;&lt;strong&gt;CONFIG_NET_MGMT=y&lt;/strong&gt;.&amp;nbsp;To obtain &amp;quot;iface&amp;quot; the developers suggest that the easiest way will be to use &lt;strong&gt;net_if_get_ieee802154()&lt;/strong&gt; function (available in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/networking/net_if.html?highlight=net_if#c.net_if"&gt;net/net_if.h&lt;/a&gt;).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Hope this is clear and please reach out if you face any other issues.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/312955?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 17:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa74ce6d-cc71-471c-8d65-bec92b4a20ec</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thanks very much for your reply and help. I am using NCS v1.3.0, and now I have switched to NCS v1.5.0. In my initial tests, the application is no longer hanging after I produce an executable using NCS v1.5.0. I will do more rigorous testing, and if I found something I will get in touch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to use net_mgmt(NET_REQUEST_IEEE802154_SET_ACK, iface, NULL, 0) to enable L2 ACKs, however I got compile time errors. One of the error is &amp;quot;NET_REQUEST_IEEE802154_SET_ACK&amp;quot; not defined. Could you please tell me what header files I need to include so the &amp;quot;NET_REQUEST_IEEE802154_SET_ACK&amp;quot; can be found? Second, could you please also tell me how I can obtain &amp;quot;iface&amp;quot; on nRF52840 DK so that I can pass it to the net_mgmt function?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once again thank you very much for your help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/311870?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 14:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dec8160-a51f-4829-98cd-5e47da4b4757</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again, Omer!&lt;br /&gt;&lt;br /&gt;We have not managed to reproduce your issue with the applications you attached. Our tests were done using NCS v1.5.0. What version are you running?&lt;br /&gt;&lt;br /&gt;The developers also noted that setting the ACK should be done differently when using the nRF driver for 802.15.4.&amp;nbsp;To do this in runtime you need to&amp;nbsp;o configure the L2 so that it sets the ACK request bit in the outgoing frames:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;net_mgmt(NET_REQUEST_IEEE802154_SET_ACK, iface, NULL, 0);&lt;/pre&gt;&lt;br /&gt;For testing purposes this can also be done using the ieee802154 shell command:&amp;nbsp;&lt;strong&gt;ieee802154 ack set&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Could you also share the HW version of your nRF52840 DKs and the file &amp;quot;&amp;lt;project_root&amp;gt;/zephyr/include/generated/autoconf.h&amp;quot;?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/310756?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 12:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c04334f-11c6-473d-b837-d505ecbb23c3</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks a lot for the detailed response. I was using UDP for the echo client/server application, and yes reliability can be an issue. However, I did enable layer 2 ACKs by having the following in proj.conf file, &amp;quot;CONFIG_NET_L2_IEEE802154_ACK_REPLY=y&amp;quot;. Based on zephyr documentation I think this is the way to enable layer 2 ACKs, right? With all the modifications to the proj.conf and overlay files that you have suggested in your recent answer the problem still exists.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Second, the original application that I am developing is based on TCP. TCP is a reliable protocol, i.e., if the message gets lost then TCP will automatically retransmit the message. Hence, the hanging issue is not due to lost packets.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Third, I modified echo client/server application so that the applications use TCP instead of UDP for communication. Again, I also incorporated the changes you have suggested in the proj.conf and overlap files, however the hanging issue still exists (with this message I am attaching all the sources). For a few minutes the messages are exchanged, however afterwards the system hangs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I suspect there might be an issue new &amp;quot;net_pkt buffer_allocation&amp;quot;. May be buffers are not corrected deallocated, and it might be causing the issue while buffer allocation. My suggestion would be to run the attached pieces of codes, and your team may identify the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/my_5F00_echo_5F00_server.zip"&gt;devzone.nordicsemi.com/.../my_5F00_echo_5F00_server.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/my_5F00_echo_5F00_client.zip"&gt;devzone.nordicsemi.com/.../my_5F00_echo_5F00_client.zip&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/310508?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 14:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45cab85f-15d3-4fe4-9769-b15c607d30b2</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again, Omer!&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve gotten some feedback from the developers. Listing it here:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For many devices the chosen entropy node is Cryptocell by default. This can immensely slow down the applications. You can change this by adding nrf52840dk_nrf52840.overlay files containing the code below in your applications.&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	/*
	* In some default configurations within the nRF Connect SDK,
	* e.g. on nRF52840, the chosen zephyr,entropy node is &amp;amp;cryptocell.
	* This devicetree overlay ensures that default is overridden wherever it
	* is set, as this application uses the RNG node for entropy exclusively.
	*/
	chosen {
		zephyr,entropy = &amp;amp;rng;
	};
};&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;They suggest using the&amp;nbsp;applying the changes below to the&amp;nbsp;&lt;strong&gt;overlay-802154.conf&lt;/strong&gt;&amp;nbsp;of the applications&amp;nbsp;to ensure correct operation on the nRF devices.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/samples/net/sockets/echo_client/overlay-802154.conf b/samples/net/sockets/echo_client/overlay-802154.conf
index 2fc07cf685..5707ebbffe 100644
--- a/samples/net/sockets/echo_client/overlay-802154.conf
+++ b/samples/net/sockets/echo_client/overlay-802154.conf
@@ -1,7 +1,8 @@
 CONFIG_BT=n
 
 # Disable TCP and IPv4 (TCP disabled to avoid heavy traffic)
-CONFIG_NET_TCP=n
+CONFIG_NET_TCP=y
+CONFIG_NET_UDP=n
 CONFIG_NET_IPV4=n
 
 CONFIG_NET_CONFIG_NEED_IPV6=y
@@ -14,5 +15,6 @@ CONFIG_NET_CONFIG_PEER_IPV6_ADDR=&amp;quot;2001:db8::1&amp;quot;
 CONFIG_NET_L2_IEEE802154=y
 CONFIG_NET_L2_IEEE802154_SHELL=y
 CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF=y
+CONFIG_NET_L2_IEEE802154_FRAGMENT_REASS_CACHE_SIZE=8
 
 CONFIG_NET_CONFIG_IEEE802154_CHANNEL=26&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Lastly, they noticed (at least for you echo client/server test) that may lead to hangs/instability. Quoting:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;div&gt;Their client app, after sending the UDP packet enters the &lt;code&gt;recv()&lt;/code&gt; function in a blocking manner, w/o any timeout configured. This means that the client assumes that it&amp;#39;ll always receive a response from the server. This is not a correct approach in general, but it&amp;#39;s even worse in lossy networks like 802.15.4, where it&amp;#39;s not that uncommon that either request or reponse may be lost. Especially that Zephyr&amp;#39;s 802.15.4 MAC does not use ACK mechanism by default (have to be enabled explicitly in the config file).&lt;/div&gt;
&lt;p&gt;Please make sure to take the above into account!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If anything is unclear, please reach out!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/310226?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 15:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:441dba48-aae0-4fa8-b3e0-3a32da34261d</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks for the message. I did try to increase the buffers you have mentioned, however I still observe the same behavior.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; TCP/UDP: In my own application, I am using TCP and my application hangs. In the echo client server application, I am using UDP, and these applications also hang. Therefore, we cannot say that there is no issue with TCP/UDP implementation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/310149?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 12:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:648c31f8-1acb-4b7a-be2b-7e39bd178de6</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;The developers are looking into this now. In the meantime, could you try to increase the following buffers and see if that give you better results?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NET_PKT_RX_COUNT
CONFIG_NET_PKT_TX_COUNT
CONFIG_NET_BUF_RX_COUNT
CONFIG_NET_BUF_TX_COUNT&lt;/pre&gt;&lt;br /&gt;And for some clarification; I see that TCP isn&amp;#39;t enabled in the echo samples you tested last. Hence, we can assume that this isn&amp;#39;t related to the TCP/UDP operation and rather some lower level issue. Agree?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/309714?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 08:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bed86f4-7d12-4212-bd73-54a5fbe6a1df</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again, Omer!&lt;br /&gt;&lt;br /&gt;Apologies for the delayed answer and thanks for the additional information! It seems like this might be a bug on our side. I&amp;#39;ll report this internally and will get back to you soon.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308788?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 15:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ab65aa6-9968-4a7f-8b75-1273b21992f2</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;I have tested echo-client/server example by transmitting data packets in a loop. I can now confirm that the blocking behavior is reproduced in the echo-client/server example as well. I have attached the source files and proj.conf file. Please note that I am using nRF Connect SDK Version 1.3.0, however I have also tested on over nRF Connect Version 1.5.0.&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6472.prj.conf"&gt;devzone.nordicsemi.com/.../6472.prj.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/echo_2D00_client.c"&gt;devzone.nordicsemi.com/.../echo_2D00_client.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/echo_2D00_server.c"&gt;devzone.nordicsemi.com/.../echo_2D00_server.c&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308746?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 12:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0378faab-955f-40e8-ace5-282c9af3fec3</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Thanks for your reply. Unfortunately, I will not be able to share my application code here due to restrictions.&lt;/p&gt;
&lt;p&gt;The problem nearly starts to happen after the same number of messages, but the number is not exactly the same very time. Can I suggest you to please use net/sockets echo client server example and transmit messages in an loop, you may reproduce the same problem?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308725?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 11:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abc11a8e-be12-4a8b-afd3-568807ce310a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Thanks for the logs! I couldn&amp;#39;t manage to find any obvious problems in them. Could you share the applications here so that I can have a look?&lt;br /&gt;&lt;br /&gt;This could possible be an overflow issue. Does it happen after the same number of messages every time?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308118?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 09:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894043e3-ae2d-4391-9f4b-d3ac147afbba</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Client log.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1055.clientlog.txt"&gt;devzone.nordicsemi.com/.../1055.clientlog.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308117?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 09:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a92275f2-f113-485c-baef-8ac68e8ef017</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thanks for the reply. I did add the CONFIGs to my proj.conf files for the client and the server applications. My application works the following way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; - Once a user presses button 3 on nrf52840 dk the communication starts, however as we now have CONFIG_ASSERT=y in the proj.conf file, my application resets when I press the button on the client application please see attached screenshot. This does not happen for the server application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1620120733011v1.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Server.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If I remove CONFIG_ASSERT=y, the above does not happen. In order to reproduce the erroneous scenario, I removed the assert config, and execute the client server applications. Please see attached logs. You can see at the end of the logs server application requested data, client did send the data,&amp;nbsp; however server is stuck.&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/serverlog.txt"&gt;devzone.nordicsemi.com/.../serverlog.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/clientlog.txt"&gt;devzone.nordicsemi.com/.../clientlog.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308075?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 07:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb73346a-3498-41fe-ac60-05291a24ae91</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;Understood. Could you add the following to your prj.conf and share any eventual output with me?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_ASSERT=y
CONFIG_SERIAL=y

CONFIG_LOG=y
CONFIG_LOG_IMMEDIATE=y
CONFIG_LOG_BACKEND_SHOW_COLOR=n

CONFIG_NET_LOG=y

#CONFIG_NET_IF_LOG_LEVEL_DBG=y
#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_DBG=y

CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
CONFIG_NET_CONN_LOG_LEVEL_DBG=y
CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y

CONFIG_NET_TCP_LOG_LEVEL_DBG=y&lt;/pre&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/308003?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 17:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a315243c-652d-40c8-926a-b7ca53504794</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi Carl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Regarding logs - I am obtaining information by using printk and displaying the information on terminal. I am relatively new to Zephyr, therefore I do not know whether Zephyr stores some log files. If so, I would really appreciate if you could also tell me where those log files are stored.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Code Sample: I built my code using the socket client server example available at zephyr/samples/net/sockets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;I am using nRf Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Socket API "send" hangs when sending multiple TCP messages</title><link>https://devzone.nordicsemi.com/thread/307920?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f9dde1-281a-46b2-9c4f-4643df21bfad</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Omer!&lt;br /&gt;&lt;br /&gt;Are you able to provide any logs from the devices? I would also like information about which code your samples are based on, and whether you are using the nRF Connect SDK or the nRF5 SDK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>