Sudeep Mohanty
6e0fae9878
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-11-18 15:31:57 +05:30
Wang Meng Yang
4cc7a85701
Merge branch 'bugfix/remove_assert_when_inq_done_3.3' into 'release/v3.3'
...
component_bt: fix crash after inquiry has finished (v3.3)
See merge request espressif/esp-idf!15683
2021-11-16 04:55:50 +00:00
Michael (XIAO Xufeng)
7a49a131d3
Merge branch 'feature/support_for_esp32_pico_v3_02_v3.3' into 'release/v3.3'
...
psram: support for esp32-pico-v3-02 (backport v3.3)
See merge request espressif/esp-idf!14156
2021-11-15 06:14:37 +00:00
xiongweichao
7b5456dd27
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-11-11 11:54:00 +08:00
Chinmay Chhajed
20aec9c113
Merge branch 'bugfix/ble_conn_latency_max_value_v3.3' into 'release/v3.3'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15760
2021-11-05 08:06:45 +00:00
Island
77619bafca
Merge branch 'bugfix/ble_mesh_host_init_v3.3' into 'release/v3.3'
...
ble_mesh: nimble: return error if init host twice (v3.3)
See merge request espressif/esp-idf!15791
2021-11-05 03:13:49 +00:00
Island
0e8e3f3d28
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v3.3)
See merge request espressif/esp-idf!15787
2021-11-05 03:10:03 +00:00
lly
db313f2c00
ble_mesh: nimble: return error if init host twice
2021-11-03 19:21:27 +08:00
lly
95e27869f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-03 19:17:09 +08:00
Chinmay Chhajed
ebc93210a1
BLE: Set connection max latency value to 499.
2021-11-01 17:25:40 +05:30
Anton Maklakov
1d5a967c4c
ci: Add retries on runner system failures
2021-11-01 14:26:22 +07:00
shenjun
37e2e7599a
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send
...
1. fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2. add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-11-01 15:20:54 +08:00
Anton Maklakov
cc2e952edb
Merge branch 'bugfix/yaml_loader_parameter_3.3' into 'release/v3.3'
...
ci: fix Loader parameter in yaml.loader() (3.3)
See merge request espressif/esp-idf!15746
2021-11-01 07:12:39 +00:00
Chen Yu Dong
678275045f
ci: Fix Loader parameter in yaml.loader()
2021-11-01 11:44:55 +08:00
Anton Maklakov
e0e1fab0ab
Merge branch 'bugfix/support_py34-35_cffi_v3.3' into 'release/v3.3'
...
Tools: Constrain the cffi package for older pythons (v3.3)
See merge request espressif/esp-idf!15633
2021-10-26 09:29:33 +00:00
Sergei Silnov
77799ec529
Tools: Constrain the cffi package for older pythons
2021-10-25 12:39:20 +02:00
Wang Meng Yang
ff8531b08e
Merge branch 'bugfix/bt_x_component_key_check_v3.3' into 'release/v3.3'
...
BT: Check only for same X component of public key in BR/EDR. (3.3)
See merge request espressif/esp-idf!15594
2021-10-25 02:33:39 +00:00
Chinmay Chhajed
6b64edca6d
BT: Check only for same X component of public key in BR/EDR.
2021-10-21 13:38:16 +05:30
Anton Maklakov
15c97b5a58
Merge branch 'bugfix/retry_download_submodule_v3.3' into 'release/v3.3'
...
ci: retry download from Gitlab on error 500 (v3.3)
See merge request espressif/esp-idf!15562
2021-10-20 08:23:49 +00:00
Ivan Grokhotkov
ab4613cadf
ci: revert type annotations in gitlab_api.py to python2 compatible
2021-10-19 19:54:42 +07:00
Ivan Grokhotkov
2c011b6256
ci: retry Gitlab operations on error 500
2021-10-19 19:54:36 +07:00
Fu Hanxi
a100174f47
ci: retry download artifacts
2021-10-19 19:53:28 +07:00
Ivan Grokhotkov
f4909b8ac6
ci: fetch submodules from mirror, if enabled
2021-10-19 19:53:28 +07:00
Fu Hanxi
8340d36359
ci: retry download if catched IOError/EOFError
2021-10-19 19:53:28 +07:00
Anton Maklakov
4734765745
Merge branch 'ci/fix_deploy_docs_preview_url_v3.3' into 'release/v3.3'
...
ci: update docs preview url (v3.3)
See merge request espressif/esp-idf!15513
2021-10-19 11:51:01 +00:00
Marius Vikhammer
e0ef3bb303
ci: update docs preview url
2021-10-14 14:38:18 +08:00
Roland Dobai
38d328b566
Merge branch 'bugfix/constrain_cryptography_v3.3' into 'release/v3.3'
...
Tools: Constrain the cryptography package version in order to avoid breaking changes (v3.3)
See merge request espressif/esp-idf!15464
2021-10-11 07:21:56 +00:00
Mahavir Jain
8a53a75ac3
Merge branch 'fix/update_https_example_root_certificate_v3.3' into 'release/v3.3'
...
Updated the root certificate of https examples (v3.3)
See merge request espressif/esp-idf!15441
2021-10-11 04:00:57 +00:00
Roland Dobai
638b7f5ff4
Tools: Constrain the cryptography package for avoiding breaking changes
...
The cryptography 35 release causes breaking changes. Some of
certificates are rendered invalid and the package cannot be build
without rust. See
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3500---2021-09-29
for more details.
2021-10-10 19:27:22 +02:00
Harshit Malpani
881522c9b8
Update example test for esp_http_client
2021-10-07 17:24:20 +05:30
Harshit Malpani
7b271ac0ce
Updated the root certificate of https examples
2021-10-07 17:09:41 +05:30
Mahavir Jain
e72de12566
Merge branch 'feature/upgrade_nghttp2_component_v3.3' into 'release/v3.3'
...
nghttp2: upgrade to v1.41.0 release (v3.3)
See merge request espressif/esp-idf!15346
2021-10-05 05:40:18 +00:00
Vikram Dattu
03fc607492
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-29 09:48:47 +05:30
Mahavir Jain
c6106b5ac0
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-09-24 17:48:25 +05:30
lly
3924ca8f03
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-09-10 11:27:13 +08:00
lly
53d1eda84c
ble_mesh: stack: Support reporting normal ble adv packets
2021-09-10 11:27:13 +08:00
lly
e742889689
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-09-10 11:27:13 +08:00
lly
437b215e62
ble_mesh: stack: Move ble scan funcitons to a single file
2021-09-10 11:27:13 +08:00
lly
033a596810
ble_mesh: stack: Optimize handling received mesh adv packets
2021-09-10 11:27:13 +08:00
Roland Dobai
b95e11939d
Merge branch 'feature/oocd_ver_upgrade_v3.3' into 'release/v3.3'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902' (v3.3)
See merge request espressif/esp-idf!15136
2021-09-09 10:23:30 +00:00
Alexey Gerenkov
c571273674
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-08 21:29:26 +03:00
Wang Meng Yang
b1d235ebb5
Merge branch 'bugfix/controller_hci_uart_sdkconfig_v3.3' into 'release/v3.3'
...
controller_hci_uart: fixed the sdkconfig.defaults in the example(backport v3.3)
See merge request espressif/esp-idf!14810
2021-09-08 06:06:04 +00:00
Wang Meng Yang
2a4b854a6d
Merge branch 'bugfix/hf_disc_acl_no_disc_v3.3' into 'release/v3.3'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v3.3]
See merge request espressif/esp-idf!15060
2021-09-07 10:13:22 +00:00
Wang Meng Yang
3b30f7044c
Merge branch 'bugfix/bt_spp_timer_collision_v3.3' into 'release/v3.3'
...
Fix timer collision in role switch(v3.3)
See merge request espressif/esp-idf!14822
2021-09-06 10:06:03 +00:00
Mahavir Jain
c9033019f9
Merge branch 'feature/update_cjson_submodule_v3.3' into 'release/v3.3'
...
cJSON: Update submodule to v1.7.15 (v3.3)
See merge request espressif/esp-idf!15078
2021-09-06 09:50:53 +00:00
Wang Meng Yang
ca87b35cf1
Merge branch 'bugfix/spp_connect_20_fail_v3.3' into 'release/v3.3'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14111
2021-09-06 09:38:44 +00:00
Mahavir Jain
216d0777fd
Merge branch 'feature/update_expat_v3.3' into 'release/v3.3'
...
expat: Update library from 2.2.9 to 2.4.1(backport v3.3)
See merge request espressif/esp-idf!15072
2021-09-06 04:01:12 +00:00
jincheng
98cf27dbf8
fix timer collision in role switch
2021-09-06 10:36:54 +08:00
Shubham Kulkarni
63b2ca84c4
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:45:57 +05:30
yuanjm
6f0848aa3d
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 19:28:02 +08:00