Commit Graph

228 Commits

Author SHA1 Message Date
xiongweichao
3850fe14b6 bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail 2022-08-12 16:44:48 +08:00
satish.solanke
42743a7189 Update_sdkdefaultconfig_BLE_only_flag ESP32C2 2022-08-09 16:28:01 +00:00
jingli
ee3423834e kconfig: refactor xtal freq kconfig to common configuration item 2022-08-05 19:12:29 +08:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
satish.solanke
8e27170ba8 Added ESP32-S3 in README Bluedroid examples 2022-07-11 09:49:09 +05:30
Island
55d8a34add Merge branch 'fix/esp32c2_bluedroid_example_default_sdk' into 'master'
Support of bluedroid example for esp32c2 and esp32h2

See merge request espressif/esp-idf!18397
2022-07-09 06:55:26 +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
satish.solanke
6d86cde293 sdkconfig default for the esp32c2 2022-07-08 04:52:47 +00:00
Simon
f4eea001c8 Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0

Closes IDF-4473

See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Wang Meng Yang
a7adfd2ee6 Merge branch 'bugfix/lower_a2dp_appT_prio' into 'master'
bugfix/lower the priority of application task of a2dp demo

Closes IDFGH-7639

See merge request espressif/esp-idf!18612
2022-07-01 11:14:25 +08:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Jiang Jiang Jian
04830a3284 Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly' into 'master'
bugfix/avoid wrongly restart discovery in a2dp_source

See merge request espressif/esp-idf!18536
2022-06-29 11:24:00 +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
jincheng
eeba284ed1 lower the priority of application task of a2dp demo
Closes https://github.com/espressif/esp-idf/issues/9192
2022-06-21 21:51:25 +08:00
GengYuchao
69c63e63b3 Update examples sdkconfig defualut 2022-06-20 17:00:12 +08:00
jincheng
8a7ca296d5 avoid wrongly restart discovery 2022-06-16 14:56:29 +08:00
laokaiyao
28b8fc6a7e i2s: update documents for driver-NG 2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7 i2s: update examples and unit-tests 2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942 i2s: Introduced a brand new driver 2022-06-15 10:29:06 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00: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
fb7994ba06 Merge branch 'feature/remove_disable_gcc8_warns' into 'master'
build: remove COMPILER_DISABLE_GCC8_WARNINGS option

See merge request espressif/esp-idf!16941
2022-05-30 09:42:17 +08: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
368cb04194 Merge branch 'contrib/github_pr_8076' into 'master'
example: Synchronize includes in BLE walkthrough (GitHub PR)

Closes IDFGH-6417

See merge request espressif/esp-idf!17458
2022-05-29 14:31:09 +08:00
Jiang Jiang Jian
6798494a05 Merge branch 'contrib/github_pr_8972' into 'master'
Fix Typo in bluedroid spp client readme (GitHub PR)

Closes IDFGH-7392

See merge request espressif/esp-idf!18200
2022-05-29 11:43:21 +08:00
xiongweichao
7624d5dd93 add l2cap client demo 2022-05-28 23:34:21 +00:00
xiongweichao
52656ad582 add l2cap server demo 2022-05-28 23:34:21 +00:00
xiongweichao
f321d62696 Modify a2dp demo 2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
Anton Maklakov
b9a549c80b build: remove COMPILER_DISABLE_GCC8_WARNINGS, no longer relevant 2022-05-27 11:40:40 +07:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
EcotechBrad
286bc45cdc
Fix Typo in bluedroid spp client readme
`uart_wrire_bytes`  to `uart_write_bytes`
2022-05-17 10:42:34 -04:00
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
Jiang Jiang Jian
34211f898c Merge branch 'docs/update_esp_hid_device' into 'master'
[docs] fix documents for Bluetooth HID Device API reference and example

