arduino-esp32/libraries
buxtronix 4f48caca2c
Set scan_duplicate in BLE scan params (#4126)
This value is uninitialised and as such can be a random (and invalid) value. It's needs to be set per the espressif documentation here:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/esp_gap_ble.html#_CPPv4N21esp_ble_scan_params_t14scan_duplicateE

This PR sets it to DUPLICATE_DISABLE. Chosen as this is needed to ensure all scan data is populated in the scan callback, per this comment in the IDF:

https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/stack/btm/btm_ble_gap.c#L3591

"//if scan duplicate is enabled, the adv packet without scan response is allowed to report to higher layer"

We **don't** want it to report to the higher layer (ie BLEScan.cpp) **unless** it has the active scan response.

Seems to resolve #3770 #3677 and possibly others.
2020-10-01 13:45:45 +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 fix empty reply from server error (#2903) 2019-07-09 19:39:12 +03:00
FFat Added file.close to examples (#3611) 2020-01-20 16:47:40 +02:00
FS workaround for FS implementations that do not support fflush() (#2596) 2019-04-09 21:15:21 +02: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 WebServer: Fix OOB write (#4088) 2020-09-30 15:28:28 +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)