1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-10 21:24:12 +01:00
Commit Graph

698 Commits

Author SHA1 Message Date
Cristian Maglie
b7173ed06c Ethernet: partially fix flush() behaviour in EthernetUDP
We still need to check if trasmission is completed, BTW this commit
should alleviate bugs involving data loss.

See #4029
2015-11-11 16:36:11 +01:00
Cristian Maglie
4878d5c2ec WiFi: partially fix flush() behaviour
We still need to check if trasmission is completed, BTW this commit
should alleviate bugs involving data loss.

See #4029
2015-11-11 16:31:46 +01:00
Cristian Maglie
d8dc54afc4 UdpNtpClient example: removed wrong return type 2015-11-05 19:10:12 +01:00
Cristian Maglie
67c24d6b40 Ethernet: fixed some compiler warning 2015-11-05 19:08:00 +01:00
Cristian Maglie
8989ec9bfe Ethernet: increased version to 1.1.1 2015-11-05 19:03:03 +01:00
Cristian Maglie
21141513e2 Ethernet: fixed regression for SAM (Arduino Due)
Fix https://github.com/arduino/Arduino/issues/4072
2015-11-05 18:33:34 +01:00
Cristian Maglie
3341c8b2f7 Removed copies of Mouse and Keyboard libs, available on lib manager 2015-10-28 16:34:01 +01:00
Cristian Maglie
36b7701402 Removed copy of Scheduler lib, available through lib manager 2015-10-28 16:27:30 +01:00
Cristian Maglie
69e03275d6 Removed copy of Audio lib, available through lib manager 2015-10-28 16:27:17 +01:00
Cristian Maglie
437a83efbf Updated WiFi library version 2015-10-28 16:19:37 +01:00
Cristian Maglie
3262783b78 Removed USBHost copy. It is available through library manager. 2015-10-28 16:17:52 +01:00
Cristian Maglie
dafb39d149 Updated TFT lib version 2015-10-28 16:07:01 +01:00
Cristian Maglie
4329062787 Updated Stepper lib version 2015-10-28 16:03:17 +01:00
Cristian Maglie
dc8fcde7f7 Updated Servo library version 2015-10-28 16:01:46 +01:00
Cristian Maglie
d0f3b43079 Updated SD library version 2015-10-28 15:58:57 +01:00
Cristian Maglie
7a178a5180 Partially revert "Removing useless includes from examples"
This allows example to continue to work with older IDE.

This partially reverts commit 46cb5f0a5c.
2015-10-28 15:56:44 +01:00
Cristian Maglie
72600a01f2 Merge branch 'scheduler-zero' of https://github.com/PeterVH/Arduino into PeterVH-scheduler-zero 2015-10-28 15:44:49 +01:00
Cristian Maglie
f890c12e03 Upgraded LiquidCrystal version 2015-10-28 15:12:56 +01:00
Cristian Maglie
6e09128f2d Update Audio lib version 2015-10-28 14:49:11 +01:00
Cristian Maglie
5835af1f11 Update GSM lib version 2015-10-28 14:48:54 +01:00
Iván Pérez
e3fae38c41 Declare paths parameters as constant
This way we will avoid some warnings when using paths as constants in
#define's

`warning: deprecated conversion from string constant to 'char*'`
2015-10-19 15:55:08 +02:00
Peter Van Hoyweghen
739c656b1d Port Scheduler library to Arduino Zero. 2015-10-12 22:22:47 +02:00
Cristian Maglie
a151349a01 [HID] renamed HIDDescriptorListNode to HIDSubDescriptor 2015-10-12 12:24:07 +02:00
chaveiro
ef15667ae8 Expose optional DHCP timout parameters to Ethernet:begin()
A no brainer update.
Expose optional timeout parameter values of dhcp for user to adjust on
their code.
Currently if dhcp server is not available, code will block inside
DhcpClass::request_DHCP_lease() for 60s. Having this parameters exposed
user can specify their timeout requirements without changing the lib
code.
Change is backward compatible as parameters are optional and defaults to
existing values.
2015-10-07 17:49:30 +02:00
Cristian Maglie
aa921659f6 Merge branch 'phid-class' 2015-10-07 17:05:11 +02:00
per1234
7f4c29927d Clean up Ethernet example comments
- Fix typos and formatting.
- Remove analog inputs part of Circuit comment in ChatServer and
AdvancedChatServer. The examples don't use these analog inputs.
2015-10-04 05:03:31 -07:00
Federico Fissore
46cb5f0a5c Removing useless includes from examples 2015-10-02 12:24:31 +02:00
Martino Facchin
65b8430fec [PUSB] Fix static initialization order fiasco
For details see:
https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use
2015-10-02 11:59:24 +02:00
Nico
bd1124eb0f Fixed typo in Keyboard API 2015-09-28 14:21:01 +02:00
Cristian Maglie
e4d63adf45 Merge branch 'pluggable_hid_impr' of https://github.com/cmaglie/Arduino 2015-09-28 12:06:35 +02:00
Federico Fissore
017640a621 Fixed license headers. See https://github.com/arduino/Arduino/pull/3498 2015-09-25 15:17:35 +02:00
Federico Fissore
0b1f5249d4 Removing Esplora library from this repo. Downloaded at build time 2015-09-24 11:33:16 +02:00
Claudius Coenen
0a819edc54 removing unused variable from Stepper 2015-09-23 23:12:47 +02:00
Cristian Maglie
0083d75224 Fixed typo in Ethernet lib
Fix #3845
2015-09-23 14:50:28 +02:00
Cristian Maglie
401c4f0cf8 HID: merged HID_Descriptor into HIDDescriptorListNode
This simplifies the object model and produce a small gain in code
size and performance.
2015-09-22 16:51:30 +02:00
Cristian Maglie
f0cf13c89b HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor
In particular HIDDescriptorListNode.cb has been renamed to
HIDDescriptorListNode.descriptor because it contains decriptor data
and not callbacks.

