1. 14 Nov, 2020 1 commit
  2. 12 Nov, 2020 1 commit
  3. 10 Nov, 2020 3 commits
  4. 09 Nov, 2020 1 commit
  5. 08 Nov, 2020 2 commits
  6. 06 Nov, 2020 6 commits
  7. 04 Nov, 2020 2 commits
  8. 03 Nov, 2020 5 commits
  9. 02 Nov, 2020 19 commits
    • Mark D's avatar
      Trailing spaces (#3738) · 56a7ae87
      Mark D authored
      * fix typo in WiFiMulti
      
      * clean up trailing spaces
      
      * clean up script file used in cleaning
      Co-authored-by: default avatarMe No Dev <me-no-dev@users.noreply.github.com>
      56a7ae87
    • Denys Fedoryshchenko's avatar
      Handle stream timeouts properly, for slow HTTP/HTTPS links (#3752) · e4b008e7
      Denys Fedoryshchenko authored
      This patch fixes update timeouts (error #6) on slow HTTP/HTTPS links.
      e4b008e7
    • HACKER3000's avatar
      Add more options to the AI thinker cam. (#4253) · 76afaf2d
      HACKER3000 authored
      * Add more options to the AI thinker cam.
      
      The reason is power saving and compatibility of cheap chines clones with crappy flash chips.
      76afaf2d
    • saknarak's avatar
      improve & fix BLEScan when wantDuplicates (#3995) · dccb4e86
      saknarak authored
      * 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
      dccb4e86
    • Jorropo's avatar
      Add initial support for arm64 toolchain. (#4117) · c2346c37
      Jorropo authored
      Closes #4111.
      gcc: I was not able to find an arm64 build on espressif's website so I choosed to put the armhf version, even if this should works this is only ok as temporary, arm64 runs better on arm64 than armhf :)
      esptool: being interpreted python its ok
      mkspiff: need igrr/mkspiffs#74 to be merged and artifacts added in /package/package_esp32_index.template.json.
      c2346c37
    • sasaki takeru's avatar
    • Ivorius's avatar
      Add sdkconfig option CONFIG_ARDUINO_UDP_TASK_PRIORITY, which sets the task... · 0e341a61
      Ivorius authored
      Add sdkconfig option CONFIG_ARDUINO_UDP_TASK_PRIORITY, which sets the task priority for the UDP vtask." (#4131)
      
      0e341a61
    • buxtronix's avatar
      Fix BLE connection handling (#4137) · 76cd2e23
      buxtronix authored
      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.
      76cd2e23
    • buxtronix's avatar
      Fix parameter to BLEDevice::updatePeerDevice (#4133) · 9f7ff009
      buxtronix authored
      ::addPeerDevice and ::removePeerDevice are called with m_appId, so should ::updatePeerDevice as all use the same parameter for the underlying map's key.
      9f7ff009
    • Me No Dev's avatar
      Fix header parsing · 704b71da
      Me No Dev authored
      fixes #4454
      
      closes #4455
      704b71da
    • Ernst Sikora's avatar
      Fix for issue #4158: BLEAdvertising - Crash with stack trace originating in Bluedroid (#4182) · 7c057217
      Ernst Sikora authored
      * 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.
      7c057217
    • Niklas Mollenhauer's avatar
      Add sendContent overload that takes a const char* and a length (#4276) · f57c3678
      Niklas Mollenhauer authored
      The web server currently lacks the ability to send a buffer. Only strings are supported.
      
      This PR adds an overload to sendContent.
      f57c3678
    • Hristo Kapanakov's avatar
      HTTPUpdateServer library (#4244) · 3054bdf5
      Hristo Kapanakov authored
      3054bdf5
    • lbernstone's avatar
      Update ISSUE_TEMPLATE.md (#4416) · 1014ba40
      lbernstone authored
      Make options list into a table
      1014ba40
    • Ivan Golubic's avatar
      Fix for espressif#3460 issue (#4424) · d6b91872
      Ivan Golubic authored
      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: default avatarIvan Golubic <ivan@mvt-solutions.com>
      d6b91872
    • Me No Dev's avatar
      Merge pull request #4429 from Bmooij/feature/Add_flash_helper_constructor_to_Uri · d6b383f8
      Me No Dev authored
      Add flash helper constructor to Uri
      d6b383f8
    • thewavelength's avatar
      Add partition label argument to Update and ArduinoOTA classThe UpdateClass in... · cadbad88
      thewavelength authored
      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.
      cadbad88
    • thewavelength's avatar
      Add partition label argument to SPIFFS (#4443) · 3cbfa2ff
      thewavelength authored
      * 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.
      3cbfa2ff
    • Jimmy Durand Wesolowski's avatar
      Fixing BLE GATT Characteristic notification and Characteristic Descriptor read (#4464) · 360e04fa
      Jimmy Durand Wesolowski authored
      * BLERemoteChar: fix descriptor 2902 write for characteristic notifications
      
      When registering a notification on a characteristic, the 2902 descriptor
      (CCCD) value is set to 1 (or 2 for indication).
      According to the BLUETOOTH CORE SPECIFICATION Version 5.2, Revision Date
      2019-12-31, section 4.12.3 "Write Characteristic Descriptors" (page 1588),
      the characteristic descriptor write must expect a response.
      Currently, the descriptor write is performed without expecting a reponse,
      which prevents the notification to be functional with some BLE stacks.
      This commit modify the write to expect the response.
      Signed-off-by: default avatarJimmy Durand Wesolowski <jimmy.durand.wesolowski@commsolid.com>
      
      * BLERemoteChar: forward GATT client event to characteristic descriptors
      
      This commits prevents a permanent wait when calling BLERemoteDescriptor
      readValue function, on the m_semaphoreReadDescrEvt semaphore.
      
      ESP32 BLE stack calls to remote characteristic
      - notification,
      - value read
      - value write
      and remote characteristic descriptor
      - value read
      are asynchronous.
      
      When such a call is performed by this library, a semaphore is taken prior
      to the BLE stack read or write operation, and waited on after it.
      
      Releasing the semaphore is done by the characteristic event handling
      function (gattClientEventHandler), when the appropriate event is received.
      
      However, the characteristic descriptor events are discarded, and the
      value read semaphore is never released.
      
      This commits forwards the GATT client events from the remote
      characteristic down to their remote characteristic descriptor, and
      implements their event handling.
      
      Adding a semaphore for the remote characteristic descriptor value write
      will be done in a separate commit.
      Signed-off-by: default avatarJimmy Durand Wesolowski <jimmy.durand.wesolowski@commsolid.com>
      
      * BLERemoteDescriptor: add semaphore to characteristic descriptor write
      
      This adds a semaphore to characteristic descriptor value write, to mimic
      the value read function, and to ensure completion of the operation before
      we carry on.
      Signed-off-by: default avatarJimmy Durand Wesolowski <jimmy.durand.wesolowski@commsolid.com>
      Co-authored-by: default avatarJimmy Durand Wesolowski <jimmy.durand.wesolowski@commsolid.com>
      360e04fa