Wang Cheng
bfaa14bfdd
component/bt: Fix buffer count deinit crash.
2020-08-10 11:43:54 +08:00
wangcheng
12d476427f
components/bt: Add api to query the number of available buffers for the current connection
2020-08-10 11:43:54 +08:00
baohongde
debda4a63f
Fix ble disconnect due to instant of channel map update is too small
...
Set AFH in time
Fix ble connecting fail in coexist
2020-08-10 11:43:54 +08:00
baohongde
b76f5b2ef2
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-08-10 11:43:54 +08:00
wangcheng
d674016d64
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-08-10 11:43:17 +08:00
Piyush Shah
52c089fba7
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-08-06 18:25:53 +00:00
He Yin Ling
aa6730f0e2
Merge branch 'bugfix/checkout_ref_auto_test_script' into 'release/v3.3'
...
CI: IT jobs use incorrect auto test script branch
See merge request espressif/esp-idf!9867
2020-07-31 17:45:04 +08:00
Jiang Jiang Jian
593ca2255c
Merge branch 'mesh/bugfix_set_type_v3.3' into 'release/v3.3'
...
Mesh/bugfix (backport v3.3)
See merge request espressif/esp-idf!9179
2020-07-30 21:17:11 +08:00
Chen Yudong
dc5eeb8e4b
ci: fix auto test script uses incorrect branch
2020-07-30 20:55:37 +08:00
Jiang Jiang Jian
44791067ec
Merge branch 'nimble/nrpa_support_v3.3' into 'release/v3.3'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v3.3)
See merge request espressif/esp-idf!9735
2020-07-29 16:35:25 +08:00
Angus Gratton
4f5577446b
Merge branch 'bugfix/rs485_test_temp_disable_v33' into 'release/v3.3'
...
Bugfix/rs485 test temp disable v33 (backport v3.3)
See merge request espressif/esp-idf!9521
2020-07-24 11:14:57 +08:00
Prasad Alatkar
7aab15f33d
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v3.3)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:28:42 +05:30
aleks
b64f4bced8
ci: temporarily disable RS485 related tests
2020-07-22 08:46:57 +00:00
Angus Gratton
bf02206096
Merge branch 'ci/workaround_multiple_ci_failures_v3.3' into 'release/v3.3'
...
CI: workaround multiple ci failures (v3.3)
See merge request espressif/esp-idf!9687
2020-07-22 11:54:45 +08:00
yuanjm
e5066c9969
feat(lwip): make LWIP TCP rto time configurable
2020-07-20 07:58:06 +00:00
Angus Gratton
07942e3991
Merge branch 'bugfix/cmake_bugfixes_v3.3' into 'release/v3.3'
...
CMake-related bugfixes (v3.3)
See merge request espressif/esp-idf!8069
2020-07-20 08:43:52 +08:00
Angus Gratton
62a187b55b
Merge branch 'feature/msys2_toolchain_v3.3' into 'release/v3.3'
...
windows: Update the prebuilt MSYS2 environment to use new toolchain
See merge request espressif/esp-idf!9624
2020-07-20 08:23:08 +08:00
He Yin Ling
858e12a040
CI: do not run cases likely to fail
2020-07-19 15:30:15 +08:00
He Yin Ling
bfb7757feb
CI: disable cases with test env SSC_T5_1
2020-07-19 15:26:29 +08:00
He Yin Ling
de82bd5d19
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 15:24:55 +08:00
He Yin Ling
9a205c654d
CI: remove incorrect MTU related cases
2020-07-19 15:23:21 +08:00
Angus Gratton
ff2fef7e91
windows: Update the prebuilt MSYS2 environment to use then new toolchain
...
No other changes in the environment contents.
2020-07-15 12:04:09 +10:00
chenyudong
83fdac780c
mesh/ci: fix MESH_EST_0216
2020-07-10 17:57:36 +08:00
chenyudong
7c95474f6c
mesh: backport some bugfixes
...
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-07-10 17:57:34 +08:00
lly
28c0673376
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:56 +08:00
lly
9eb66d49e4
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:15:49 +08:00
Shubham Kulkarni
b45e2699b2
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 10:02:07 +05:30
Shubham Kulkarni
e84ad136b9
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-07-08 10:00:48 +05:30
Shubham Kulkarni
22926742be
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 10:00:48 +05:30
Angus Gratton
a4fe300cc9
Merge branch 'bugfix/bootloader_efuse_clock_freq_v3.3' into 'release/v3.3'
...
bootloader: Fix regression burning efuses late in boot process
See merge request espressif/esp-idf!9489
2020-07-08 10:29:01 +08:00
Angus Gratton
9d6c3632e8
bootloader: Fix regression burning efuses late in boot process
...
APB clock get functions not included in iram_loader_seg, meaning
could be overwritten by app depending on app IRAM size and linker
layout.
Regression in dd5190868a
Closes https://github.com/espressif/esp-idf/issues/5456
2020-07-06 16:42:46 +10:00
Jiang Jiang Jian
4891fcea78
Merge branch 'bugfix/beacon_security_downgrade_v3.3' into 'release/v3.3'
...
Avoid parsing RSN/WPA IE's after connection (Backport v3.3)
See merge request espressif/esp-idf!9268
2020-07-03 14:32:04 +08:00
Island
bfb3690821
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh fast prov misc update (v3.3)
See merge request espressif/esp-idf!9464
2020-07-03 11:13:39 +08:00
lly
8753fb359a
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:54:59 +08:00
lly
bbf4ce8d18
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:54:51 +08:00
Island
be526abc13
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh split tinycrypt (v3.3)
See merge request espressif/esp-idf!9373
2020-07-02 22:45:50 +08:00
Nachiket Kukade
2edc576419
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 04:06:35 +00:00
lly
d76a3a8372
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:38:18 +00:00
lly
e36105156c
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:38:18 +00:00
lly
9060de827f
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:38:18 +00:00
lly
8887bd5f3c
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:38:18 +00:00
lly
0940f5b2c3
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:38:18 +00:00
lly
d690e52993
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:38:18 +00:00
lly
12b9f59559
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:38:18 +00:00
Island
d7353cd2ea
Merge branch 'bugfix/ble_mesh_readme_fix_v3.3' into 'release/v3.3'
...
ble_mesh: example: Fix example README & tutorial link error (v3.3)
See merge request espressif/esp-idf!9437
2020-07-02 11:29:54 +08:00
Island
742f40a211
Merge branch 'bugfix/ble_mesh_compile_error_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh compile error (v3.3)
See merge request espressif/esp-idf!9433
2020-07-02 11:29:15 +08:00
lly
144ae4a7fd
ble_mesh: example: Fix example README & tutorial link error
2020-07-01 14:40:42 +08:00
fuzhibo
44887f5fde
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 06:16:35 +00:00
lly
7a939c148c
ble_mesh: ci: Add different proxy configurations
2020-07-01 12:36:08 +08:00
lly
f835011e2f
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 12:32:04 +08:00