1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00
Commit Graph

57 Commits

Author SHA1 Message Date
bacc0b1f8b add method to check for clients without referencing them 2015-05-12 15:21:35 +03:00
1707d3d036 move discard_cb to unref 2015-05-12 14:22:16 +03:00
88c6ee418d add close and abort methods and enable disconnect callback 2015-05-12 13:58:05 +03:00
8819c1e91c fix write taking too long 2015-05-07 13:38:32 +03:00
fbec557ddb Importing my changes 2015-04-30 20:48:50 +03:00
a4536d5935 Minor code style changes 2015-04-30 18:54:16 +08:00
483533ac4c add back SmartConfig 2015-04-30 11:44:26 +02:00
70ade65582 Describe multicast APIs in readme, update keywords. 2015-04-29 07:04:39 +08:00
021b8b61e7 ESP8266WiFi: made connected() return true if data is available
WiFiClient::connected() should return true if the connection is disconnected, but there is still data available. This is specified in the Arduino docs: http://www.arduino.cc/en/Reference/WiFiClientConnected
2015-04-29 07:02:19 +08:00
5354464a01 Add destinationIP method to WiFiUDP
Might be useful to distinguish between normal and multicast packets arriving at the same port (#105)
2015-04-29 07:01:54 +08:00
727c61efe2 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00
2472970933 fix some warnings
warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
warning: defined but not used [-Wunused-variable]
warning: declared 'static' but never defined [-Wunused-function]
warning: suggest parentheses around '&&' within '||' [-Wparentheses}
2015-04-29 07:01:28 +08:00
4cc06c2100 Add method to configure softAP IP address
fix #76
2015-04-21 20:52:02 +08:00
da88852693 Fix resource leaks in UDP library
Reference counts were not incremented after creation of UdpContext, so pbufs and pcbs were not freed.
2015-04-14 01:34:52 +08:00
b026daf43b Fix UdpClient semantics, add NTPClient example
UdpClient used to create a new socket for each begin/beginPacket call. This made bidirectional communication impossible.
Fix #64, fix #53.
2015-04-12 01:09:45 +08:00
0bd2ea1948 remove some warnings 2015-04-06 19:54:01 +02:00
f165a0afcd use Eclipse auto Format to get rip auf the tab, space and code style inconsistency 2015-04-06 19:33:50 +02:00
3bb2de4a85 add flush() to unref() see #50 2015-04-06 19:17:19 +02:00
3c7eaafeaf force tcp close in error 2015-04-06 18:55:21 +02:00
ea7a4e522a add null prt check to _pcb in flush 2015-04-06 18:49:57 +02:00
96ec8e480b add size check to write
some more debug output
2015-04-06 18:41:44 +02:00
a1f0c6feb9 remove NO_PORT_BIND 2015-04-03 14:26:41 +02:00
d87bc938f9 disable tcp_bind for WiFiClient (tcp_connect gets automatic a free src port) 2015-04-02 19:11:06 +02:00
53dbeeb0aa add error reason to WiFiClient debug
handle tcp_close error in unref()
2015-04-02 18:57:28 +02:00
d98efdbced Move esp8266 platform from "arduino" into "esp8266com" 2015-03-27 12:11:55 +03:00
71c705a187 Implement remoteIP and remotePort in WiFiUDP 2015-02-17 01:38:35 +03:00
ea90d3ce92 Fix WiFiClient assignment operator 2015-02-16 03:02:42 +03:00
b85262e634 Fix error with missing softAPmacAddress function 2015-02-12 16:37:58 +03:00
be7a068be1 Add parameter to set channel in softAP mode 2015-02-03 12:30:08 +03:00
076977dbeb Update keywords for ESP8266WiFi library 2015-02-03 09:05:18 +03:00
fea362a3b5 Allow mDNS on any interface 2015-02-03 09:04:20 +03:00
c28a63c9d5 Add support for multicast UDP 2015-02-01 01:52:23 +03:00
383c19fd34 Merge branch 'master' into esp8266
* master: (148 commits)
  Update revision log
  Cherry picked fix from 87865ac19d
  Updated revision log
  Added dependencies for AStylej.dll
  Updated translations
  Update revision log
  Temporary fix for pulseIn() regression.
  Added README.adoc for the library manager project
  Fixed some libraries metadata.
  Temporary disabled DefaultTargetTest under certain conditions
  Updated translation from transifex
  Updated some translation strings
  Fixed test
  sam: Fixed initialization of UART/USART mode register
  update revision log
  Fixed NPE when import menu are empty
  Fixed NPE when currently selected platform is no more installed.
  Optimized FileUtils.recursiveDelete(File) function
  Fixed a bunch of simple warnings in java code
  Removed unused classes Commander.java and Webserver.java
  ...
2015-01-26 02:35:02 +03:00
fba488ac6d Fix typo, add mode keyword for ESP8266WiFi, remove .bss section from sketch flash size calculation 2015-01-25 22:44:49 +03:00
b09e8e593a Add remoteIP and remotePort methods to WiFiClient 2015-01-16 17:56:11 +03:00
7d1de31896 Fix call to tcp_recved after pcb has been closed, abort connections closed by the remote side 2015-01-13 09:10:32 +03:00
75d9cf40be Fix license headers in WiFiUDP files 2015-01-09 22:47:07 +03:00
e5e6dbe222 Initial UDP support 2015-01-09 02:10:20 +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
2b503977b9 Fix WiFi::softAPIP and keywords for ESP8266WiFi library 2015-01-07 02:09:55 +03:00
8e7a20c08d Automatically call yield() in WiFiClient::available if called more than once 2015-01-07 01:57:41 +03:00
ccfbd9c969 WiFiClient cleanup 2014-12-29 10:37:11 +03:00
4944a8fb5f WiFi library compatibility fixes 2014-12-29 01:20:27 +03:00
55f07f1e08 TCP client flow control 2014-12-29 01:20:07 +03:00
d849f2298f Add samples for the ESP8266WiFi library 2014-12-23 15:39:48 +03:00
4287d522bd Fix encryptionType for AUTH_WPA_WPA2_PSK 2014-12-23 12:43:19 +03:00
2328e07637 Fix memory leak in WiFiClient 2014-12-23 12:34:41 +03:00
4b25ae86ea Fix issues with WiFi scanning 2014-12-23 12:33:59 +03:00
9ba2fcd29f More license headers 2014-12-19 11:16:28 +03:00