Re: Need help in establishing client-server socket communication between my Ubuntu PC and PCA10056 board, on which Zephyr is running. #nrf52840 #samples


Jukka Rissanen
 

Hi,

The text logs do not reveal anything useful (other than the zephyr
version used and that you are using ethernet + dhcp).

From the wireshark image, we can see that ubuntu does not receive the
SYN,ACK that zephyr sends as ubuntu tries to send SYN multiple times.
Perhaps there is a firewall that blocks the connection?

Cheers,
Jukka

On Mon, 2019-09-23 at 23:59 -0700, giriprasad@... wrote:
Hi Team,

I am running tcp socket client program in Ubuntu bash of Windows
subsystem for Linux and server program on PCA10056 board, on which
zephyr is running. I am able to establish connection and transfer
data between server and client. Please observe the zephyr debug log
of this, in the file attached with name
"socket_connection_log_zephyr_server_wsl_client.txt". Also observe
the log of wireshark running on Windows PC. File name is
"ws_log_sock_conn_zephyr_server_wsl_client.png"


After this, I have tried running the client code in the PC which is
running on Ubuntu OS. But, this time I am unable to establish
connection between my PC and PCA10056. Please observe the zephyr
debug log of this, in the file attached with name
"socket_connection_log_zephyr_server_ubuntu_client.txt". Also observe
the log of wireshark running on Ubuntu PC. File name is
"ws_log_sock_conn_zephyr_server_ubuntu_client.png".

I am unsure of this behavior. Please help me to establish connection
between Ubuntu PC and PCA10056. Please let me know, if more
information is needed.

Thanks & Regards,
Giri Prasad N.

Join devel@lists.zephyrproject.org to automatically receive all group messages.