Hi,
I am using the Tiva C Series Connected Launchpad TM4C1294XL and I have installed the TI RTOS framework. I want to use the NDK for communicating over TCP (LAN) with my Laptop. I used the tcpEcho example for my first experiment. If I connect with netcat (Linux utility) to the Board I can send data to it and get an echo back. Then I wrote a program that connects to the device and is able to send chunks of data with a certain size and speed. This way I was able to find out the maximum speed I can use to send and receive data. I was not able to reach 1 megabit per second. It was very slow. So I decided to play a bit with the packet size but I was not able to improve the speed. I tried different optimization settings and I achieved the highest speed with no optimization at all. That experience was a little bit strange for me.
Is this connected launchpad really this slow or is there something I can improve to gain higher network speed?
Next question: I opened TI's Network developer's kit to learn more about the calls that were used in the example. In the file tcpEchoHooks the task tcpHandler is created using the function Task_create. But all I could find in the NDK was the function TaskCreate. There is nothing that both of them have in common. Task_create has 3 parameters and TaskCreate has 7 parameters.
Why is this the case? How can use TaskCreate and what is the difference to Task_create?