eea9999dc5
Revert "Allman now ( #6080 )" ( #6090 )
...
This reverts commit 98125f8860
.
2019-05-14 00:09:54 +02:00
98125f8860
Allman now ( #6080 )
...
* switch restyle script for CI
* remove confirmation
* restyle with allman
2019-05-13 16:41:34 +02:00
cdb549572d
restore proper arduino Client:: & Wire:: API ( #5969 )
2019-04-26 22:05:46 +02:00
773f306ef9
more compatibility fixes to IPAddress, restore INADDR_ANY, INADDR_NONE ( #5416 )
2018-12-02 22:43:19 -03:00
324b3f9678
IPAddress updates ( #5409 )
...
* restore definition of ip_addr (=ipv4_addr) when IPv6 is not enabled
* overload IPAddress:operator == and != to avoid ambiguousness
* brings lwIP's INADDR_NONE (which is IPv4 255.255.255.255, suposed to be invalid address but it is)
* inet_aton is a lwIP define, rename Ethernet DNS implementation of this to prevent name collision
that's because IPAddress now includes lwip/inet.h
2018-12-01 23:21:33 -03:00
5c4db3acf4
IPv6 on esp8266-nonos-sdk and arduino ( #5136 )
2018-11-27 23:07:47 +01:00
83a8076db8
ClientContext (tcp) updates ( #5089 )
...
* +sync, get/set default nodelay, sync
* default nodelay=1
* update flush()
* fix return value
* ClientContext: put things together
* ClientContext: fix debugging messages
* WiFiClient: move static members out of the class, add comments
* remove circular dependency
* parameter and return value for Client::flush&stop, flush timeout raised to 300ms
* tcp flush: restart timer on ack receive
* OTA protocol needs setNoDelay(true)
* fix Ethernet with Client changes
* 1 line unredable -> 5 lines readable code
* doc
* Update client-class.rst
* Added details for getters
2018-09-25 10:47:27 -03:00
f9ac524b13
Add -Werror to acceptance builds for C and CPP ( #4369 )
...
Use platform.local.txt to add -Werror to GCC for the build of all
code. Any warnings on a submitted patch will cause an error.
Several examples and libraries had warnings/errors (missing returns
on functions, types, etc.). Clean those up with this commit as well.
2018-02-17 18:47:10 -08:00
26980b39e3
fix #1002 ::Flush() wait for empty send buffer ( #3967 )
...
* fix #1002 ::Flush() wait for empty send buffer
* WiFiClient::Flush() guarantees that the data has been delivered
option 1 of https://github.com/esp8266/Arduino/pull/3967#discussion_r156901071
10ms max wait according to loaded tcp echo/reply scheme
2017-12-17 13:16:41 -03:00
18297458be
allows global object instances be switch off with defines ( #2344 )
2016-08-01 11:21:50 +08:00
2a01c2ad53
modified Ethernet (w5100) library to run on the ESP8266
...
see #962
2015-11-05 21:02:23 +01:00
6735cad17a
add Ethernet library for W5100
2015-11-05 20:55:55 +01:00