1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

53 Commits

Author SHA1 Message Date
ficeto
fbec557ddb Importing my changes 2015-04-30 20:48:50 +03:00
Ivan Grokhotkov
a4536d5935 Minor code style changes 2015-04-30 18:54:16 +08:00
Markus Sattler
483533ac4c add back SmartConfig 2015-04-30 11:44:26 +02:00
Ivan Grokhotkov
70ade65582 Describe multicast APIs in readme, update keywords. 2015-04-29 07:04:39 +08:00
Bob van der Linden
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
Ivan Grokhotkov
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
Ivan Grokhotkov
727c61efe2 UDP multicast APIs fix
fix #74, fix #7
2015-04-29 07:01:46 +08:00
Markus Sattler
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
Ivan Grokhotkov
4cc06c2100 Add method to configure softAP IP address
fix #76
2015-04-21 20:52:02 +08:00
Ivan Grokhotkov
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
Ivan Grokhotkov
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
Markus Sattler
0bd2ea1948 remove some warnings 2015-04-06 19:54:01 +02:00
Markus Sattler
f165a0afcd use Eclipse auto Format to get rip auf the tab, space and code style inconsistency 2015-04-06 19:33:50 +02:00
Markus Sattler
3bb2de4a85 add flush() to unref() see #50 2015-04-06 19:17:19 +02:00
Markus Sattler
3c7eaafeaf force tcp close in error 2015-04-06 18:55:21 +02:00
Markus Sattler
ea7a4e522a add null prt check to _pcb in flush 2015-04-06 18:49:57 +02:00
Markus Sattler
96ec8e480b add size check to write
some more debug output
2015-04-06 18:41:44 +02:00
Markus Sattler
a1f0c6feb9 remove NO_PORT_BIND 2015-04-03 14:26:41 +02:00
Markus Sattler
d87bc938f9 disable tcp_bind for WiFiClient (tcp_connect gets automatic a free src port) 2015-04-02 19:11:06 +02:00
Markus Sattler
53dbeeb0aa add error reason to WiFiClient debug
handle tcp_close error in unref()
2015-04-02 18:57:28 +02:00
Ivan Grokhotkov
d98efdbced Move esp8266 platform from "arduino" into "esp8266com" 2015-03-27 12:11:55 +03:00
Ivan Grokhotkov
71c705a187 Implement remoteIP and remotePort in WiFiUDP 2015-02-17 01:38:35 +03:00
Ivan Grokhotkov
ea90d3ce92 Fix WiFiClient assignment operator 2015-02-16 03:02:42 +03:00
Ivan Grokhotkov
b85262e634 Fix error with missing softAPmacAddress function 2015-02-12 16:37:58 +03:00
Ivan Grokhotkov
be7a068be1 Add parameter to set channel in softAP mode 2015-02-03 12:30:08 +03:00
Ivan Grokhotkov
076977dbeb Update keywords for ESP8266WiFi library 2015-02-03 09:05:18 +03:00
Ivan Grokhotkov
fea362a3b5 Allow mDNS on any interface 2015-02-03 09:04:20 +03:00
Ivan Grokhotkov
c28a63c9d5 Add support for multicast UDP 2015-02-01 01:52:23 +03:00
Ivan Grokhotkov
383c19fd34 Merge branch 'master' into esp8266
* master: (148 commits)
  Update revision log
  Cherry picked fix from 87865ac19df2f55e3d073cf5dc7ba08c0de4c584
  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
Ivan Grokhotkov
fba488ac6d Fix typo, add mode keyword for ESP8266WiFi, remove .bss section from sketch flash size calculation 2015-01-25 22:44:49 +03:00
Ivan Grokhotkov
b09e8e593a Add remoteIP and remotePort methods to WiFiClient 2015-01-16 17:56:11 +03:00
Ivan Grokhotkov
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
Ivan Grokhotkov
75d9cf40be Fix license headers in WiFiUDP files 2015-01-09 22:47:07 +03:00
Ivan Grokhotkov
e5e6dbe222 Initial UDP support 2015-01-09 02:10:20 +03:00
Ivan Grokhotkov
af99a3e388 Remove unused rx_buffer_size argument from WebServer constructor 2015-01-08 00:39:46 +03:00
Ivan Grokhotkov
661c414c2a Automatically call yield() in WiFiClient::available and WiFiServer::available 2015-01-07 02:45:46 +03:00
Ivan Grokhotkov
2b503977b9 Fix WiFi::softAPIP and keywords for ESP8266WiFi library 2015-01-07 02:09:55 +03:00
Ivan Grokhotkov
8e7a20c08d Automatically call yield() in WiFiClient::available if called more than once 2015-01-07 01:57:41 +03:00
Ivan Grokhotkov
ccfbd9c969 WiFiClient cleanup 2014-12-29 10:37:11 +03:00
Ivan Grokhotkov
4944a8fb5f WiFi library compatibility fixes 2014-12-29 01:20:27 +03:00
Ivan Grokhotkov
55f07f1e08 TCP client flow control 2014-12-29 01:20:07 +03:00
Ivan Grokhotkov
d849f2298f Add samples for the ESP8266WiFi library 2014-12-23 15:39:48 +03:00
Ivan Grokhotkov
4287d522bd Fix encryptionType for AUTH_WPA_WPA2_PSK 2014-12-23 12:43:19 +03:00
Ivan Grokhotkov
2328e07637 Fix memory leak in WiFiClient 2014-12-23 12:34:41 +03:00
Ivan Grokhotkov
4b25ae86ea Fix issues with WiFi scanning 2014-12-23 12:33:59 +03:00
Ivan Grokhotkov
9ba2fcd29f More license headers 2014-12-19 11:16:28 +03:00
Ivan Grokhotkov
eb98948d49 WiFi scanning (incomplete) and diagnostics 2014-12-19 01:41:35 +03:00
Ivan Grokhotkov
6c344ffbb1 Update license headers in files that were completely rewritten 2014-12-19 01:40:47 +03:00
Ivan Grokhotkov
77af5da58f Clean up ets_printf declarations 2014-12-18 18:45:22 +03:00
Ivan Grokhotkov
64dabb53f5 WiFi client connect with hostname 2014-12-17 10:29:29 +03:00