- 16 2月, 2021 2 次提交
-
-
由 Mitch Bradley 提交于
* 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 提交于
* Update IDF to d8082b7f3
-
- 04 2月, 2021 1 次提交
-
-
- 03 2月, 2021 2 次提交
-
-
- 21 1月, 2021 1 次提交
-
-
由 Emanuel Posescu 提交于
-
- 16 1月, 2021 1 次提交
-
-
由 bot1131357 提交于
-
- 11 1月, 2021 4 次提交
-
-
由 Keegan Morrow 提交于
-
由 richardclli 提交于
Added authentication callbacks and example, resolves #4622.
-
由 Andrew 提交于
BLERemoteCharacteristic::registerForNotify: Permit event registration without updating descriptor. (#4659)
-
由 Verkehrsrot 提交于
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) {
-
- 21 12月, 2020 1 次提交
-
-
由 Me No Dev 提交于
-
- 01 12月, 2020 2 次提交
-
-
由 Clemens Kirchgatterer 提交于
Replace (depricated) bzero, bcopy with memset and memcpy.
-
由 Clemens Kirchgatterer 提交于
Replace (depricated) bzero with memset.
-
- 23 11月, 2020 2 次提交
-
-
由 Marc J 提交于
Fixes #4558
-
由 Mike Dunston 提交于
Set the category to silence this warning in the Arduino IDE: ``` WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized' ```
-
- 19 11月, 2020 1 次提交
-
-
由 Sweety 提交于
-
- 15 11月, 2020 2 次提交
-
-
由 lbernstone 提交于
-
-
- 11 11月, 2020 1 次提交
-
-
由 Clemens Kirchgatterer 提交于
Do not pollute the global namespace with generic names like 'config' by declaring global variables 'static'.
-
- 10 11月, 2020 1 次提交
-
-
由 Robby Decosemaeker 提交于
-
- 07 11月, 2020 1 次提交
-
-
由 Me No Dev 提交于
-
- 06 11月, 2020 1 次提交
-
-
由 ahorn42 提交于
See #3960 for more details of the problem and the solution. I only implemented what was proposed in this ticket, as it solves my problem, which was the same as in this ticket. Credits for the code going to @etrinh ;-) This also is a more consistence behaviour compared to esp8266, where it also is possible to restart the wifiserver immediately on the same port.
-
- 04 11月, 2020 3 次提交
- 03 11月, 2020 14 次提交
-
-
由 lbernstone 提交于
Checks to see if a string is a key in the namespace. Fixes #4440
-
由 Mark D 提交于
* fix typo in WiFiMulti * clean up trailing spaces * clean up script file used in cleaning Co-authored-by: NMe No Dev <me-no-dev@users.noreply.github.com>
-
由 Denys Fedoryshchenko 提交于
This patch fixes update timeouts (error #6) on slow HTTP/HTTPS links.
-
由 saknarak 提交于
* improve & fix BLEScan when too many BLE devices - when wantDuplicates, no need to check duplicate and no more insert into vector - delete advertisedDevice when not insert into vector, fix memory leak - add showParse when you just want raw advertised data
-
由 Ivorius 提交于
Add sdkconfig option CONFIG_ARDUINO_UDP_TASK_PRIORITY, which sets the task priority for the UDP vtask." (#4131)
-
由 buxtronix 提交于
Remove device from Peer list if connection fails. Only call onConnect callback if connection was successful. Only call onDisconnect callback if the connection was previously connected (ESP_GATTC_DISCONNECT_EVT is fired on a unsuccessful connection attempt also). Resolves a number of issues with phantom events and callbacks being fired.
-
由 buxtronix 提交于
::addPeerDevice and ::removePeerDevice are called with m_appId, so should ::updatePeerDevice as all use the same parameter for the underlying map's key.
-
由 Me No Dev 提交于
fixes #4454 closes #4455
-
由 Ernst Sikora 提交于
* Fix for issue #4158: Crash with stack trace originating in Bluedroid Improved configuration of scan response data in 'BLEAdvertising' avoids the crash: - Added member variable 'm_scanRespData' to configure scan response differently from advertising data - Initialization of 'm_scanRespData' in BLEAdvertising constructor - Use of 'm_scanRespData' within BLEAdvertising::start() to configure the scan response - 'Flags' and 'Appearance' are cleared in the scan response data - With this fix, device names of up to 29 characters can be used without causing a crash.
-
由 Niklas Mollenhauer 提交于
The web server currently lacks the ability to send a buffer. Only strings are supported. This PR adds an overload to sendContent.
-
由 Hristo Kapanakov 提交于
-
由 Ivan Golubic 提交于
Fixes: #3460 This code has been run in production for 1 month and it looks stable, no data dropped and it definitely fixes the issue described. I think that this can be merged to avoid using custom package referencing in PlatformIO that has been used in quite a few projects for now. Co-authored-by: NIvan Golubic <ivan@mvt-solutions.com>
-
由 thewavelength 提交于
Add partition label argument to Update and ArduinoOTA classThe UpdateClass in the Updater component has the ability to update data toa SPIFFS partition. It selects the first available partition using theESP-IDF esp_partition_find_first() function.That behaviour is problematic if one has multiple SPIFFS partitions.This change allows a user to pass the label argument (defaults to NULL)to UpdateClass::begin() so a specific SPIFFS partition can be updated.Additionally, ArduinoOTA can set this partition label using thenew method ArduinoOTAClass::setPartitionLabel which is optional.This change does not break compatibility. (#4442) The UpdateClass in the Updater component has the ability to update data to a SPIFFS partition. It selects the first available partition using the ESP-IDF esp_partition_find_first() function. That behaviour is problematic if one has multiple SPIFFS partitions. This change allows a user to pass the label argument (defaults to NULL) to UpdateClass::begin() so a specific SPIFFS partition can be updated. Additionally, ArduinoOTA can set this partition label using the new method ArduinoOTAClass::setPartitionLabel which is optional. This change does not break compatibility.
-
由 thewavelength 提交于
* Add partition label argument to SPIFFSSPIFFS currently assumes there is only ever one partition.This change allows a user to pass the label argument (defaults to NULL)to SPIFFS::begin() so a specific SPIFFS partition can be referenced.This change does not break compatibility.
-