1. 12 4月, 2019 1 次提交
    • V
      Alternative Improve _uploadReadByte (#2656) · 25c0b522
      Victor Aprea 提交于
      * add opportunity for more than one retry to _uploadReadByte
      
      * an alternative timeout-based method to making _uploadReadByte more resilient
      
      * move timing variables in the correct scope
      
      * implement and use client.getTimeout instead of hard-coded timeout in _uploadReadByte
      
      * add missing return
      
      * some refactoring to address respecting the timeout in a potentially deadlocked connection
      
      * fix spelling in comment
      
      * address review comments; move impl to cpp file for getTimeout, and remove local variable for currentMillis
      
      * remove redundant cast
      
      * need to check for timeout outside the inner while as well
      
      * update WebUpdate example to print something in unexpected callback condition
      
      * update log_e messages per review comments
      25c0b522
  2. 10 4月, 2019 1 次提交
    • D
      Reset retry counter upon successful write (#2638) · a0c975df
      dyarkovoy 提交于
      Currently  WiFiClient::write is unable to send messages over 25Kb, because of the hard-coded retry limit of 10, that is getting decremented on every successful send. Since we cannot send more than 2*MTU bytes in one go, and have only 10 retries, write() is limited to approximately 25Kb. Technically it is not a bug, as it correctly returns the number of sent bytes and the caller can set up futher retries. But not all libs are aware of this behavior, for example, WebServer is not.
      I suggest improving current behavior by resetting retry counter every time we had a successful write, so the limit of 10 retries will apply to Failed writes only, and will not apply to Successful writes. This will allow to write() blobs of arbitrary sizes.
      a0c975df
  3. 03 3月, 2019 3 次提交
  4. 20 2月, 2019 1 次提交
  5. 14 2月, 2019 2 次提交
  6. 23 1月, 2019 1 次提交
  7. 22 1月, 2019 1 次提交
  8. 02 1月, 2019 1 次提交
  9. 29 12月, 2018 1 次提交
  10. 16 12月, 2018 1 次提交
  11. 07 12月, 2018 1 次提交
  12. 05 12月, 2018 1 次提交
  13. 03 12月, 2018 1 次提交
  14. 01 12月, 2018 1 次提交
  15. 29 11月, 2018 1 次提交
    • L
      Clean warnings when all warning enabled (#2112) · ce340faf
      Luc 提交于
      * Clean warnings when all warning enabled
      
      Not used variables / functions due to debug log
      
      Dual define with different values :
      cores\esp32/binary.h
      #define B110 6
      #define B1000000 64
      
      tools/sdk/include/newlib/sys/termios.h
      #define B110        3
      #define B1000000   23
      
      Local variable returned in WiFiclient Secure
      
      * change due to deprecated function
      
      * Update with proper variable and label
      
      * Update esp32-hal-i2c.c
      
      * Apply changes requested
      
      * Fix warnings due to #define conflict thanks @atanisoft
      ce340faf
  16. 19 11月, 2018 2 次提交
    • J
      Feature/http client (#1973) · 01d22c88
      Jeroen88 提交于
      * Pass client parameter into two new begin() functions. Set other begin() functions deprecated. Updated library version to 1.2
      
      * Added working HTTPS example on a public url with a certificate
      
      * Remove two unnecessary tests in ::disconnect()
      
      * Add a scoping block to BasicHttpsClient.ino to assure HTTPClient is destroyed before WiFiClientSecure
      
      * Added check to handle mixup of old and present api properly
      
      * Correct HTTPClient::setTimeout() to convert milliseconds to seconds. Correct WiFiClient::setTimeout() to call Stream::setTimeout() with seconds converted back to milliseconds. Remove inproper checks for _insecure.
      
      * Added small comment because it looked like the Travis build did not finish
      01d22c88
    • M
      make WiFi.softAP() more robust (#1925) · 14ff3114
      Mark D 提交于
      * make WiFi.softAP() more robust
      
      * WiFi.softAP() revert fallback to WIFI_AUTH_OPEN
      14ff3114
  17. 21 9月, 2018 1 次提交
    • M
      Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878) · 96822d78
      Me No Dev 提交于
      * TX Flow Control and Code cleanup
      
      * Use semaphore instead of delay
      
      TX functionality is done.
      
      * Use single buffer and empty queue on exit
      
      * Fix compile issues because of LwIP code relocation
      
      * Add temporary header to fix Azure not compiling
      
      * Fix AsyncUDP early init
      
      * AsyncUDP Multicast fixes
      
      * Add source mac address and rework multicast
      
      * Allow redefinition of default pins for Serials 1 and 2
      
      * Update IDF to 3276a13
      
      * Update esptool.py to 2.5.0
      
      * Fix sketches
      
      * Fix log level in BluetoothSetial
      96822d78
  18. 18 9月, 2018 1 次提交
  19. 30 7月, 2018 2 次提交
  20. 25 7月, 2018 2 次提交
  21. 17 7月, 2018 2 次提交
  22. 11 7月, 2018 1 次提交
  23. 10 7月, 2018 2 次提交
  24. 06 7月, 2018 2 次提交
  25. 05 7月, 2018 2 次提交
  26. 27 6月, 2018 1 次提交
    • M
      Update IDF to aaf1239 (#1539) · a59eafbc
      Me No Dev 提交于
      * fix sdmmc config
      
      * Fix warnings in EEPROM
      
      from @Curclamas
      
      * remove leftover TAG in EEPROM
      
      * Initial add of @stickbreaker i2c
      
      * Add log_n
      
      * fix warnings when log is off
      
      * i2c code clean up and reorganization
      
      * add flags to interrupt allocator
      
      * fix sdmmc config
      
      * Fix warnings in EEPROM
      
      from @Curclamas
      
      * remove leftover TAG in EEPROM
      
      * fix errors with latest IDF
      
      * fix debug optimization (#1365)
      
      incorrect optimization for debugging tick markers.
      
      * Fix some missing BT header
      
      * Change BTSerial log calls
      
      * Update BLE lib
      
      * Arduino-ESP32 release management scripted (#1515)
      
      * Calculate an absolute path for a custom partitions table (#1452)
      
      * * Arduino-ESP32 release management scripted
      (ready-to-merge)
      
      * * secure env for espressif/arduino-esp32
      
      * * build tests enabled
      * gitter webhook enabled
      
      * * gitter room link fixed
      * better comment
      
      * * filepaths fixed
      
      * BT Serial adjustments
      
      * * don't run sketch builds & tests for tagged builds
      
      * Return false from WiFi.hostByName() if hostname is not resolved
      
      * Free BT Memory when BT is not used
      
      * WIFI_MODE_NULL is not supported anymore
      
      * Select some key examples to build with PlatformIO to save some time
      
      * Update BLE lib
      
      * Fixed BLE lib
      
      * Major WiFi overhaul
      
      - auto reconnect on connection loss now works
      - moved to event groups
      - some code clean up and procedure optimizations
      - new methods to get a more elaborate system ststus
      
      * Add cmake tests to travis
      
      * Add initial AsyncUDP
      
      * Add NetBIOS lib and fix CMake includes
      
      * Add Initial WebServer
      
      * Fix WebServer and examples
      
      * travis not quiting on build fail
      
      * Try different travis build
      
      * Update IDF to aaf1239
      
      * Fix WPS Example
      
      * fix script permission and add some fail tests to sketch builder
      
      * Add missing space in WiFiClient::write(Stream &stream)
      a59eafbc
  27. 19 6月, 2018 1 次提交
  28. 23 5月, 2018 1 次提交
    • S
      Add `SYSTEM_EVENT_WIFI_READY` call back + WiFiMode fixes (#1322) · c24a3404
      sticilface 提交于
      * Add `SYSTEM_EVENT_WIFI_READY` call back once wifi service is init.  allows you to hook in, as the sdk does not generate this event for you.
      As it stands the SDK does not appear to set `WIFI_MODE_NULL` correctly.  if the wifi is initialised and set to `WIFI_MODE_NULL` it actually defaults to AP mode.  This fix keeps `WIFI_MODE_NULL` within the ESP class if the wifi has not been init yet, and works in my testing.  albeit a one sided conversation.
      https://github.com/espressif/arduino-esp32/issues/1306
      
      * make changes compatible with new _persistent behaviour.
      c24a3404
  29. 14 5月, 2018 2 次提交
    • R
      WiFi disconnect reason message updated (#1323) · f14de5cf
      Ramesh 提交于
      wifi_err_reason_t doesn't have reason code 12. After reason code 11, we are getting wrong wifi disconnected reason message. Added "UNSPECIFIED"  in place of reason code 12.
      And above 201 reason code, it should be r-176 instead of r-177. Because messages are started from zeroth offset.
      f14de5cf
    • T
      std::functioanl for WFIF event + Minor fix (#1366) · 6bf7619c
      Tim P 提交于
      * add missing bits from esp8266 to help porting other libs
      
      * Clean Up of Wifi event
      
      * Exampl of Wifi Events
      6bf7619c