Jin Cheng
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
Shen Weilong
699dde8a38
Fixed the bluedroid hci crash due insufficient memory on ESP32C2
2023-02-03 20:41:23 +08:00
AlbertWDev
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
Jin Cheng
4c6aad37f6
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:46:04 +08:00
Rahul Tank
72e637750e
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-28 10:17:10 +05:30
Jiang Jiang Jian
7dae4181a8
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
Jiang Jiang Jian
368ede2eb4
Merge branch 'bugfix/spp_vfs_memory_leak_v5.0' into 'release/v5.0'
...
Component_bt/fix esp_spp_vfs_register memory leak(v5.0)
See merge request espressif/esp-idf!21678
2022-12-20 10:37:10 +08:00
chenjianhua
938d912daa
bluedroid: fix ble connection update with same params
2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4
bluedroid: correct the length of att read by type pdu
2022-12-19 20:17:00 +08:00
Jiang Jiang Jian
dfa9a81233
Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'
...
Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)
See merge request espressif/esp-idf!21620
2022-12-19 19:33:27 +08:00
xiongweichao
32a50118a4
Assert when malloc user_data fail
2022-12-19 11:32:19 +08:00
xiongweichao
29b718bdf5
Fixed memory leak when SPP initialization failed
2022-12-19 11:32:09 +08:00
xiongweichao
3f5aaf11db
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-19 11:32:01 +08:00
xiongweichao
71bd180095
bt: Update HFP version to v1.8
2022-12-15 16:57:56 +08:00
xiongweichao
e5794669de
bt: Update A2DP version to v1.4
2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 16:57:46 +08:00
Rahul Tank
1623ad0a25
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-15 13:41:24 +05:30
Jiang Jiang Jian
232a4aee15
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
...
feature/report ACL link related events to application (v5.0)
See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Jiang Jiang Jian
88a82c89c6
Merge branch 'feature/nimble_support_ble_max_conn_num_v5.0' into 'release/v5.0'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21550
2022-12-14 10:44:50 +08:00
Rahul Tank
71e1c0a564
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-13 12:56:06 +05:30
Jiang Jiang Jian
12535d6d75
Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)
See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b
Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)
See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
xiongweichao
6fdd8552da
Fixed incorrect parameters in switching to BTC context
2022-12-12 11:26:39 +08:00
xiongweichao
c0392d3dd9
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-12 11:26:34 +08:00
xiongweichao
f9732cb65f
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-12 11:26:26 +08:00
Wang Meng Yang
818ba6affb
Merge branch 'bugfix/spp_50005_crash_v5.0' into 'release/v5.0'
...
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM(v5.0)
See merge request espressif/esp-idf!20822
2022-12-12 11:00:28 +08:00
Rahul Tank
7d68a35cbe
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-11 18:16:05 +05:30
jincheng
80da46eff3
Added reporting for ACL link related events to application
2022-12-09 11:07:50 +08:00
Jin Cheng
a1de1bfd3c
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:24:24 +08:00
Jiang Jiang Jian
ed663e395f
Merge branch 'feature/support_le_power_control_v5.0' into 'release/v5.0'
...
Nimble: Add LE Power CTRL changes (v5.0)
See merge request espressif/esp-idf!21188
2022-12-08 11:53:00 +08:00
xiongweichao
654e198464
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-12-07 09:38:24 +00:00
xiongweichao
6d57e7878d
bt: Keep the maximum number of credits unchanged
2022-12-07 09:38:24 +00:00
xiongweichao
aa25c4391c
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8
bt: Split SPP application layer data packets according to the MTU of the peer
2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-12-07 09:38:24 +00:00
Wang Meng Yang
23f7989006
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v5.0' into 'release/v5.0'
...
Reduce the stack consumption of BTU_TASK (backport v5.0)
See merge request espressif/esp-idf!21434
2022-12-07 11:29:39 +08:00
Rahul Tank
e8e79e8e16
Nimble: Add LE Power CTRL changes
2022-12-06 14:56:20 +05:30
Jiang Jiang Jian
0e04bff488
Merge branch 'feature/LE_Conn_Subrating_v5.0' into 'release/v5.0'
...
Nimble: Stack support for Connection subrating feature (v5.0)
See merge request espressif/esp-idf!20814
2022-12-06 17:21:57 +08:00
Island
8e4bcb4875
Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
zwj
7884457d1f
Reduce the stack consumption of BTU_TASK
2022-12-05 17:12:27 +08:00
Wang Meng Yang
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
Rahul Tank
586a4715ad
Nimble: Stack support for Connection subrating feature
2022-12-05 09:26:11 +05:30
Jiang Jiang Jian
316e0e2295
Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]
See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
f83a531929
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)
See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
Jiang Jiang Jian
d92765bf9c
Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
...
bt/optimized a2dp_sink audio datapath (v5.0)
See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
52b0a5a1d5
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]
See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
Jiang Jiang Jian
6442112bb9
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)
See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
af7322aed5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
Jiang Jiang Jian
5e461357a0
Merge branch 'bugfix/esp_spp_write_len_0_v5.0' into 'release/v5.0'
...
bt: Fixed esp_spp_write() crash when len is 0(v5.0)
See merge request espressif/esp-idf!20704
2022-12-02 19:53:19 +08:00
Jiang Jiang Jian
53746605d8
Merge branch 'bugfix/esprv_intc_int_set_type_error_v5.0' into 'release/v5.0'
...
Nimble: Fixed esprv_intc_int_set_type() usage (v5.0)
See merge request espressif/esp-idf!20616
2022-12-02 19:51:10 +08:00
Shen Weilong
dcc310f468
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:22:53 +08:00
zhiweijian
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
liqigan
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
xiongweichao
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
Jin Cheng
75b2e639e1
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
zwj
0af189b012
Fixed errors reported by CI clang_tidy_check
2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 10:33:35 +08:00
liqigan
2539529360
fix HFP client parse CLCC command response bug
2022-11-18 19:38:58 +08:00
Jin Cheng
650b665384
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
xiongweichao
cb647b5198
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:41:09 +08:00
xiongweichao
47232f54a8
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
Rahul Tank
11c44c9838
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-21 12:47:14 +05:30
Jin Cheng
3314fcfdf7
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:47:10 +08:00
Rahul Tank
50b1a99a47
Nimble: Update the esprv_intc_int_set_type() usage
2022-10-18 06:06:44 +00:00
Jiang Jiang Jian
5c2a41d659
Merge branch 'bugfix/close_stack_callback_during_ble_stop_v5.0' into 'release/v5.0'
...
Nimble: Added check to deregister stack callback with controller during (v5.0)
See merge request espressif/esp-idf!20603
2022-10-16 11:14:46 +08:00
Jiang Jiang Jian
7bd5af7f1e
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!20403
2022-10-14 17:15:15 +08:00
Rahul Tank
d6ea9b9643
Nimble: Added check to deregister stack callback with controller during
2022-10-14 12:08:15 +05:30
Jiang Jiang Jian
d1b989dae2
Merge branch 'bugfix/reorder_stack_deinit_function_v5.0' into 'release/v5.0'
...
Nimble: Removed extra deinit for flow timer (v5.0)
See merge request espressif/esp-idf!20308
2022-10-14 13:58:53 +08:00
Jin Cheng
dec4052ed7
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-14 03:28:18 +00:00
Jiang Jiang Jian
d3ae5ed08f
Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs on bluedroid (backport v5.0)
See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
chenjianhua
a207f218ea
bluedroid: configurable max gattc cache characteristic count
2022-10-09 17:07:53 +08:00
chenjianhua
3f3ca8bf60
fix ble adv tx power map
2022-10-09 17:07:53 +08:00
chenjianhua
548cce624c
bluedroid: fix ble rpa generate and update by host
2022-10-09 17:07:53 +08:00
chenjianhua
e9dd8a6bf5
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 17:07:53 +08:00
chenjianhua
f96e38a70d
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 17:07:53 +08:00
chenjianhua
03832cceeb
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 17:07:53 +08:00
zwj
2fe4ff7031
allow bluedroid host to report adv_ind separately
2022-10-08 14:53:53 +08:00
Rahul Tank
f61c51567f
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-23 15:41:50 +05:30
Jiang Jiang Jian
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
Jiang Jiang Jian
27a9e68d2c
Merge branch 'bugfix/fix_vhci_hack_for_external_bt_v5.0' into 'release/v5.0'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled (v5.0)
See merge request espressif/esp-idf!20185
2022-09-21 09:41:33 +08:00
cjin
a5c543a7a9
fix err using rpa for confirmation calculation
2022-09-20 18:06:45 +08:00
cjin
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
cjin
143a572b55
fix on data len change cmd malfunction
2022-09-20 18:06:45 +08:00
Jiang Jiang Jian
b585bdd739
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
...
Fixed extend adv tx power range error (backport v5.0)
See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
Rahul Tank
75e375b257
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-20 11:08:16 +05:30
Jiang Jiang Jian
c85d364720
Merge branch 'feature/sink_support_mono_v5.0' into 'release/v5.0'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v5.0)
See merge request espressif/esp-idf!20075
2022-09-20 11:04:44 +08:00
Wang Meng Yang
e1a845f7f8
Merge branch 'bugfix/change_log_level_for_print_v5.0' into 'release/v5.0'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v5.0)
See merge request espressif/esp-idf!20110
2022-09-20 10:41:05 +08:00
zwj
07c4eb8841
Fixed extend adv tx power range error
2022-09-19 16:21:22 +08:00
zwl
a5b0009cf8
change block1 size and num for esp ble controller
2022-09-16 14:41:28 +08:00
xiongweichao
09cc360b43
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-15 11:35:25 +00:00
Roshan Bangar
05863cb267
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:27:13 +05:30
satish.solanke
622bfa3e28
updating doc for the issue doc_3566
2022-09-09 10:32:53 +05:30
Jiang Jiang Jian
cb508c7d6a
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)
See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
Jiang Jiang Jian
3be0bae9d8
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v5.0' into 'release/v5.0'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v5.0)
See merge request espressif/esp-idf!19995
2022-09-08 17:18:22 +08:00
zwj
dc010b701b
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:28:06 +08:00
Rahul Tank
4ffafc3aa6
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 11:21:47 +05:30
xiongweichao
607400a048
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:19:21 +08:00
Jiang Jiang Jian
16e961a336
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v5.0' into 'release/v5.0'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v5.0)
See merge request espressif/esp-idf!19747
2022-08-29 22:47:38 +08:00
Jiang Jiang Jian
40ca58496b
Merge branch 'bugfix/fix_ble_sch_arb_assert_v5.0' into 'release/v5.0'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!19732
2022-08-25 13:44:29 +08:00
Rahul Tank
b316ff3661
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 10:49:43 +05:30
Jiang Jiang Jian
4b02b56f77
Merge branch 'bugfix/bt_invalid_workqueue_num_v5.0' into 'release/v5.0'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v5.0)
See merge request espressif/esp-idf!19580
2022-08-24 16:49:26 +08:00
Jiang Jiang Jian
c05c1a2e11
Merge branch 'bugfix/increase_leading_space_for_alloc_v5.0' into 'release/v5.0'
...
Nimble: Add extra space for buffer allocation for ESP IP (v5.0)
See merge request espressif/esp-idf!19731
2022-08-24 14:00:06 +08:00
zwj
1c1a3845ba
fix extend adv set remove failed
2022-08-23 19:42:16 +08:00
Rahul Tank
c6d3708558
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 17:09:15 +05:30
satish.solanke
9b6d1b91c0
Support of Micro defination in header file
2022-08-23 12:05:30 +05:30
wangmengyang
518ace6bb5
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-16 17:19:58 +08:00
linruihao
d3940a6fe0
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 14:38:32 +08:00
tgotic
a29b415749
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 14:38:08 +08:00
Karl Wang
2462003fde
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-02 17:40:00 +08:00
wangmengyang
f402778320
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-02 17:40:00 +08:00
Karl Wang
8c756dad23
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-02 17:40:00 +08:00
wangmengyang
85fc8321c8
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-02 17:37:24 +08:00
wangmengyang
9bda2381ea
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-02 14:14:07 +08:00
wangmengyang
5f074e1336
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-02 14:14:07 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00
wangmengyang
9a5f854760
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-02 14:14:07 +08:00
Karl Wang
a075aa564f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
2022-08-02 14:14:07 +08:00
wangmengyang
57336e0a0e
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-02 14:14:07 +08:00
wangmengyang
3c8671f592
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-02 14:14:07 +08:00
wangmengyang
578bfa3600
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-02 14:14:07 +08:00
wangmengyang
81c87cf4ca
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-02 14:14:07 +08:00
weitianhua
e51df179ad
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 11:37:46 +08:00
Rahul Tank
2be66a6151
Nimble: Configurable option to modify max gatt procedures allowed for GATT
...
client
2022-07-27 08:59:37 +00:00
GengYuchao
964304b751
Change the selection based on target to function selection
2022-07-20 13:06:56 +08:00
GengYuchao
298583b116
Fix nimble port api adapt remove esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
5430ad0519
Remove esp_nimble_hci_and_controller_init function
2022-07-20 11:44:00 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
Isha Pardikar
183100fc28
Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called.
2022-07-14 09:41:05 +05:30
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
Darian
e9385aa5c0
Merge branch 'bugfix/bluedroid_typos' into 'master'
...
Bluedroid: Fix breaking and non-breaking typos
Closes IDFGH-5103
See merge request espressif/esp-idf!18596
2022-06-22 14:31:50 +08:00
jincheng
b5d1464180
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-06-22 11:33:04 +08:00
Onkar
f2384a4b83
Bugfix: bond not saved properly after re-pairing
2022-06-21 19:36:35 +08:00
Darian Leung
a8805e5b01
bluedroid: Fix non breaking typos
2022-06-21 19:07:25 +08:00
Darian Leung
c2e098c10e
bluedroid: Fix breaking change typos
...
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.
Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
GengYuchao
d0a1fb1802
Fix nimble repo for timer and co_count
2022-06-20 21:18:54 +08:00
GengYuchao
0184d892ef
Fix for prototype
2022-06-20 21:18:20 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
GengYuchao
42d70086ae
Sync nimble fix for bt component
2022-06-20 17:00:12 +08:00
GengYuchao
7916f45d58
Update the host configuration options file. Update the osi malloc function.
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
Jiang Jiang Jian
20e5a989a2
Merge branch 'feature/esp32c2_support_ble_sleep' into 'master'
...
Support ESP32C2 BLE modem sleep and lightsleep
See merge request espressif/esp-idf!18432
2022-06-15 15:39:55 +08:00
Jiang Jiang Jian
60327aeea4
Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'
...
component_bt: Fix AVDTP general reject format error
See merge request espressif/esp-idf!17636
2022-06-15 11:07:55 +08:00
Jiang Jiang Jian
49c53dbe03
Merge branch 'feature/update_hfp_ag_version' into 'master'
...
component_bt: Update hfp_ag version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!18329
2022-06-15 11:05:36 +08:00
zwj
a9509ec34c
disable BT_BLE_RPA_SUPPORTED by default and enabled by default for other chips
2022-06-14 19:57:07 +08:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
xiongweichao
d52cb7d6e4
update hfp_ag version to 1.7.2
2022-06-07 17:17:03 +08:00
Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
6884d98c23
Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
...
Bugfix/add bda to read rmt name param
Closes IDFGH-7459
See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
xiongweichao
b777a53fe8
support add and search raw sdp record
2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a
sdp support create and search PBAPC record
2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a
Split jv_rfcomm and jv_l2cap
2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a
add sdp api
2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047
add l2cap api
2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b
Modify the format of esp_a2dp_api.h comments
2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456
add source handle the delay report
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00