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.

CCS/F28M35H52C: UDP connection using uIP

Part Number: F28M35H52C
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi,

I'm trying to use the uIP example for the master core v210. It works but now I need a UDP connection just to send some sensor data. I saw that the example stabilish a TCP connection but I can't see where the Texas put the option to stabilish a UDP connection. I saw also in the example that if a UDP package arrives, it tests the udp port but it is always 0, so, it will never calls the UIP_UDP_APPCALL. I looked for the call for uip_udp_connect() but I can't find.

Thank you.

  • Hello,

    I am writing to let you know that a C2000 team member has been assigned to this post and should be answering shortly.

    Regards,
    Elizabeth
  • Thank you. Just to explain better. My app will receive some UDP packages for a state machine and will send, all the time, the sensor data.
  • zmeira,

    please refer to the UIP documentation on further examples. If you are looking for API to call then the UIP reference manual in below directory in controlSuite, shows some examples. Scroll down to resolver.c and analyze if it can help.

    C:\ti\controlSUITE\device_support\f28m35x\v210\MWare\third_party\uip-1.0\doc

    The other thing I would suggest is to google for other open source UDP implementation example for UIP. The TI examples are to show basic stack porting and working examples of the stack on the MCU.

    Hope this helps.

    Best Regards
    Santosh Athuru
  • Thank you Santosh,

    I already read the documentation and I saw that is simple to use the UDP server but I need to change and create all from zero.

    That post is very useful.

    Zariff Meira