- 16 Feb, 2021 4 commits
-
-
Emanuel Posescu authored
- Remove client from the list of devices in case registration fails - Filter other events not related to registration during registration phase - Cleanup if connect fails - Reset if after disconnect - Disconnect callback *after* cleanup is done so object can be deleted This fixes some of the issues I had like: - `BLEClient::connect` hangs up and never recovered because registration failed - `BLEClient` could not be deleted after disconnect or deletion creating ghost events https://github.com/espressif/arduino-esp32/issues/4047 - `BLEClient` could not be properly reused after a connection was attempted (successful or not) * Cleanup in case of registration and connect failure. Cleanup before calling disconnect callback for safe delete. Reject other events during registration. Adresses #4047, #4055 * Clear if after unregister #4047
-
Markus Frey authored
fixes #4596 * Prevent possible undefined behaviour by get methods not taking an index as parameter * Add methods to get the count of service data UUIDs and service UUIDs * Various code improvements
-
me-no-dev authored
-
Andre Lorbach authored
The variable is useful when debugging AsyncUDP send problems. The upper application can read and analyze the error reason.
-
- 15 Feb, 2021 4 commits
-
-
ushiboy authored
* Fixed crash on delete after disconnect * Fixed memory leak when getting characteristics * Removed guard Co-authored-by: ushiboy <ushiboy.dev@gmail.com>
-
Szymon Zmilczak authored
-
Mitch Bradley authored
* Speed up upload by a factor of 17 Uploads are very slow because of an unnecessary "client.connected()" check in _uploadReadByte(). Here is what happens: client.connected() is called for every byte read. WiFiClient::connected() calls recv(fd(), &dummy, 0, MSG_DONTWAIT); which takes a relatively long time, so the optimized path of returning a buffered byte via client.read() is effectively nullified. Removing the one line changed the upload speed for a 2 MB file (discarding the received data) from 22 KB/sec (before) to 367 KB/sec (after). The change is safe in the face of disconnects because client.read(), when it no longer has buffered data, calls (WiFiClient) fillBuffer(), which calls recv(), so the disconnection will be detected in due course. * Move disconnect check into the timeout loop
-
Me No Dev authored
* Update IDF to d8082b7f3
-
- 04 Feb, 2021 1 commit
-
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/4763
-
- 03 Feb, 2021 2 commits
-
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/2537
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/4732
-
- 27 Jan, 2021 1 commit
-
-
Valerii Koval authored
-
- 21 Jan, 2021 4 commits
-
-
Me No Dev authored
-
Me No Dev authored
Co-authored-by: me-no-dev <me-no-dev@github.com>
-
estshorter authored
-
Emanuel Posescu authored
-
- 15 Jan, 2021 1 commit
-
-
bot1131357 authored
-
- 14 Jan, 2021 1 commit
-
-
Me No Dev authored
-
- 12 Jan, 2021 3 commits
-
-
me-no-dev authored
-
Me No Dev authored
Co-authored-by: me-no-dev <me-no-dev@github.com>
-
Me No Dev authored
-
- 11 Jan, 2021 8 commits
-
-
Me No Dev authored
esp-face: master 420fc7e esp32-camera: master 0107093
-
Keegan Morrow authored
-
richardclli authored
Added authentication callbacks and example, resolves #4622.
-
Andrew authored
BLERemoteCharacteristic::registerForNotify: Permit event registration without updating descriptor. (#4659)
-
drmpf authored
added availableForWrite to Print.h to make compatible with Arduino Print.h
-
Verkehrsrot authored
Compiler complains on unused parameter pCharacteristicMap: framework-arduinoespressif32\libraries\BLE\src\BLERemoteService.cpp: In member function 'void BLERemoteService::getCharacteristics(std::map<short unsigned int, BLERemoteCharacteristic*>*)': \framework-arduinoespressif32\libraries\BLE\src\BLERemoteService.cpp:246:89: warning: parameter 'pCharacteristicMap' set but not used [-Wunused-but-set-parameter] void BLERemoteService::getCharacteristics(std::map<uint16_t, BLERemoteCharacteristic*>* pCharacteristicMap) {
-
kabir-plod authored
-
Nikhil Choudhary authored
-
- 20 Dec, 2020 1 commit
-
-
Me No Dev authored
-
- 07 Dec, 2020 2 commits
- 02 Dec, 2020 3 commits
-
-
Me No Dev authored
Follow up for https://github.com/espressif/arduino-esp32/pull/4564
-
coylen authored
Added guarded define to set the stacksize on the main looptask. Advantage of this is that build_flags can be used to provide a different value for the stack size should it be neccessary default behaviour is unaffected
-
Aaron.Lee authored
-
- 01 Dec, 2020 4 commits
-
-
me-no-dev authored
-
Clemens Kirchgatterer authored
Replace (depricated) bzero, bcopy with memset and memcpy.
-
Clemens Kirchgatterer authored
Replace (depricated) bzero with memset.
-
Me No Dev authored
esp-face: master 420fc7e esp32-camera: master 0107093
-
- 23 Nov, 2020 1 commit
-
-
Marc J authored
Fixes #4558
-