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

giriprasad@...
 

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.