Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: Arduino Uno - sending UDP message  (Read 2164 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 !
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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 ..

Logged

Rob Tillaart

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

Liverpool, UK
Offline Offline
Newbie
*
Karma: 0
Posts: 27
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: