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

500 Commits

Author SHA1 Message Date
Markus Sattler
5a86c20f1e add rssi function of new SDK 1.1.0
fix warning in hexdump and ESP8266WiFiMulti
2015-05-25 09:47:13 +02:00
Ivan Grokhotkov
49aeb79b05 Add API to set the beginning of local ports range for WiFiClient 2015-05-24 23:15:05 +03:00
Ivan Grokhotkov
4fdd546ad5 Fix build 2015-05-24 15:35:18 +03:00
Ivan Grokhotkov
db1e033186 Remove SPIFFS wrapper 2015-05-23 10:13:59 +03:00
Ivan Grokhotkov
3422294a7f Fix typo 2015-05-22 18:16:44 +03:00
Ivan Grokhotkov
f7dbb35c92 Fix case of WiFi.channel() method 2015-05-22 18:11:09 +03:00
Ivan Grokhotkov
8fdb824e11 Add setContentLength method to web server, update examples
related to #304
2015-05-22 17:57:30 +03:00
Ivan Grokhotkov
21d50e104c Web server: disconnect at the end of callback, not after sendContent (#304) 2015-05-22 16:19:08 +03:00
Ivan Grokhotkov
5bdb26ac29 code review 2015-05-22 03:36:04 +03:00
Ivan Grokhotkov
57a1bdc99f Merge branch 'Links2004-esp8266' into esp8266
* Links2004-esp8266:
  ESP8266WiFi extended functions
2015-05-22 03:15:49 +03:00
Markus Sattler
bc37b9ea68 ESP8266WiFi extended functions
- begin changes
     allow setting BSSID/MAC and Channel of an AP for faster connection (#261)
     now checks if ssid and passphrase to big
     selecting Wifi mode in better way (fix for #28)

 - ESP8266WiFiMulti uses the new functions to auto select best AP even in a multi AP WiFi network (more the one AP has same SSID)

 - add new functions to get current Connected AP:
     uint8_t * BSSID(void);
     int32_t Channel(void);

 - add new functions to get infos from scanned networks:
     uint8_t * BSSID(uint8_t networkItem);
     int32_t Channel(uint8_t networkItem);
     bool isHidden(uint8_t networkItem);
     bool getNetworkInfo(uint8_t networkItem, const char** ssid, uint8_t * encryptionType, int32_t * RSSI, uint8_t ** BSSID, int32_t * channel, bool * isHidden);
2015-05-21 21:15:54 +02:00
ficeto
24ce4518d7 Merge pull request #32 from esp8266/esp8266
pull master
2015-05-21 21:45:31 +03:00
ficeto
2e6fe502a4 Add File System Server Example
Serve files from the onboard flash
Edit them with the included file manager (http://esp8266fs.local/edit)
Create simple graphs filled with sensor data with the included simple
library (example is the index page, editable through the editor)
The sketch uses the new extension for packing files into SPIFFS image
and uploading it to your ESP8266
2015-05-21 21:23:14 +03:00
Markus Sattler
a34edc8990 Merge remote-tracking branch 'remotes/ficeto/esp8266' into esp8266 2015-05-21 19:25:08 +02:00
ficeto
866ab26433 add gzip content support for HTML File streaming 2015-05-21 14:05:00 +03:00
Ivan Grokhotkov
b1f2fdb9cc EEPROM: fix incorrect start address, support multiple instances
related to #279, #240
2015-05-21 10:56:10 +03:00
Markus Sattler
4015a47b08 add one missing const 2015-05-20 20:04:15 +02:00
Markus Sattler
a0b1dff542 code style 2015-05-20 19:48:24 +02:00
Markus Sattler
4b786d0df6 add more functions to handle sha1 in differed cases 2015-05-20 19:41:40 +02:00
Markus Sattler
495e21d53e missed rename 2015-05-20 19:20:17 +02:00
Markus Sattler
4b1c99af44 the sha1 functions are part of the SDK so remove sha1.c 2015-05-20 19:17:25 +02:00
Markus Sattler
94850752b8 add some return headers to WebServer 2015-05-20 18:58:06 +02:00
Markus Sattler
661c7075b7 add Hash library currently supports SHA1 2015-05-20 18:57:42 +02:00
ficeto
6f0d3ff2ab Merge pull request #28 from esp8266/esp8266
pull master
2015-05-19 14:08:08 +03:00
ficeto
555813545c Make the web server not waste heap
added some helper methods as well
2015-05-19 14:06:34 +03:00
Ivan Grokhotkov
85ebee75b4 Fix case in WiFiMulti example 2015-05-19 09:23:47 +03:00
Ivan Grokhotkov
48c061beee temporary fix of min/max 2015-05-19 01:31:10 +03:00
Ivan Grokhotkov
2510707911 Merge branch 'master' into esp8266
* master: (414 commits)
  Don't export sketch if the underlying core does not support it. Fixes #3171
  RSyntaxTextArea: using a modified version, tracked at https://github.com/arduino/RSyntaxTextArea. Fixes #3099
  Updated keywords.txt
  New editor on MacOSX: since CMD+J is known as "jump to selection" and the editor has no such feature, CMD+J is disabled on mac. See #3098
  Old Preferences class remains for backwards compatibility as a delegate for PreferencesData
  New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140
  Remove spawn from exec command
  Removed redundant call to File.deleteIfExists()
  Removed buggy redundant check in FileUtils.deleteIfExists()
  Restored current line/current selected lines display on lower left of the IDE. Fixes #3134
  Updated cursor.ino
  New editor on MacOSX: restored CMD+E for finding selected text
  New editor on MacOSX: CMD+UP/DOWN moves cursor to start or end of sketch. See #3098
  New editor on MacOSX: CMD+BACKSPACE deletes current line until cursor position, ALT+BACKSPACE deletes previous word. See #3098
  ArduinoIDE is in the default package. Removed
  Fixes  #2969:
  Fix Uncategorized warning message
  New editor: ALT+ BACKSPACE deletes next word (OSX only). See #3098
  New editor: ALT+ UP/DOWN move current line only if "editor.advanced" (hidden pref) is true. Fixes #3101
  New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102
  ...

Conflicts:
	.gitignore
	build/build.xml
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/keywords.txt
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/library.properties
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/ESP8266WiFi.h
	libraries/WiFi/README.adoc
	libraries/WiFi/src/WiFi.cpp
	libraries/WiFi/src/WiFiClient.cpp
	libraries/WiFi/src/WiFiClient.h
	libraries/WiFi/src/WiFiServer.cpp
	libraries/WiFi/src/WiFiUdp.cpp
2015-05-18 14:54:06 +03:00
Ivan Grokhotkov
6971cec922 Merge pull request #260 from UECIDE/esp8266
Two new examples
2015-05-18 14:29:24 +03:00
Matt Jenkins
af533d6c5c Added missing include needed for Arduino IDE 2015-05-17 20:01:42 +01:00
Matt Jenkins
0ac29dcd09 Added access point example 2015-05-17 19:59:25 +01:00
ficeto
93c456602c Merge pull request #23 from Links2004/esp8266
pull markus's changes
2015-05-17 16:45:32 +03:00
Markus Sattler
a4adfab517 fix possible null ptr in EEPROM.cpp 2015-05-17 13:54:03 +02:00
Markus Sattler
e50fc0fef8 fix possible problems in EEPROM regarding interrupt handling and SPI flash blocking 2015-05-16 23:10:06 +02:00
Markus Sattler
03da6393d5 improve includes
add ssid and ip to debug out
2015-05-16 22:56:15 +02:00
Markus Sattler
508f0802d5 add examples/WiFiMulti/WiFiMulti.ino 2015-05-16 22:47:29 +02:00
Markus Sattler
108a40acfd add support for list of AP connections
- auto select ssid with best signal
 - for debugging enable DEBUG_WIFI_MULTI macro and call Serial.setDebugOutput(true);

change ESP8266WiFiClass::status() return type to wl_status_t
2015-05-16 22:40:53 +02:00
ficeto
66d9dbb070 ESP8266WiFiClass::waitForConnectResult()
waitForConnectResult() waits until wifi status is not disconnected,
unless STA is disabled, in which case it returns WL_DISCONNECTED
2015-05-16 19:00:36 +03:00
ficeto
53cb1a0140 fix data types 2015-05-16 16:29:10 +03:00
ficeto
5529188dae add info methods to SD class 2015-05-16 16:22:38 +03:00
ficeto
9217187968 Merge pull request #22 from Links2004/esp8266
pull SPI speed fix and uart overflow
2015-05-16 12:26:11 +03:00
ficeto
1cd9cd312f add folder api for SPIFFS 2015-05-16 02:29:26 +03:00
ficeto
ea9368c88d enhance board flash handling and eeprom location 2015-05-15 20:06:13 +03:00
Markus Sattler
2eea25873d fix SPI speed calculation @160Mhz Clock 2015-05-15 13:42:30 +02:00
ficeto
0897f9e2e3 fix reading bytes from incoming POST upload
proper error and premature connection loss should be implemented to
handle weird cases where we might not get the whole post content
2015-05-15 02:22:00 +03:00
Matt Jenkins
5401d758f6 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 13:31:59 +01:00
Ivan Grokhotkov
3c9d1f20bb Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266:
  add template methods for stream to stream writes to SD and FS
  alignment not needed. we use fixed addresses
  Rework SPIFFS API to be more Arduino like
  fix missed edits
  disable automount
  fix SPIFFS to work
  pull get/set NoDelay for WiFiClient
  Add SPIFFS Support
  export sketch data folder to the build config
  Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
  add template client write
  Revert "Add WiFiClient.write for Stream"
  Revert "Edit SD Server example to use the new Write(Stream) method"
  Edit SD Server example to use the new Write(Stream) method
  Add WiFiClient.write for Stream
  make upload callback packets aligned to defined size

Conflicts:
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h
2015-05-14 14:38:22 +03:00
Ivan Grokhotkov
36d0968ada Web server refactoring 2015-05-14 13:33:12 +03:00
Matt Jenkins
46391b60e6 Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
ficeto
2e9a038f68 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00