Function of UDP in tcp/ip stack :

Status
Not open for further replies.

nikhilrajg

Member level 3
Joined
Mar 2, 2012
Messages
63
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Manipal,Karnataka,India
Activity points
1,834
Hello all,

I want to send data packets using UDP.. But I am not sure about it. Can anyone help..
How exactly the code or the logic flows ?
As I Could see there are many functions in UDP.c under stack source codes. which functions will be suitable for sending data packets ?

Thank you.
Nikhil Raj
 

Hello Bigdog,

Thanks for your reply.
To what microcontroller and stack source are you referring?

BigDog

I am using PIC24FJ128GA010 MCU with Explorer-16 Board. And I am using TCP stack version v5.10 and C30 compiler.
And ZG2100 wi-fi module.

Want to know how to send data packets using UDP to the remote router.

Thank you.
Nikhil Raj
 

Have you examined the following application note?

Reference: Microchip AN833 The Microchip TCP/IP Stack, Section: User Datagram Protocol (UDP), Page: 61


The above section also discusses each of the UDP routines and provides examples of their use, along with some sample applications.

AN833 Source Code

The above source code was initially written for C18 and PIC18F, however you should be able to adapt it to the PIC24 family.

You can also use the TCP/IP Configuration Utility found in the Utilities directory within TCP/IP Stack directory:

TCP/IP Configuration Utility


BigDog
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…