Commit Graph

738 Commits

Author SHA1 Message Date
Marius Vikhammer
c33aeef0d3 docs: update bluetooth hci readme to reflect uart hci example being target specific 2021-10-11 11:45:29 +08:00
Wang Meng Yang
76a44106aa Merge branch 'bugfix/controller_hci_uart_sdkconfig' into 'master'
controller_hci_uart: fixed the use of deprecated sdkconfig options in the example and rename the example

Closes BT-1907

See merge request espressif/esp-idf!14800
2021-10-08 08:22:56 +00:00
Bao Hong De
eccb1f85d8 Merge branch 'bugfix/btdm_link_error_of_kconfig' into 'master'
Bugfix/btdm link error of kconfig

See merge request espressif/esp-idf!15176
2021-09-17 06:26:37 +00:00
baohongde
b310c062cd components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08:00
Fu Hanxi
923e862ed2 ci: temporarily disable s3 build for a few examples 2021-09-16 12:20:11 +08:00
Jiang Jiang Jian
bd61d4dd70 Merge branch 'bugfix/fix_blufi_init_crash_c3' into 'master'
Blufi [Nimble] Add fix to crash while running blufi on ESP32C3

See merge request espressif/esp-idf!14414
2021-09-15 13:16:01 +00: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
Wang Meng Yang
80c3aaab7c Merge branch 'feature/add_bt_hid_host_support_dev' into 'master'
Feature/add bt hid host btc layer

Closes IDFGH-3329, IDFGH-1104, IDFGH-3724, IDFGH-4383, and IDFGH-5428

See merge request espressif/esp-idf!12016
2021-09-08 11:54:19 +00:00
liqigan
2078dfe293 1. update esp_hid component to use esp HID API
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
Wang Meng Yang
a885c42cda Merge branch 'example/controller_hci_uart_for_esp32s3' into 'master'
examples: added support of ESP32-S3 chip in controller_hci_uart example

Closes BT-1906

See merge request espressif/esp-idf!14935
2021-09-08 06:02:18 +00: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
Rahul Tank
351653f6b3 Blufi [Nimble] Add fix to crash while running blufi on ESP32C3
A race condition is occuring while creating task on ESP32C3. Task is
getting created, but the function returns with a delay. Since task was
created, events start getting posted, but existing application
initializes certain threads / callbacks after stack initialization.

The same application works in different ways for bluedroid and nimble.
Hence modified the order during initialization accordingly.
2021-09-06 23:01:51 +08:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
XieWenxiang
461f2bd186 component/bt: fix some ble document description error 2021-09-01 20:39:13 +08:00
wangmengyang
c053ef0541 examples: added support of ESP32-S3 chip in controller_hci_uart example 2021-08-26 14:24:32 +08:00
wangmengyang
ef2a871e2c controller_hci_uart: rename the example with suffix "_esp32" to differentiate with that of ESP32-C3 2021-08-17 09:49:15 +08:00
wangmengyang
5eb098393b controller_hci_uart: fixed the deprecated Kconfig options in the example 2021-08-17 09:49:15 +08:00
liqigan
d8023ba09c add FAQ in SPP demo README 2021-08-04 20:49:51 +08:00
Wang Meng Yang
dcefc4d6f7 Merge branch 'bugfix/typo_in_hci_uart_example_for_esp32c3' into 'master'
example/controller_hci_uart_esp32c3: fixed the incorrect GPIO pin bit mask for input PINs of UART1

See merge request espressif/esp-idf!14458
2021-07-23 08:30:55 +00:00
He Yin Ling
bf65e3c679 Merge branch 'test/update_ble_mesh_console_files' into 'master'
test: fix ble mesh send problem

See merge request espressif/esp-idf!11053
2021-07-21 07:51:44 +00:00
wangmengyang
c01ef27ae5 example/controller_hci_uart_esp32c3: fixed the GPIO pin mask for input PINs of UART1 2021-07-21 10:54:25 +08:00
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
luchangjie
0c193626e0 fix ble mesh send problem 2021-06-30 14:01:07 +08:00
Jiang Jiang Jian
59b49d2783 Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
Add support of NimBLE host to Blufi