See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
wangmengyang
bed86d8a27 examples/Bluetooth/bt_hid_mouse_device: improved the exmaple README 2022-04-11 02:50:50 +00:00
wangmengyang
f7d942c42a examples/bluetooth/bt_hid_mouse_device: fixed code format, added more comments to improve code readability 2022-04-11 02:50:50 +00:00
baohongde
418b546a7c components/bt: support for vendor specific battery level and docker status indication over HFP profile 2022-03-29 11:38:09 +08:00
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
jincheng
d2361dcb9e fix the failure of reconnect to sink 2022-03-04 04:14:04 +00:00
jincheng
216a57b767 correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Wei Tian Hua
2467aa7f6c Merge branch 'demo/opt_a2dp_demo_doc' into 'master'
demo/optimize a2dp demo documents

Closes BT-2135

See merge request espressif/esp-idf!16527
2022-01-29 05:02:19 +00:00
Ivan Grokhotkov
92e18ba78e bluedroid: make hf_peer_addr as extern 2022-01-27 11:00:09 +07:00
jincheng
0e8f7d7fe4 optimize a2dp demo documents 2022-01-24 14:22:04 +08:00
Wang Meng Yang
5f28c0c36b Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
bugfix/handle_3_esp_hid_PRs

Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586

See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
Murray Fordyce
00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
liqigan
9c5aecda38 optimize SPP documents 2021-12-29 16:18:16 +08:00
Wang Meng Yang
bc1a679052 Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
Doc/update document of demo bt discovery

Closes BT-2133

See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
baohongde
c6b7afccad components/bt: modify name of file 2021-12-21 10:55:06 +08:00
baohongde
d4aeef6ced components/bt: Update the document of demo bt discovery 2021-12-21 10:54:54 +08:00
Wei Tian Hua
7f06350400 Merge branch 'doc/optimize_hfp_doc' into 'master'
doc/: Optimize HFP Documents

Closes BT-2131

See merge request espressif/esp-idf!16258
2021-12-20 06:37:12 +00:00
František Nečas
7277e61672 example: Synchronize includes in BLE walkthrough
Previously, the includes in the initial walkthrough section were
different from the actual ones used includes in the code example.
Moreover, if one was following the walkthrough and only taking
inspiration from there rather than the code itself, with these includes,
the code wouldn't compile. Synchronize the source code file with the
walkthrough in this regard.

Signed-off-by: František Nečas <frantisek.necas@protonmail.com>
2021-12-14 00:42:10 +01:00
weitianhua
731a29c256 Fix Typos 2021-12-13 11:06:06 +08:00
baohongde
bcb5c7a759 components/bt: Modify demo bt_discovery 2021-12-08 14:55:13 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
weitianhua
de47bf87d1 Optimize HFP Documents 2021-12-03 20:13:36 +08:00
cvvletter
dee4424a45 docs: fix double spelling error in bt_spp_initiator
when checking the idf.py menuconfig, we see that this path is incorrectly spelled
2021-11-25 00:03:54 +08:00
laokaiyao
fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
Pedro Minatel
a18cb70905 Merge branch 'example/nimble_readme_cleanup' into 'master'
docs/examples Changes on README files on Bluetooth Examples

Closes DO-76

See merge request espressif/esp-idf!13579
2021-11-22 11:12:40 +00:00
Island
704994785a Merge branch 'docs/examples_bluedroid_ble50' into 'master'
Readme for the bluedroid ble50 example with tutorial of walkthrough example

See merge request espressif/esp-idf!15606
2021-11-22 06:29:56 +00:00
satish.solanke
b523256c49 Readme for the bluedroid ble50 example with tutorial of walkthrough example. 2021-11-19 12:04:47 +05:30
pedro.minatel
cb646ff068 docs: Rebase and typos fixed for the bluetooth README files 2021-11-16 16:56:47 +08:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
jincheng
60a0d328d1 fix hfp demo audio not sine
Closes https://github.com/espressif/esp-idf/issues/7792
2021-11-04 11:25:03 +08:00
baohongde
b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08:00
baohongde
05768e9878 components/bt: Combine 3 Bluetooth controller menu 2021-09-15 10:57:37 +08:00
baohongde
6fc4bf7145 components/bt: Fix link error of Kconfig 2021-09-13 15:45:27 +08:00
liqigan
1c15c9207c 1. transparent HID device
2. add esp API for HID
3. add PM config for HID
4. add HID device demo

Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
XieWenxiang
461f2bd186 component/bt: fix some ble document description error 2021-09-01 20:39:13 +08:00
liqigan
d8023ba09c add FAQ in SPP demo README 2021-08-04 20:49:51 +08:00
“sonalipatil”
5175672050 Add support of NimBLE host to Blufi
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Jiang Jiang Jian
c6238303cf Merge branch 'bugfix/btdm_set_discoverable_after_create_server' into 'master'
components/bt: Set discoverable after create server