Moreover the HID_Descriptor.descriptor field has been renamed
to HID_Descriptor.data so the structure has now two fields length
and data.

   typedef struct __attribute__((packed)) {
     uint16_t length;
     const void* data;
   } HID_Descriptor;

   class HIDDescriptorListNode {
   public:
     HIDDescriptorListNode *next = NULL;
     const HID_Descriptor *descriptor;
     HIDDescriptorListNode(const HID_Descriptor *d) : descriptor(d) { }
   };

This imply a change in the use of the node from:

  node->cb->lenght
  node->cd->descriptor

to

  node->descriptor->length
  node->descriptor->data
2015-09-22 16:49:14 +02:00
Arturo Guadalupi
a4576a5c40 Merge pull request #3833 from agdl/ifSerialmods
Modified reference to Leonardo only in the examples
2015-09-22 15:55:58 +02:00
Arturo Guadalupi
9eaea4205d Modified reference to Leonardo only in the examples
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00
Federico Fissore
d1c61aca54 Removing SpacebrewYun library from this repo. Downloaded at build time 2015-09-21 13:16:39 +02:00
Federico Fissore
298fbdc7b5 Removing Robot* libraries from this repo. Downloaded at build time 2015-09-21 13:12:13 +02:00
Federico Fissore
4fa8750862 Bridge lib: removing from this repo. It's downloaded at build time, just as
Temboo and Firmata
Other libs will soon follow
2015-09-21 12:54:19 +02:00
Eddy
8a4fd0e6a2 Ethernet use DNS in examples
Set the DNS-Server as third parameter of Ethernet.begin if at least gateway is specified. Reference is Updated before.

In BarometricPressureWebServer gateway and subnet wasn't used.

Signed-off-by: Eddy <est.git@online.de>
2015-09-18 11:36:15 +02:00
Cristian Maglie
306eaa13c9 Fixed DNSClient::inet_aton function.
Fixes #2500
2015-09-09 12:03:29 +02:00
Martino Facchin
92a05d2e25 USB libraries: replace non-portable u8 with uint8_t 2015-09-04 16:12:56 +02:00
Arturo Guadalupi
3f28c2452a Added Ethernet.maintain() to examples
According to #3634 I added the Ethernet.maintain to examples:
Webserver
UdpNtpClient
DhcpChatServer
DhcpAddressPrinter
2015-09-03 09:34:49 +02:00
per1234
4d7723fb95 Add localIP and maintain to Ethernet keywords 2015-08-22 04:16:43 -07:00
Cristian Maglie
5b3d16fa78 Simplified ScanNetwork example
Fixes #3629
2015-08-20 16:40:40 +02:00
lathoub
006124136e Provide for support for ZeroConf/Bonjour
Provide for support for ZeroConf/Bonjour, by allowing derived classes
access to _sock and _remaining. See
https://github.com/lathoub/EthernetBonjour
2015-08-16 15:29:26 +02:00
Cristian Maglie
2659ec6faa Fixed library.properties for Mouse and Keyboard libraries 2015-07-21 16:40:18 +02:00
Martino Facchin
f9b9cd03d4 Keyboard: fix endif disappeard during rebase 2015-07-16 16:20:16 +02:00