See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00: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
zwj
2ee9140e94 hid examples support esp32c3/s3 2021-06-25 15:09:13 +08:00
Krzysztof Budzynski
aaa377f6f7 Merge branch 'docs/translate_example_for_WiFi_Coexistence' into 'master'
docs: provide EN translation for ble_mesh_wifi_coexist readme

Closes DOC-1409

See merge request espressif/esp-idf!13718
2021-06-08 07:18:04 +00:00
daiziyan
37c1060462 docs: update both CN and EN vesion for WiFI Coexistence example 2021-06-08 11:02:46 +08:00
wangjialiang
7c4557fbe0 ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3
Closes https://github.com/espressif/esp-idf/issues/7061
2021-06-07 04:00:15 +00:00
Shivani Tipnis
2d22374460 ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +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
95dfdf7680 Merge branch 'nimble/fix_broadcaster_role' into 'master'
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix

See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Layne Bernardo
5266d81602 Use larger event stack for esp_hid_host example
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
wangmengyang
59c0825ed8 Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport 2021-04-30 15:25:10 +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
Yuan Ming Fu
a2dc356e2c ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3 2021-02-24 20:08:04 +08:00
wangmengyang
2dd730d35c component/bt: [esp32c3] modify Bluetooth coexistence options 2021-02-05 09:16:29 +00:00
Island
aaa032b532 Merge branch 'bugfix/ble_mesh_example_c3_sdkconfig' into 'master'
ble_mesh: example: Add sdkconfig.defaults for esp32c3

See merge request espressif/esp-idf!12222
2021-02-04 20:13:37 +08:00
lly
3f8a7cc125 ble_mesh: example: Add sdkconfig.defaults for esp32c3 2021-02-04 09:20:18 +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
Jiang Jiang Jian
67f78569a2 Merge branch 'component_bt/update_bt_demo_and_api_comment' into 'master'
component_bt/doc&demo: update bt demo and api comment

See merge request espressif/esp-idf!10461
2021-01-27 21:25:11 +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
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
weitianhua
bfad85a372 Add init & deinit event for a2dp 2021-01-25 16:30:09 +08:00
Jiang Jiang Jian
76bb9565af Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA

See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +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
53e1a7f661 Merge branch 'nimble_esp32c3_support' into 'master'
ESP32C3 NimBLE support

See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Prasad Alatkar
f959028486 NimBLE: Fix host flow control in NimBLE porting layer.
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
xiehang
dffbce9813 esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP 2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-01-19 11:55:44 +08:00
lly
bcd9710b86 ble_mesh: ci: Add disable log sdkconfig test files 2021-01-19 02:09:58 +00:00
Jiang Jiang Jian
f5e7504000 Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
NimBLE: Update NimBLE to latest 1.3.0 release

See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
Island
f01264f9d5 Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master' into 'master'
Bugfix/ble mesh build error c3 merge master

See merge request espressif/esp-idf!11844
2021-01-18 13:20:48 +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
lly
bcdd470618 ble_mesh: example: Add gpio option for ESP32C3-DevKitC 2021-01-18 08:59:23 +08:00
Prasad Alatkar
afcf0e9101 NimBLE: Enable NIMBLE_MESH_FRIEND by default for blemesh example 2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2 NimBLE: Update NimBLE to latest 1.3.0 release 2021-01-15 16:57:29 +00: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
xiehang
c260c223e9 example: We should not check the return value of esp_wifi_connect() in any case 2021-01-11 14:40:18 +08:00
liaowenhao
6c0e3fe23c bugfix:unhandle event when tg receive set_player_app_value cmd 2021-01-08 20:58:35 +08:00
liaowenhao
60e2eb8dfc bugfix/fixed the warning info always being printed when entering the cona command in msbc mode 2021-01-07 11:37:24 +00:00
liaowenhao
06344bd531 add gap module in hfp_hf for fisrt connecting 2021-01-07 11:37:24 +00:00
liaowenhao
7e10572e8b modify console by using console REPL environment 2021-01-07 11:37:24 +00:00
Ivan Grokhotkov
7f3b16a99d freertos: always enable static allocation
to use it for newlib locks
2020-12-29 16:18:04 +01:00
Jiang Jiang Jian
52e66cb143 Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
component_bt/fix spp vfs demo crash when use dynamic memory

