i.mx rt 1050 evkb lwip tcp client

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx rt 1050 evkb lwip tcp client

1,448件の閲覧回数
albertobeghetto
Contributor II

Hi,

i'm trying to develop a tcp client to make a modbus client. My idea is to start from a workin tcp client, edit layer 2 writing modbus protocol that i just develop in serial rtu mode.

Navigating in example projects (sdk 2.5.1) i can't find any tcp client, only servers. My knowledge for lwip is very low and i'm not able to edit server application layer to make a client. Client request implementing pool table, pool time, opening connections, manage lost connections, etc, i don't how to manage interface with other layer in lwip.

There is some giudelines to do it?

Thanks in advice

Alberto

ラベル(1)
0 件の賞賛
返信
1 返信

1,255件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Alberto:

TCP client is an application that actively connect to remote applications in order to obtain a service from the remote application. The remote application is the server.

Please refer to the lwip_tcpecho_freertos demo. The application sends back the received TCP packets from the PC. The simple transaction between an echo client and an echo server is as below.

pastedImage_7.png

Regards

Daniel

0 件の賞賛
返信