arduino-esp32/libraries
nicolaser15 663effa00e
Update Parsing.cpp (#4217)
* Update Parsing.cpp

When uploading TLS cert files the end of file "-----END CERTIFICATE-----" (or any kind of file with the sequence "CRLF--") is taken as posible end boundary. Then it is compared to the start boundary string. As it is expected, comparison turns to be false, and the whole end boundary string is put to _currentUpload->buf through _uploadWriteByte(). Here you have the problem: if you read boundary.length() bytes from HTTP request and you have some of the actual end boundary bytes in it, when you put all those bytes into _currentUpload->buf you are making a mistake. You will miss the actual end boundary string because some of those bytes were put in _currentUpload->buf.

* Update Parsing.cpp
2020-10-01 14:37:59 +03:00
..
ArduinoOTA Extend logging of ArduinoOTA (#3217) 2019-09-16 19:54:21 +03:00
AsyncUDP Update AsyncUDP library.json (#2837) 2019-06-05 13:43:15 +02:00
AzureIoT@67dfa4f31e Add submodule of Azure IoT library (#1448) 2018-05-31 14:52:02 +02:00
BLE Set scan_duplicate in BLE scan params (#4126) 2020-10-01 13:45:45 +03:00
BluetoothSerial Fix SerialBT.flush (#3579) 2020-01-20 22:34:57 +02:00
DNSServer Update CaptivePortal.ino (#4080) 2020-09-30 15:26:15 +03:00
EEPROM fix EEPROM class example (#3786) 2020-09-30 14:43:05 +03:00
ESP32 Update GetChipID.ino (#4070) 2020-09-30 15:24:29 +03:00
ESPmDNS Fixed comment with correct FQDN (#4152) 2020-10-01 13:51:36 +03:00
FFat Added file.close to examples (#3611) 2020-01-20 16:47:40 +02:00
FS rmdir causes issues in SPIFFS. Fixes #4138, albeit not very cleanly (#4154) 2020-10-01 13:52:24 +03:00
HTTPClient Set TLS cert options before calling connect on client, so verify works (#3774) 2020-09-30 14:41:03 +03:00
HTTPUpdate Fix Timeout Bug in WebServer (#2938) 2019-07-09 19:27:24 +03:00
NetBIOS Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
Preferences Refactored use of LOG_X(LOG_TAG, ...) to log_x(...) (#2672) 2019-04-15 17:26:35 +02:00
SD Added a parameter for max files in SD (#2563) 2019-04-09 21:07:25 +02:00
SD_MMC Update SD_MMC.cpp (#4020) 2020-05-22 11:07:40 +03:00
SimpleBLE Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
SPI Update SPI.h 2020-09-30 14:34:37 +03:00
SPIFFS Added file.close to examples (#3611) 2020-01-20 16:47:40 +02:00
Ticker Fix long Ticker period conversion: cast ms to uint64_t when calculating us (#3175) 2019-09-05 10:34:47 +03:00
Update Use esp_partition_* functions in Updater.cpp (#3898) 2020-09-30 15:06:19 +03:00
WebServer Update Parsing.cpp (#4217) 2020-10-01 14:37:59 +03:00
WiFi Fix issue #3522 (WiFi does not restart after stopped) (#4114) 2020-09-30 15:34:10 +03:00
WiFiClientSecure Fix to allow more than one certificate to be loaded (espressif#3248). (#4056) 2020-09-30 15:19:41 +03:00
Wire Add Wire:setPins(sda, scl) 2020-07-19 02:21:15 +03:00
README.md Added a description README.md for libraries (#3349) 2019-10-14 20:37:09 +03:00

ESP32 Libraries

arduino-esp32 includes libraries for Arduino compatibility along with some object wrappers around hardware specific devices. Examples are included in the examples folder under each library folder. The ESP32 includes additional examples which need no special drivers.

ArduinoOTA

Over The Air firmware update daemon. Use espota.py to upload to the device.

AsyncUDP

Asynchronous task driven UDP datagram client/server

AzureIoT

Library to interact with Microsoft Azure IoT services

BLE

Bluetooth Low Energy v4.2 client/server framework

BluetoothSerial

Serial to Bluetooth redirection server

DNSServer

A basic UDP DNS daemon (includes captive portal demo)

EEPROM

Arduino compatibility for EEPROM (using flash)

ESP32

Additional examples

  • AnalogOut
  • Camera
  • ChipID
  • DeepSleep
  • ESPNow
  • FreeRTOS
  • GPIO
  • HallSensor
  • I2S
  • ResetReason
  • RMT
  • Time
  • Timer
  • Touch

ESPmDNS

mDNS service advertising

FFat

FAT indexed filesystem on SPI flash

FS

Filesystem virtualization framework

HTTPClient

A simple HTTP client, compatible with WiFiClientSecure

HTTPUpdate

Download a firmware update from HTTPd and apply it using Update

NetBIOS

NetBIOS name advertiser

Preferences

Flash keystore using ESP32 NVS

SD

Secure Digital card filesystem using SPI access

SD_MMC

Secure Digital card filesystem using 4-lane access

SimpleBLE

Minimal BLE advertiser

SPI

Arduino compatible Serial Peripheral Interface driver (master only)

SPIFFS

SPI Flash Filesystem (see spiffs-plugin to upload to device)

Ticker

A timer to call functions on an interval

Update

Sketch Update using ESP32 OTA functionality

WebServer

A simple HTTP daemon

WiFi

Arduino compatible WiFi driver (includes Ethernet driver)

WiFiClientSecure

Arduino compatible WiFi client object using embedded encryption

Wire

Arduino compatible I2C driver (master only)