1. 18 2月, 2021 2 次提交
  2. 17 2月, 2021 1 次提交
  3. 16 2月, 2021 8 次提交
    • E
      Improve cleanup in BLEClient (#4742) · 9be784f6
      Emanuel Posescu 提交于
      - 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
      9be784f6
    • M
      Refactor BLEAdvertisedDevice (#4739) · 7cdfb8bc
      Markus Frey 提交于
      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
      7cdfb8bc
    • M
      Fix leak of memory and possible crashes in AsyncUDP · 8134a421
      me-no-dev 提交于
      8134a421
    • A
      AsyncUDP: Added lastErr helper variable (#4789) · f13ff656
      Andre Lorbach 提交于
      The variable is useful when debugging AsyncUDP send problems.
      The upper application can read and analyze the error reason.
      f13ff656
    • U
      Fixed a memory leak in BLE (issue #4753) (#4761) · e831680a
      ushiboy 提交于
      * Fixed crash on delete after disconnect
      
      * Fixed memory leak when getting characteristics
      
      * Removed guard
      Co-authored-by: Nushiboy <ushiboy.dev@gmail.com>
      e831680a
    • S
      Added more inclusive CORS policy (#4767) · d9648738
      Szymon Zmilczak 提交于
      d9648738
    • M
      Speed up upload by a factor of 17 (#4787) · 7e8993fc
      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
      7e8993fc
    • M
      Idf release/v3.3 d8082b7f3 · 15bae92a
      Me No Dev 提交于
      * Update IDF to d8082b7f3
      15bae92a
  4. 04 2月, 2021 1 次提交
  5. 03 2月, 2021 2 次提交
  6. 21 1月, 2021 1 次提交
  7. 16 1月, 2021 1 次提交
  8. 11 1月, 2021 4 次提交
  9. 21 12月, 2020 1 次提交
  10. 01 12月, 2020 2 次提交
  11. 23 11月, 2020 2 次提交
  12. 19 11月, 2020 1 次提交
  13. 15 11月, 2020 2 次提交
  14. 11 11月, 2020 1 次提交
  15. 10 11月, 2020 1 次提交
  16. 07 11月, 2020 1 次提交
  17. 06 11月, 2020 1 次提交
    • A
      Allow faster reuse of socket, to be able to restart WifiServer. (#4306) · c6a8da61
      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.
      c6a8da61
  18. 04 11月, 2020 3 次提交
  19. 03 11月, 2020 5 次提交