Go Down

Topic: Arduino Uno - sending UDP message (Read 2214 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