1. 01 10月, 2020 4 次提交
    • N
      Update Parsing.cpp (#4217) · 663effa0
      nicolaser15 提交于
      * Update Parsing.cpp
      
      When uploading TLS cert files the end of file "-----END CERTIFICATE-----" (or any kind of file with the sequence "CRLF--") is taken as posible end boundary. Then it is compared to the start boundary string. As it is expected, comparison turns to be false, and the whole end boundary string is put to _currentUpload->buf through _uploadWriteByte(). Here you have the problem: if you read boundary.length() bytes from HTTP request and you have some of the actual end boundary bytes in it, when you put all those bytes into _currentUpload->buf you are making a mistake. You will miss the actual end boundary string because some of those bytes were put in _currentUpload->buf.
      
      * Update Parsing.cpp
      663effa0
    • L
      rmdir causes issues in SPIFFS. Fixes #4138, albeit not very cleanly (#4154) · 882b12c4
      lbernstone 提交于
      SPIFFS causes crashes if you attempt to rmdir. Since there are no true directories in spiffs, this ought to be a noop. It looks like @me-no-dev worked around this by using unlink instead of rmdir, which works in fatfs and doesn't panic spiffs. This behavior is not universal. In order to get littlefs working, it would be good to get this back to conformity. Rather than digging deep into the upstream spiffs, I just check the mountpoint and noop if it is "/spiffs". So, if the user has changed the mountpoint, this will not work, but I think it's a pretty good tradeoff.
      882b12c4
    • D
      Fixed comment with correct FQDN (#4152) · 93d850f7
      Dan Head 提交于
      93d850f7
    • B
      Set scan_duplicate in BLE scan params (#4126) · 4f48caca
      buxtronix 提交于
      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.
      4f48caca
  2. 30 9月, 2020 25 次提交
  3. 25 8月, 2020 2 次提交
  4. 19 7月, 2020 1 次提交
  5. 01 6月, 2020 2 次提交
  6. 22 5月, 2020 2 次提交
  7. 21 4月, 2020 1 次提交
  8. 16 4月, 2020 1 次提交
    • S
      Add support of unified provisioning to Arduino · 2c9b6485
      sweetymhaiske 提交于
      1. WiFiProv.ino sketch is added that allows arduino users to do provisioning via SoftAP or BLE. WiFi.beginProvision( ) API is designed for provisioning in Arduino.
      2. In WiFiProv.h provisioning class is defined.
      3. WiFiProv.cpp contains implementation for provisioning class.
      4. README.md file is added which contains detail information for working.
      2c9b6485
  9. 14 2月, 2020 1 次提交
  10. 29 1月, 2020 1 次提交