See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
lly
a18304224d ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files 2020-12-21 09:08:25 +00:00
Jiang Jiang Jian
0c853a547e Merge branch 'feature/nimble_bt_wifi_coex_example' into 'master'
NimBLE: example running BLE prph & ICMP echo reply simultaneously.

Closes BT-1125

See merge request espressif/esp-idf!11094
2020-12-20 22:43:06 +08:00
liqigan
478cef9b75 fix spp vfs demo crash when use dynamic memory 2020-12-09 19:46:43 +08:00
lly
b77563abb0 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2020-12-08 15:13:04 +08:00
Chinmay Chhajed
ecfceaf7b9 NimBLE: example running BLE prph & ICMP echo reply simultaneously.
This commit adds an example in NimBLE where esp32 runs a peripheral as
well as a ping request to configured IP address. This example uses
nimble host stack.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-12-07 11:29:49 +05:30
lly
2803c81f83 ble_mesh: ci: Add settings sdkconfig test files 2020-12-04 20:31:25 +08:00
Yuan Ming Fu
76c279bee1 bugfix: update genie timer in aligenie example 2020-12-02 12:04:27 +08:00
Island
6c58c1f73d Merge branch 'bugfix/aligenie_demo' into 'master'
bugfix: update function parameter in aligenie example

See merge request espressif/esp-idf!11397
2020-11-30 13:49:39 +08:00
Angus Gratton
b782ccd1fb Merge branch 'bugfix/blecent_example_test' into 'master'
ci: Fix blecent example test

Closes IDFCI-93

See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
InfiniteYuan
39bddb720f ble_mesh: example: update function parameter 2020-11-30 11:01:41 +08:00
Jiang Jiang Jian
079247b42a Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
Bugfix/blufi config potential double free

Closes BCI-249, BCI-241, BCI-244, and BT-1174

See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Shivani Tipnis
fc146a98e4 ci: Fix blecent example test 2020-11-25 22:37:24 +05:30
lly
382815cad6 ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files 2020-11-25 20:51:23 +08:00
Angus Gratton
893a42e72c Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
CI: remove fake binary size check in example test

Closes IDFCI-255, IDFCI-256, and IDFCI-257

See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
Island
af45d6d6ea Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
bugfix: Delete local variables to avoid null global variables

See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
InfiniteYuan
b6c86dfa00 bugfix: Delete local variables to avoid null global variables 2020-11-25 15:41:31 +08:00
InfiniteYuan
7e182bb808 ble mesh: add aligenie ble mesh example 2020-11-25 14:33:33 +08:00
He Yin Ling
a908174c06 test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
wangcheng
d1bf93e055 component/bt: Add a macro to control the compilation of blufi. 2020-11-24 10:43:18 +08:00
lly
ad52ba97e1 ble_mesh: ci: Add enabling hb recv sdkconfig file 2020-11-23 01:28:28 +00:00
Chen Yu Dong
454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
Angus Gratton
66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Jiang Jiang Jian
6bed9ec70c Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
Bugfix/Fix Ag Example Outgoing Callback Not Triggered

Closes BTCI-50

See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
lly
73d22d8ed9 ble_mesh: example: Update sdkconfig test files for disabling Health Server model 2020-10-23 02:04:21 +00:00
lly
72d96c4e81 ble_mesh: example: Fix fast provisioning compile error 2020-10-23 02:04:21 +00:00
lly
d268e0fdb1 ble_mesh: ci: Add disabling mesh model sdkconfig test files 2020-10-23 02:04:21 +00:00
lly
b0f5e4b4ee ble_mesh: ci: Add disabling mesh deinit sdkconfig test files 2020-10-23 02:04:21 +00:00
liqigan
743c1c1f20 fix ag example outgoing callback not triggered
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Felipe Neves
a3c90bf59a freertos: merged freertos 10 kernel files into IDF
freertos/port: update the port files and split into xtensa and riscv ports

