1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
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
5c4db3acf4 IPv6 on esp8266-nonos-sdk and arduino (#5136) 2018-11-27 23:07:47 +01:00
74ca42f829 Sketch emulation on host (#5342)
* WIP compile examples on host with 'make examples'

* WIP bufferize tcp input

* WIP Makefile

* WIP network to rework, tcp/udp to factorize, udp addresses broken

* minor changes to the core

* WIP basic udp working

* WIP mdns

* WIP mcast receiving, not sending

* WIP mdns OK

* beta version

* SSL + doc

* update travis host test command

* licenses

* typo

* doc: arduino builder is not around: declare functions before calling them

* fix with latest SSL PR, compile in 32 bits mode

* fix make clean

* make -m32 optional

* 32bits compiler ability tester

* WIP

* WIP (fix 1 vtable error, still another one to hunt with using spiffs)

* example astyle

* fix os_printf_plus

* load / save mock spiffs

* fix style

* fix using spiffs/mock

* don't mess ram

* update doc

* remove leftover

* optimization -Os except for CI, rename ARCH32 to FORCE32

* revert useless cast (not even compiled)

* remove unused function

* use proper type for pointer arithmetics

* makefile: sketch object and cpp file moved to bin/ directories
easier to clean, and IDE don't like them

* changes for review

* make use of %zd

* less verbose makefile by default (option)

* update readme
2018-11-20 18:51:45 -02: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
8765da258b Added WifiServer::begin(uint16_t port) method, listening port can be changed at runtime (#4123) 2018-01-09 22:10:43 -03:00
5116a46f09 WiFiClient,WiFiServer: update to match new err_t definition 2017-10-15 01:40:10 -05:00
2126146e20 Fix warnings (#2881)
* Suppressed -Wunused-parameter and -Wunused-function by casting to void unused identifiers.

* Explicit initialization of all fields to suppress -Wmissing-field-initializers.

* Fixed signed/unsigned integer comparison.

* memset initialization of structs.

* More -Wunused-parameter fixes.
2017-01-31 10:07:59 +03:00
9dd7910aed Enable SO_REUSE in LwIP and WiFiServer (#1431) (#2140) 2016-06-13 10:36:10 +08:00
7fd7ca6834 WiFiServer: fix error when calling close more than once 2016-06-08 17:32:45 +08:00
213914e1ce Fix undefined behaviour in WiFiServer::setNoDelay (#1695) 2016-03-24 01:14:48 +03:00
2375fb0f86 Cleanup: remove unused includes of cbuf.h. 2015-12-29 12:25:24 -05:00
55afeba174 see #1167
add close and stop as alias
2015-12-10 12:02:49 +01:00
5b28ae23c2 Allow WiFiServer to bind to a specific address (#997)
In addition to the existing constructors (WiFiServer::WiFiServer(port) and WiFiWebServer::WiFiWebServer(port)), new constructors are added:
WiFiServer::WiFiServer(IPAddress, port) and WiFiWebServer::WiFiWebServer(IPAddress, port).
2015-11-15 20:35:52 +03:00
e5d2ba5db8 Pass timeout to optimistic_yield, add cont_can_yield check 2015-07-20 15:48:25 +03:00
17de2d7a4e define in header
remove extern from cpp files
2015-07-15 16:32:49 -07:00
d815c36753 optimistic_yield()
this introduces optimistic_yield() used for when standard library
methods are normally used in tight loops waiting for something to
happen, like available().
2015-07-13 13:47:13 -07:00
f2f1fad298 add TCP_NODELAY control 2015-05-12 19:25:37 +03:00
bacc0b1f8b add method to check for clients without referencing them 2015-05-12 15:21:35 +03:00
af99a3e388 Remove unused rx_buffer_size argument from WebServer constructor 2015-01-08 00:39:46 +03:00
661c414c2a Automatically call yield() in WiFiClient::available and WiFiServer::available 2015-01-07 02:45:46 +03:00
ccfbd9c969 WiFiClient cleanup 2014-12-29 10:37:11 +03:00
9ba2fcd29f More license headers 2014-12-19 11:16:28 +03:00
77af5da58f Clean up ets_printf declarations 2014-12-18 18:45:22 +03:00
6d9c77ebe1 Add ESP8266WiFi library 2014-12-01 00:36:56 +03:00