This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK optimization TCP/IP



 

Hi,

We've done optimization for NDK four our application needs. Our requirement is to transfer packages up to 200 KB length (PC<-> Controller).......till now we're worked via serial bus...but in new project will require to transfer in faster speed (~ 1/2KB every 100 ms)...therefore decided to use Ethernet connection.

We've tried to optimized NDK (for free RAM memory)  for TCP/IP needs only and did the following:

Choose to use: System Overview: TCP, IP, Global Network settings

In NDK -Stack buffer sizes And Placement:   we decreased number of frames to 2,  page size 768, in addition I've disabled all the debug/information messages for NDK.

In TCP Socket settings - we decreased maximum buffer receive/transmit size: from 2048 to 512

We're running our test application (every 100 ms sent/receive data with Ethernet ) and it seems OK.

The problem that I'm not sure that are modifications in NDK settings are correct. Can you please confirm that we did a right thing.....and that we can proceed with this configuration?

thank you,

Alla