freertos: separated cpu files from rest of the kernel sources

freertos/port_xtensa: separated private include files into a folder

freertos/tasks: added task create pinned to core function do not break current IDF API

freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.

freertos: freertos component now compiling

freertos: freertos component now building

freertos: moved critical sections outside from FR kernel section to portable section

portmacro_xtensa: add void indentifier on functions that take no arguments

freertos: fix critical sections implementation to match with their function prototype

freertos: add cmake changes of freertos into make

freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.

freertos: fix conflicitng types of vApplicationSleep function

license: update the license of freertos

freertos: Doxygen comments refactored to render them correctly on docs

freertos: added new functions of freertos into the documentation

freertos: added message buffers and stream buffers to documentation

sysview: update freertos system view to the compatible with version 10

freertos: fixed event group  documentation rendering

freertos:  update static task structure to match the actual tcb size

freertos: removed backported test functions

freertos/smp: brought SMP code to  FreeRTOS 10 port

freertos/portmacro: added missing crosscore interrupt for yielding tasks

freertos: replaced soft-critical sections with hard-critical sections used by SMP

freertos: placed muxes inside of kernel objects

freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections

freertos: moved xtensa port files to a separated folder

freertos: added multiple instance of global variables required to SMP

freertos: added SMP modifications on specific tasks module functions

freertos: added TLS deletion function to task module

freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete

freertos: modified vTaskDelete to do not erase current task that runs on other core

freertos: reverted taskhandle and timerhandle as void* type

freertos: fixed de-referencing void pointer to get run time counter

freertos: fix system view trace enter macro arguments

freertos: Replaced soft critical sections with spinlocks on event_groups

freertos: fixed tick function to avoid calling tick hooks twice

freertos: Nofity give checking per CPU if schedule is suspended

freertos: added mpu release on TCB deletion

freertos: Added SMP changes when deleting a TCB on idle task

freertos/license: update freertos license in COPYRIGHT.rst

freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0

freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly

freertos/xtensa:  update xtensa specific files used in master branch

newlib/locks: revert the preemption checking in lock acquisition and release

ref_clock: fix initial state of ref_clock interrupt handler

freertos: added missing critical sections and yielding checkings

freertos: remove magic numbers in vTaskDelete

freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Mahavir Jain
20af94ff53 Coredump config option rename throughout IDF 2020-09-30 20:22:27 +05:30
lly
f2ae5f6e32 ble_mesh: ci: Enable settings in sdkconfig.ci.xxx 2020-09-14 08:40:12 +00:00
Ivan Grokhotkov
00072fe2e2 Merge branch 'ci/standalone_unit_test_app' into 'master'
CI: add standalone unit test app for esp_netif

See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
Fu Hanxi
bd83088ba5 fix blehr queue python 2 3 compatibility 2020-09-07 12:16:06 +08:00
lly
01617303dd ble_mesh: example: Fix sensor data wrong iteration 2020-09-04 11:44:59 +08:00
lly
b6308e4a1b ble_mesh: example: Remove some useless included header files 2020-08-31 11:37:34 +00:00
Carlos Sobrinho
c2491c86b1 Fix compilation warnings about portmacro being already define. 2020-08-31 11:37:34 +00:00
He Yin Ling
685c3fc70c Merge branch 'test/merge_ble_mesh_node_and_provioner_in_console' into 'master'
Test:merge ble mesh node and provioner in console

See merge request espressif/esp-idf!8897
2020-08-21 11:01:37 +08:00
Lu Chang Jie
cd3cf630a5 Test: merge ble mesh node and provioner in console 2020-08-21 11:01:37 +08:00
baohongde
060a36352c components/bt: Add mode change event 2020-08-12 09:20:04 +00:00
Jiang Jiang Jian
c2e549b1b8 Merge branch 'feature/ble_combined_adv_scan' into 'master'
bluetooth: added example `ble_adv_scan_combined' for combined scanning and advertising

Closes BT-843 and BT-867

See merge request espressif/esp-idf!6661
2020-08-07 14:08:02 +08:00
Chinmay Chhajed
6dbb993071 bluetooth: Added HCI example for combined scanning and advertising. 2020-07-28 05:32:14 +00:00
Chinmay Chhajed
abb79e4fb5 Bluetooth HCI common components.
Separate Bluetooth HCI component example which adds some macros and
functions used by HCI Layer defined by the spec.
2020-07-28 05:32:14 +00:00
morris
2917651478 esp_rom: extract common ets apis into esp_rom_sys.h 2020-07-27 15:27:01 +08:00
Chen Yudong
4088702077 test: auto test script supports python3 2020-07-22 16:14:21 +08:00
Li Qi Gan
f6f2d9780b add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408

See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Jiang Jiang Jian
0376b23c7c Merge branch 'component/seperate_bta_jv_l2c' into 'master'
component_bt:/ separate BTA_JV_L2CAP for less bin size

See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
Ivan Grokhotkov
b62e4e6f85 Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
feature: support vfs uart set line endings with specified uart number

See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
lly
578f775fb9 ble_mesh: ci: Enable friend & low power in build check 2020-07-10 14:14:01 +08:00
houwenxiang
8e00522cd7 vfs: support vfs uart set line endings with specified uart number 2020-07-10 11:15:09 +08:00
lly
953810aa68 ble_mesh: example: Add result check during mesh init 2020-07-10 00:57:09 +00:00
Island
5d970c0e8c Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
Feat/ble mesh use iram for mem alloc

See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
weitianhua
11abaed398 Fix tsk watchdog when running spp vfs demo 2020-07-08 17:50:19 +08:00
Marius Vikhammer
55982fa146 Rewrite Bluedroid BT READMEs from .rst to .md 2020-07-08 10:39:33 +08:00
Marius Vikhammer
a80cff924b docs: fix broken links in example READMEs 2020-07-08 10:39:33 +08:00
lly
b10b2884a6 ble_mesh: ci: Add iram & psram configurations 2020-07-08 01:45:01 +00:00
Ivan Grokhotkov
8cd1f99ace Merge branch 'refactor/common_rom_gpio_apis' into 'master'
esp_rom: extract common GPIO apis into esp_rom_gpio.h

See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
morris
a4d0033c03 esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
morris
29f8aecfc0 console_repl: change config structure to support different devices 2020-07-02 07:39:46 +00:00
Island
a97a16202e Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
bugfix: ble mesh proxy compile error

See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
lly
aa2a98899b ble_mesh: example: Fix example README & tutorial link error 2020-06-29 19:23:18 +08:00
lly
e4a115f0e2 ble_mesh: ci: Add different proxy configurations 2020-06-28 23:09:47 +00:00
Ivan Grokhotkov
19c73192ba ble_mesh_coex_test: fix deprecated Kconfig option name 2020-06-24 15:50:51 +02:00
Jiang Jiang Jian
2955342e9c Merge branch 'doc/add_UUID_description_in_gattc_demo' into 'master'
docs:add 128-bit UUID description

Closes BCI-202

See merge request espressif/esp-idf!9189
2020-06-23 22:01:58 +08:00
lly
a254c42173 ble_mesh: Move TAG definition to each example
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-20 05:34:30 +00:00
liminyang
8364bca3f4 docs:perfect 128-bit UUID description
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-17 11:58:41 +08:00
Jiang Jiang Jian
8c7c3ff899 Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
Bugfix/fix event bug in GAP API

Closes BT-594 and BT-595

See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
liminyang
5bf8ff55d3 docs:add 128-bit UUID description
Gatt_client demo lacks description.When service and characteristic UUID is 128-bit, should change the order of UUID defined by macro in little-endian storage mode.
2020-06-16 20:36:33 +08:00
Krzysztof Budzynski
de9facf182 Merge branch 'bugfix/broken_links' into 'master'
docs: Fix broken links reported on https://esp32.com/

Closes DOC-236

See merge request espressif/esp-idf!9182
2020-06-16 19:13:25 +08:00
Krzysztof
ae7ec27125 Resolve broken links reported on https://esp32.com/viewtopic.php?f=5&t=14148#p61449 by chegewara 2020-06-15 21:35:19 +02:00
wangcheng
e87a42f46c components/bt: Add api to query the number of available buffers for the current connection 2020-06-13 14:27:48 +08:00
Elvis Dukaj
1463cd3550 ble_hid_device_demo: fix build if building with c++
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com>
Signed-off-by: liminyang <liminyang@example.com>

Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-10 15:23:30 +08:00
lly
55c5d2953d ble_mesh: Add nvs operations for examples
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info

Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-01 10:00:49 +08:00
lly
c5226f8286 ble_mesh: Add mesh example common nvs operations 2020-06-01 09:34:13 +08:00
lly
2190c2c368 ble_mesh: Define a macro for invalid company id 2020-05-29 09:40:19 +00:00
Michael (XIAO Xufeng)
b3587ff88c Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
Bugfix(I2S):  Fix i2s_comm_format_t configuration parameter does not match the TRM bug

Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117

See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
liqigan
55f6a927b5 btdm:fix emit ESP_BT_GAP_DISC_STATE_CHANGED_EVT event when call API esp_bt_gap_start_discovery
closes BT-594

See merge request espressif/esp-idf!8808
2020-05-20 22:43:44 +08:00
lly
2b767ef104 ble_mesh: Fix tutorial links in examples README.md 2020-05-20 11:33:46 +00:00
lly
3209336f6b ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_* 2020-05-20 11:33:46 +00:00
lly
88eb4a0820 ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_* 2020-05-20 11:33:46 +00:00
lly
861816c353 ble_mesh: Rename ble mesh example main & init files
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-20 11:33:46 +00:00
lly
68fd967934 ble_mesh: Move the example init to the common_components 2020-05-20 11:33:46 +00:00
lly
a2a952aa55 ble_mesh: Move the button component to common_components 2020-05-20 11:33:46 +00:00
lly
5598620f6c ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples 2020-05-20 11:33:46 +00:00
lly
db67e2d35c ble_mesh: Rename common_vendor_models to common_components
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-20 11:33:46 +00:00
houwenxiang
b35d9002f3 driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.

For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.

    closes https://github.com/espressif/esp-idf/issues/5065

    closes https://github.com/espressif/esp-idf/issues/4957

    closes https://github.com/espressif/esp-idf/issues/2978

    closes https://github.com/espressif/esp-idf/issues/5136

    Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
lly
25a6ea9600 ble_mesh: Remove patch for the bug of an App 2020-05-14 10:24:15 +08:00
lly
6b9c0dda08 ble_mesh: Fix typos 2020-05-12 16:23:13 +08:00
me-no-dev
406d9d20a3 Update HID examples to comply with the new requirements 2020-04-29 20:51:16 +03:00
Jiang Jiang Jian
922a0fa485 Merge branch 'feature/esp-hid-component' into 'master'
ESP-HID Component

See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de Add HID Support to IDF
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
lly
fab9b944a4 ble_mesh: Add length check for some mesh operations 2020-04-27 14:24:07 +08:00
lly
c77b7394ed ble_mesh: Fix compile error when -O2 (performance) is chosen 2020-04-27 14:24:07 +08:00
Island
1e12673b3c Merge branch 'feat/ble_mesh_sensor_model_example' into 'master'
ble_mesh: Add ble mesh sensor model examples

Closes BLEMESH-190

See merge request espressif/esp-idf!8253
2020-04-27 11:47:06 +08:00
Island
32cfcc77ed Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci' into 'master'
ble_mesh: Add bluedroid and nimble example configurations

See merge request espressif/esp-idf!8172
2020-04-27 11:41:26 +08:00
lly
8d57ebf57d ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-26 06:25:08 +00:00
lly
fa40a1a0c7 ble_mesh: Add bluedroid and nimble example configurations 2020-04-26 06:12:22 +00:00
lly
2f28c97f06 ble_mesh: Add ble mesh sensor model examples 2020-04-26 06:08:44 +00:00
Krzysztof Budzynski
e1ab4b6711 Merge branch 'bugfix/uart_echo_readme' into 'master'
example: Remove duplicate commands and invalid serial port information

Closes IDFGH-3022

See merge request espressif/esp-idf!8295
2020-04-11 01:52:01 +08:00
Fu Hanxi
5b2fa1a5ad build_app: make multi target support readable 2020-04-09 16:40:57 +08:00
Roland Dobai
6adb1a0609 example: Remove duplicate commands and invalid serial port information
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-08 13:17:48 +02:00
Jiang Jiang Jian
79e92b0e6a Merge branch 'bugfix/ble_mesh_add_test_function' into 'master'
ble_mesh: Add ble mesh white list test function

See merge request espressif/esp-idf!8046
2020-03-27 19:53:54 +08:00
Prasad Alatkar
2bc28bbd5a NimBLE: Fix NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT in esp_nimble_cfg and bleprph README 2020-03-27 14:05:32 +08:00
Angus Gratton
88bf21b21e Merge branch 'nimble/iram_allocation_strategy' into 'master'
NimBLE: Add support to IRAM allocation strategy

See merge request espressif/esp-idf!8015
2020-03-27 13:54:25 +08:00
lly
45d43f005a ble_mesh: Add ble mesh white list test function
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-25 11:30:08 +08:00
Renz Bagaporo
4d9c573fb6 test, examples: use new component registration function 2020-03-23 10:58:48 +08:00
Chen Sheng
f3986bca71 ble mesh: update ble mesh console example 2020-03-22 18:34:39 +08:00
Jiang Jiang Jian
4504fe62d0 Merge branch 'bugfix/add_esp_ble_mesh_coex_demo' into 'master'
ble_mesh: add ble mesh coex with tcp demo.

See merge request espressif/esp-idf!6372
2020-03-20 13:20:57 +08:00
Hrishikesh Dhayagude
67a6fd6f3b NimBLE: Add support to IRAM allocation strategy
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00:00
lly
0d6ad3265e ble_mesh: Add ESP BLE Mesh vendor models example 2020-03-12 18:21:29 +08:00
lly
e8fc87b6f3 ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models 2020-03-12 17:50:12 +08:00
Roland Dobai
15884eccf2 Add multi-target support for performance tests 2020-03-09 13:41:56 +01:00
Michael (XIAO Xufeng)
8e348dcdcd Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
bugfix(i2s): fix driver ut i2s

See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Prasad Alatkar
48bd2d74b4 NimBLE: Add Host based privacy (RPA) feature support
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
wangcheng
03d11913a2 ble_mesh: add ble mesh coex test example 2020-03-04 14:56:26 +08:00
xiongyu
faf898b659 bugfix(i2s): fix driver ut i2s
* Add test support for ESP32S2

* Add loop back test

* Support chip internal connection, no external wiring required.

* Delete the relevant codes of PDM of ESP32-S2 ll layer.

* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
lly
7cd08b5824 ble_mesh: Miscellaneous modifications
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-26 17:37:44 +08:00
weitianhua
477e584f7d Bugfix for HFP and some Github issue.
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Jiang Jiang Jian
a16d795448 Merge branch 'example/ble_optimization_the_example_ble_spp_server_demo' into 'master'
example : Optimize the ble_spp_server_demo example

Closes BCI-90

See merge request espressif/esp-idf!7029
2020-02-18 21:00:54 +08:00
Jiang Jiang Jian
928438056d Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
components/bt: Fix connection fail and crash when receive unknown AT cmd

Closes BT-565

See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00