See merge request espressif/esp-idf!12913
2021-05-24 03:58:58 +00:00
Jiang Jiang Jian
822cdd81ef Merge branch 'bugfix/correct_cod_check' into 'master'
esp-idf: Corrected check of Class of Device for discovered devices

Closes IDF-6548

See merge request espressif/esp-idf!12391
2021-04-21 11:38:31 +00:00
zwj
0a016fa59e update esp32s3 default sdkconfig 2021-04-20 02:41:14 +00:00
Angus Gratton
920edd4e73 partition_table: Add a "single factory app (large)" option for 1.5MB app size
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
zwj
57ac0bb793 update esp32s3 default sdkconfig 2021-04-15 22:32:14 +08:00
Renz Bagaporo
586023790e esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm 2021-04-07 17:53:37 +08:00
Rahul Tank
1aff02ea55 esp-idf: Corrected check of Class of Device for discovered devices
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.

Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-01 10:31:36 +00:00
baohongde
5ebbc17b9a components/bt: Set discoverable after create server 2021-03-25 17:28:35 +08:00
Erohal
1da8dd5816 Update Gatt_Client_Example_Walkthrough.md
Closes https://github.com/espressif/esp-idf/pull/5961
Closes IDFGH-4090
2021-03-23 17:40:18 +05:30
Chinmay Chhajed
3fa1f5d4d6 Renamed Kconfig to Kconfig.projbuild in some examples. 2021-03-02 16:00:59 +05:30
wangmengyang
2dd730d35c component/bt: [esp32c3] modify Bluetooth coexistence options 2021-02-05 09:16:29 +00:00
zwj
ee53342786 fix throughput example build error 2021-01-29 15:29:18 +08:00
ChenJianxing
243417c48c temporarily disable hardware encryption for esp32s3 2021-01-28 21:05:51 +08:00
Jiang Jiang Jian
9eae54f3be Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
fix a2dp sink crash due to ble 5.0 code

Closes BT-1358, BT-1354, and BT-1356

See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
zwj
83f8272645 enable coex config in C3 and S3 default sdkconfig 2021-01-28 17:59:59 +08:00
zwj
b937485ad1 add ble examples default sdkconfig for esp32s3 2021-01-27 15:57:20 +08:00
weitianhua
c347b0a937 Update bt_discovery demo and README
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README

Update SPP demo

1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.

Format comment in esp_a2dp_api.h

Format comment in esp_avrc_api.h

Format comment in esp_spp_api.h

Fix bt_discovery build err

Update HFP API guide error

Remove BTA_AV_DEBUG

Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
weitianhua
bfad85a372 Add init & deinit event for a2dp 2021-01-25 16:30:09 +08:00
Jiang Jiang Jian
f7c9f1afd7 Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd

Closes BT-711

See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098 Merge branch 'feature/hfp_console' into 'master'
Feature/modify hfp console style by using esp console

Closes BT-1052

See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Jiang Jiang Jian
9e059689f2 Merge branch 'bugfix/fix_iperf_example_crash_issue' into 'master'
example: Scan failure should not cause system crash

Closes WIFI-3306

See merge request espressif/esp-idf!11998
2021-01-18 10:52:58 +08:00
xiehang
d9e1d51ec8 example: Scan failure should not cause system crash 2021-01-15 11:45:23 +00:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00