TCP Client using KDSK_1.3.0 for K64 MCU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TCP Client using KDSK_1.3.0 for K64 MCU

984 Views
punitkumar
Contributor IV

Hi

I'm using lwIP tcpecho demo example given with KDSK1.3.0.

It successfully connected to TCP client as server, but my application needs TCP client on K64 MCU.

How can i make TCP client on K64 using KSDK.

 

Thanks

Punit Kumar

Labels (1)
0 Kudos
6 Replies

589 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Punit,

please can you try it according this example?

TCP Client Server Example

LWIP stack is CPU independent.

I hope this helps.

In case of any issue, please let me know.

Kind Regards,

Iva

0 Kudos

589 Views
punitkumar
Contributor IV

Thanks ivadorazinova

Will this example works for baremetal project?

Best Regards

Punit Kumar

0 Kudos

589 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Punit.

Yes,also for baremetal project. independently on OS.

In case of any issue, please let me know.

Best Regards,

Iva

0 Kudos

589 Views
punitkumar
Contributor IV

Hi ivadorazinova

thanks for the response.

I've implimented TCP client using raw api of lwIP.

But i cannot detect a connection drop (removed cable) after once connected successfully.

can you help me over that?

thanks in advance

Punit Kumar

0 Kudos

589 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Punit.

I very apologize for my late response.

Please, did you solve your issue or could I help you?

Thank you for your feedback!

Have a great day!

Best Regards,

Iva

0 Kudos

589 Views
punitkumar
Contributor IV

Hi

Thanks for your response,

I've made it worked, but now have another problem regarding the same.

you can find it with title "problem while TCP Transmission of continuous data"

Reply if you can help me over that.

I've used RAW APIs.

Thanks Again

Punit Kumar

0 Kudos