zwj
615dcb4115
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-27 21:53:23 +08:00
Island
85c878acc5
Merge branch 'bugfix/relay_friend_cred_message_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.1)
See merge request espressif/esp-idf!20207
2022-09-22 14:17:36 +08:00
Jiang Jiang Jian
7b0515c3ac
Merge branch 'ci/optimize_ats_ci_flow_v4.1' into 'release/v4.1'
...
CI: optimize ATS ci flow (v4.1)
See merge request espressif/esp-idf!20181
2022-09-22 14:12:29 +08:00
Mahavir Jain
017852bc2d
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.1' into 'release/v4.1'
...
FreeRTOS: Fix event group task list race condition (v4.1)
See merge request espressif/esp-idf!19106
2022-09-21 13:16:24 +08:00
wangjialiang
d2fcb15610
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:37:41 +00:00
Island
26c7df9857
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.1' into 'release/v4.1'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.1)
See merge request espressif/esp-idf!20261
2022-09-21 11:31:17 +08:00
wangjialiang
ef45e12a40
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:33:13 +08:00
Darian Leung
51eb9bea03
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleaned up by the main task
2022-09-19 15:14:24 +08:00
Darian Leung
6358f93a51
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-09-19 15:14:24 +08:00
Island
0bb4b995be
Merge branch 'bugfix/adapt_new_btc_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.1)
See merge request espressif/esp-idf!20169
2022-09-18 14:36:02 +08:00
Chen Yudong
5ad0ccea46
CI: optimize ATS ci flow
2022-09-16 16:37:15 +08:00
wangjialiang
6160cedbdc
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 17:03:22 +08:00
Jiang Jiang Jian
b4878a0f09
Merge branch 'bugfix/stack_init_changes_v4.1' into 'release/v4.1'
...
Nimble: Check stack initialization status before executing stack command (v4.1)
See merge request espressif/esp-idf!19946
2022-09-14 16:13:32 +08:00
Jiang Jiang Jian
61bd396b39
Merge branch 'feature/sink_support_mono_v4.1' into 'release/v4.1'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.1)
See merge request espressif/esp-idf!20081
2022-09-14 16:12:39 +08:00
xiongweichao
c2411837d1
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:49:00 +08:00
Wang Meng Yang
771e1cb020
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v41' into 'release/v4.1'
...
bt: Remove trailing semicolon from bt dft initializer(v4.1)
See merge request espressif/esp-idf!19918
2022-09-07 12:00:48 +08:00
Wang Meng Yang
0441c575a8
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.1' into 'release/v4.1'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.1)
See merge request espressif/esp-idf!19955
2022-09-07 11:56:12 +08:00
Rahul Tank
0c7f0058f2
Nimble: Check stack initialization status before executing stack command
2022-09-06 10:15:42 +05:30
xiongweichao
2df7bcbe0f
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:31:10 +08:00
Pedro
62f89a3303
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-02 11:16:52 +08:00
Island
94dddbd985
Merge branch 'bugfix/vendor_model_send_message_no_memory_forv4.1' into 'release/v4.1'
...
ble_mesh:example: free the memory of malloc (v4.1)
See merge request espressif/esp-idf!19188
2022-08-25 14:14:25 +08:00
Wang Meng Yang
7332be209c
Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v4.1' into 'release/v4.1'
...
bugfix/set default number of sco connection to 1 (v4.1)
See merge request espressif/esp-idf!19588
2022-08-25 10:47:10 +08:00
Wang Meng Yang
465bd86073
Merge branch 'contrib/github_pr_9529_mr_v4.1' into 'release/v4.1'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.1)
See merge request espressif/esp-idf!19695
2022-08-25 10:45:46 +08:00
Island
bd549729d2
Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.1' into 'release/v4.1'
...
ble_mesh:ble mesh console support nimble(v4.1)
See merge request espressif/esp-idf!19607
2022-08-24 10:27:57 +08:00
Fu Hanxi
d602bf0416
Merge branch 'feat/make_property_idf_component_manager_root_level_v4.1' into 'release/v4.1'
...
Feat/make property idf component manager root level (v4.1)
See merge request espressif/esp-idf!19085
2022-08-23 13:16:29 +08:00
tgotic
ccb8b03ca5
update code to use osi_free()
2022-08-22 16:10:25 +08:00
tgotic
71c8b2ba80
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 16:10:25 +08:00
Yuan Hong Hui
614950cf4a
ble_mesh:ble mesh console support nimble
2022-08-17 14:42:52 +08:00
jincheng
190b864206
Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
...
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.
Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:15:54 +08:00
Roland Dobai
7c0f5e658e
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' (v4.1)
See merge request espressif/esp-idf!19493
2022-08-17 01:57:40 +08:00
Jiang Jiang Jian
e072b09196
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.1' into 'release/v4.1'
...
Fixed bluedroid host memory overflow for v4.1
See merge request espressif/esp-idf!18906
2022-08-16 17:48:11 +08:00
Alexey Gerenkov
af87ee2888
test/examples: Fixes expected GDB message upon thread hit breakpoint
2022-08-16 11:33:20 +03:00
Alexey Gerenkov
0f39eaa4ad
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706'
2022-08-12 14:14:53 +03:00
Island
0af44e73a4
Merge branch 'bugfix/mesh_bqb_test_issues_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix mesh v1.0 BQB test issues(v4.1)
See merge request espressif/esp-idf!19505
2022-08-11 20:09:45 +08:00
wangjialiang
e446ee2ea2
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:19:20 +08:00
wangjialiang
6b3c88873e
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:19:15 +08:00
wangjialiang
a53ebdf8a3
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:19:09 +08:00
wangjialiang
8a1325dab8
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:19:04 +08:00
wangjialiang
d3f6770665
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:18:58 +08:00
wangjialiang
0a39d9e154
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:18:54 +08:00
wangjialiang
9f073021da
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:18:48 +08:00
wangjialiang
96ecfa677e
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:18:43 +08:00
Island
b91556fbcf
Merge branch 'bugfix/friend_and_lpn_issues_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix friend and lpn issues(v4.1)
See merge request espressif/esp-idf!19478
2022-08-10 13:50:24 +08:00
wangjialiang
3fa1f36fbc
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:51:39 +08:00
wangjialiang
d024b4aafa
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:51:31 +08:00
Island
5cd0893407
Merge branch 'bugfix/restore_missing_ble_mesh_videos_v4.1' into 'release/v4.1'
...
ble_mesh: doc: Restore missing ble mesh videos(v4.1)
See merge request espressif/esp-idf!19406
2022-08-08 17:12:13 +08:00
wangjialiang
280f577a64
ble_mesh: doc: Restore missing ble mesh videos
2022-08-05 13:59:14 +08:00
Jiang Jiang Jian
377a5d78db
Merge branch 'bugfix/espnow_recv_unencrypted_packets_issue_v4.1' into 'release/v4.1'
...
esp_wifi: fix espnow recv unencrypted packets issue (backport v4.1)
See merge request espressif/esp-idf!19386
2022-08-05 12:11:07 +08:00
Jiang Jiang Jian
da82c4f804
Merge branch 'bugfix/wlan_fixes_backports_v4.1' into 'release/v4.1'
...
esp_wifi: Fix some wlan issues(backport v4.1)
See merge request espressif/esp-idf!19363
2022-08-04 21:45:17 +08:00
zhangyanjiao
9c6d54b9f6
esp_wifi: fix espnow recv unencrypted packets issue
2022-08-04 15:10:22 +08:00