Go Down

Topic: Arduino Uno - sending UDP message (Read 2299 times) previous topic - next topic

DjamesSuhanko

Hello!
Everyone knows how can I to send UDP messages from arduino? I could to send HTTP messages only.
You knows some nice UDP librarie?
Thanks !

robtillaart


there is an specific UDP packet in this article - http://www.arduino.cc/playground/Main/DS1307OfTheLogshieldByMeansOfNTP - to get an NTP timestamp from a time server. Its at the end of the sketch ..

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Adrian McEwen

Since (I think) Arduino 0019, and definitely by Arduino 0021 there is a UDP API in the core Ethernet library.  If you look at the Ethernet examples there are two that use UDP.

Unfortunately, the API is due to change a little in the next release (or maybe the one after).  See https://github.com/arduino/Arduino/pull/19 for details of the proposed changes.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy