1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

86 Commits

Author SHA1 Message Date
Markus Sattler
8bc63d2bf5 fix bug #159 (broken Onewire)
thx to support from ficeto
2015-05-02 15:57:31 +02:00
ficeto
3a7846a574 missed led and fixed output to make more sense 2015-05-01 13:00:17 +03:00
ficeto
d6ae950c26 Add led to WebServer example
This reverts commit 43be35c4de9618c21d04fe1d5056143b9b55ffd3.
2015-05-01 12:32:37 +03:00
Ivan Grokhotkov
435f59f771 ESP8266WebServer code review, fix indentation, add keywords 2015-05-01 11:17:45 +08:00
ficeto
dbbd047980 Updated HelloServer with mDNS and NotFound catcher with custom page
the not found handler should be used in conjunction with other means of
getting data, like SD card
2015-05-01 02:51:59 +03:00
ficeto
81af3a061e adding extra finctionaity the the web server
void onNotFound(bool(void)) handler routes and errors not in the
defined handlers
int args() returns nubmer of currentarguments
String arg(int i) returns the "i" argument value
String argName(int i) returns the "i" argument name(key)
bool hasArg(const char * name) looks up if an argument exist by
seraching for it's key
2015-05-01 02:43:51 +03:00
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
Bundit J
5a4c4c3427 Use memcpy instead of loop 2015-04-18 22:48:04 +07:00
Bundit J
2adda59b6d Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 16:08:36 +07:00
Bundit J
8ac5d70b70 Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 15:33:45 +07: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
Ivan Grokhotkov
91d5fe73c0 Merge pull request #63 from romanmashta/esp8266
Fix slashes in Adafruit_ILI9341 library
2015-04-11 09:43:59 +08:00
Roman Mashta
e372850a35 Fix slashes in Adafruit_ILI9341 library 2015-04-10 22:35:44 +03: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
78ee754677 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_noniso.c
2015-04-06 19:20:25 +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
Sermus
dc5ee0003c Port of extended Adafruit ILI9341 lib to ESP8266 2015-04-04 10:37:51 +03:00
Markus Sattler
a1f0c6feb9 remove NO_PORT_BIND 2015-04-03 14:26:41 +02:00
Markus Sattler
156696a15e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-03 11:09:14 +02:00
Ivan Grokhotkov
dfbc499627 Fix slashes in SPI library 2015-04-03 08:18:23 +03:00
Markus Sattler
d681a76cf3 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-03 00:52:27 +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
Sermus
fd4215aa22 CS is now software controlled. Otherwise ESP has problems with receiving data over SPI 2015-04-02 09:50:01 +03:00
Andrey Filimonov
4626a9df80 Initial ESP8266 HW SPI implementation
ILI9341 lib as a client for SPI lib
2015-04-01 07:10:31 +03:00
Ivan Grokhotkov
79e0aa361a Update maintainer info 2015-03-27 12:18:06 +03:00
Ivan Grokhotkov
d98efdbced Move esp8266 platform from "arduino" into "esp8266com" 2015-03-27 12:11:55 +03:00
Ivan Grokhotkov
27d450ded6 Merge 1.6.1 into esp8266
* commit 'b8b2869753d488bfd203615637e1de3912589a92': (68 commits)
  Updated revisions.txt
  Fixed wrong path in successful message
  arduino-core: restored debug info in class files
  Fixed NPE in case of missing boardData
  Added missing translations
  Added windows drivers
  Added warning for uncertified boards
  Update revision.txt
  update revisions.txt
  SoftwareSerial: match bool API with HardwareSerial
  Fix to save as to parent folder is needed by all OSs, not just Mac
  Update revision.txt
  MacOSX: previous better IDE was missing some pieces. Added
  MacOSX: better IDE
  Updated revisions.txt
  NEW button now behaves as clicking File -> New menu entry. Fixes #2685
  Windows: bundled JRE updated to 8u31 build.xml now uses unzip target
  Added .getParentFile() to saveas for mac. This prevents saving into the sketch itself
  Compound edits weren't part of the undo/redo dance
  An undoable action marks the sketh as modified
  ...
2015-03-27 11:18:48 +03:00
Ivan Grokhotkov
cfda6cbd06 Add ESP8266WebServer library 2015-03-27 11:17:45 +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
31c7b384b2 Add mDNS library for esp8266 2015-02-01 01:55:37 +03:00
Ivan Grokhotkov
c28a63c9d5 Add support for multicast UDP 2015-02-01 01:52:23 +03:00