lly
e9e28c1265
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:42:35 +08:00
lly
7030d612e2
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:42:20 +08:00
lly
2c852b0d74
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:42:08 +08:00
lly
708bff3b17
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:42:00 +08:00
lly
317f4c5ff5
ble_mesh: reorganize ble mesh model files
2019-09-09 17:41:54 +08:00
lly
2c025824d7
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:41:41 +08:00
lly
9b95064018
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:41:34 +08:00
baohongde
6afb2743e7
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:04:16 +08:00
Jiang Jiang Jian
1b8ed9abf0
Merge branch 'bugfix/btdm_crash_in_sket_ist_v4.0' into 'release/v4.0'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5947
2019-09-05 12:02:26 +08:00
baohongde
01f0c8ef16
components/bt: Rename some macros
2019-09-03 10:28:49 +08:00
Zac Bond
a774406b91
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:28:12 +08:00
Jiang Jiang Jian
4b8e4ff248
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0_v4.0' into 'release/v4.0'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5967
2019-09-02 22:22:22 +08:00
baohongde
ad70ab8957
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:55:17 +08:00
baohongde
1d0142d25d
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-30 17:56:01 +08:00
baohongde
4af9504a65
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:58 +08:00
baohongde
6222040888
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:31:57 +08:00
baohongde
61ba1c3026
components/bt: backport 2 BT bugfix about controller
...
1.Bugfix btdm sleep twice after wakeup request
2.Set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-27 10:42:40 +08:00
zhiweijian
90bbea65c1
Component/bt: fix some BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 20:29:01 +08:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Prasad Alatkar
1f0d682406
NimBLE: Update submodule to fix bug in delete bond procedure
...
- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12
2019-07-29 19:00:21 +08:00
baohongde
f77a5851bb
component/bt: Fix BLE SMP free without init
2019-07-26 14:40:03 +08:00
baohongde
d1f774bc0a
component/bt: Avoid PLC to use unallocated memory
...
Closes https://github.com/espressif/esp-idf/pull/3799
2019-07-26 14:39:50 +08:00
Jiang Jiang Jian
fcb668ec9c
Merge branch 'bugfix/btdm_AVRC_command_fail_while_playing' into 'master'
...
components/bt: Fix AVRCP command will not be executed while playing music
See merge request espressif/esp-idf!5458
2019-07-22 11:45:19 +08:00
Hrishikesh Dhayagude
c75240a939
NimBLE: Give an option to configuration no of bonds and CCCD's to save through menuconfig
2019-07-19 14:34:57 +08:00
baohongde
f048be924c
components/bt: Fix AVRCP command will not be executed while playing music
2019-07-16 08:50:36 +00:00
baohongde
f8c107fbe3
components/bt: Fix compile error with new toolchain
...
Closes https://github.com/espressif/esp-idf/issues/3331
Closes https://github.com/espressif/esp-idf/issues/3734
2019-07-09 17:50:43 +08:00
Jiang Jiang Jian
27628ef133
Merge branch 'doc/add_ble_mesh_doxyfile' into 'master'
...
ble_mesh: add Doxyfile for core apis & model apis
See merge request espressif/esp-idf!5401
2019-07-05 20:55:39 +08:00
zhiweijian
6029ef1b58
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 19:44:59 +08:00
Jiang Jiang Jian
a831fe596b
Merge branch 'bugfix/btdm_conn_fail_with_some_speaker' into 'master'
...
components/bt: Fix connect fail with some speakers
See merge request espressif/esp-idf!5358
2019-07-04 19:23:19 +08:00
lly
ff40911a51
ble_mesh: add Doxyfile for core apis & model apis
2019-07-03 17:58:09 +08:00
Hrishikesh Dhayagude
daa71d5e18
Fix the irrelevant characters added to test the config options
2019-07-03 17:17:14 +08:00
Hrishikesh Dhayagude
46a268dc78
Correct UUID value for ESP_GATT_UUID_ENVIRONMENTAL_SENSING_SVC
2019-07-03 16:49:30 +08:00
baohongde
60a3f3e09d
components/bt: Fix Wrong bt lib from commit "Bluetooth component refactoring"
2019-07-03 04:44:04 +00:00
Prasad Alatkar
396258380a
NimBLE: update nimble submodule
...
- Update submodule to fix https://jira.espressif.com:8443/browse/BT-192 .
- Upstream PR: https://github.com/apache/mynewt-nimble/pull/427
2019-07-02 11:26:24 +08:00
Jiang Jiang Jian
70474ae844
Merge branch 'feature/btdm_avrcp_volume' into 'master'
...
components/bt: Add AVRCP feature about volume
See merge request idf/esp-idf!5209
2019-06-30 16:40:10 +08:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00
baohongde
30d7002731
components/bt: Add AVRCP feature about volume
2019-06-30 03:46:15 +00:00
Jiang Jiang Jian
45364fe54e
Merge branch 'bugfix/btdm_fail_to_config_url_in_eir' into 'master'
...
components/bt: Fix fail to config URL in EIR
See merge request idf/esp-idf!5352
2019-06-27 14:27:35 +08:00
Hrishikesh Dhayagude
917589e784
Fix typo from the commit "Reduce the size of DRAM"
2019-06-27 10:48:47 +08:00
Jiang Jiang Jian
4fc411e744
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error' into 'master'
...
component/bt: fix hci enhance connection complete event unpack error
See merge request idf/esp-idf!4889
2019-06-26 16:45:39 +08:00
Jiang Jiang Jian
291e25baa6
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
...
Component/bt: add readme doc for BLE demos
See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
baohongde
84e9e243d0
components/bt: Fix connect fail with some speakers
2019-06-26 14:50:13 +08:00
Jiang Jiang Jian
1a34d65e4c
Merge branch 'bugfix/btdm_intr_wdt_after_controller_disable_then_enable' into 'master'
...
bugfix/btdm_intr_wdt_after_controller_disable_then_enable
See merge request idf/esp-idf!5301
2019-06-26 14:05:48 +08:00
baohongde
79ba509384
components/bt: Fix fail to config URL in EIR
2019-06-26 11:58:41 +08:00
Renz Christian Bagaporo
31ec634730
bt: fix build issue
...
Source files and include directories were appended to variables
used by the previous component registration command.
2019-06-25 16:53:37 +08:00
Angus Gratton
9a412d3a08
Merge branch 'feature/use_new_component_registration_apis' into 'master'
...
Use new component registration API
See merge request idf/esp-idf!4898
2019-06-25 10:24:11 +08:00
Hrishikesh Dhayagude
342f6a7829
Port NimBLE Host Stack on ESP-IDF
2019-06-25 09:03:58 +08:00
zhiweijian
6559f935ce
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 07:05:01 +00:00
Island
fc3253163e
component/ble_mesh: ESP BLE Mesh release
...
1. BLE Mesh Core
* Provisioning: Node Role
* Advertising and GATT bearer
* Authentication OOB
* Provisioning: Provisioner Role
* Advertising and GATT bearer
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store Provisioning Data of BLE Mesh Nodes in Flash
2. BLE Mesh Applications
* BLE Mesh Node & Provisioner
* Node Example
* Provisioner Example
* Node + Generic OnOff Client Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Example
3. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic Client Models
* Generic OnOff Client
* Generic Level Client
* Generic Location Client
* Generic Default Transition Timer Client
* Generic Power OnOff Client
* Generic Power Level Client
* Generic Battery Client
* Generic Property Client
* Generic Server Models
* Generic OnOff Server (Example)
* Lighting Client Models
* Light Lightness Client
* Light CTL Client
* Light HSL Client
* Light xyL Client
* Light LC Client
* Sensor Client Model
* Sensor Client
* Time and Scenes Client Models
* Time Client
* Scene Client
* Scheduler Client
2019-06-24 11:31:24 +08:00
Renz Christian Bagaporo
9eccd7c082
components: use new component registration api
2019-06-21 19:53:29 +08:00
baohongde
149e07911d
components/bt: Optimization and bugfix of previous commits
2019-06-21 11:55:45 +08:00
wangmengyang
f2e6ba8701
component/bt: clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers
2019-06-20 17:40:55 +08:00
baohongde
8024fcb296
components/bt: Add more functions for memory debug.
2019-06-20 17:12:04 +08:00
Tian Hao
2ad65bb434
Support timeout of fixed_queue and osi_thread
...
1. remove fixed_queue_try_dequeue and fixed_queue_try_enqueue,
2. add timeout parameter for fixed_queue_enqueue and fixed_queue_dequeue
3. replace where call fixed_queue_try_dequeue/enqueue to fixed_queue_dequeue/enqueue(..., timeout = 0)
4. replace where call fixed queue_enqueue/dequeue to fixed_queue_enqueue/dequeue( ..., timeout = FIXED_QUEUE_MAX_TIMEOUT)
5. modify the blocking_type of osi_thread_post to timeout.
2019-06-20 17:12:04 +08:00
baohongde
9863565a6f
components/bt: Optimization and bugfix of previous commit
2019-06-20 17:06:23 +08:00
baohongde
07fef85a23
components/bt: Separation of BT and BLE
2019-06-20 17:06:23 +08:00
baohongde
485c896740
components/bt: Combine A2DP sink task and A2DP source task into btc task
2019-06-20 16:00:55 +08:00
baohongde
930c304a57
components/bt: Combine two hci task into one
2019-06-20 16:00:55 +08:00
baohongde
5fd4cbb9d2
component/bt: Add functions for heap memory debug
2019-06-20 16:00:55 +08:00
baohongde
bd9fed4400
component/bt: reduce the size of DRAM
...
DRAM.data: 506B --> 196B
DRAM.bss : 26857B --> 2170B
2019-06-20 16:00:55 +08:00
baohongde
21cce564ba
component/bt: Macor from sdkconfig.h
is used only in bt_user_config.h
2019-06-20 11:41:17 +08:00
baohongde
faf23df19a
component/bt : modify OSI thread of bluedroid
...
abstract of OSI thread to make bluedroid more compatible with different OS.
2019-06-19 21:20:04 +08:00
Jiang Jiang Jian
28e0a17e0a
Merge branch 'bugfix/btdm_make_failed_due_to_macro' into 'master'
...
components/bt: Fix make errors due to macro usage error
See merge request idf/esp-idf!5105
2019-06-19 14:44:02 +08:00
Jiang Jiang Jian
ceb00f7a41
Merge branch 'bugfix/btdm_add_svc_inst_id_param_for_create_tab_event' into 'master'
...
Component/bt: add svc_inst_id param for create service table event
See merge request idf/esp-idf!4958
2019-06-18 21:19:41 +08:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
zhiweijian
483e82caf8
Component/bt: modify some logs level
2019-06-17 07:05:41 +00:00
zhiweijian
8f2490cc6f
Component/bt: add svc_inst_id param for create service table event
...
- add svc_inst_id param for create service table event
- Closes https://github.com/espressif/esp-idf/issues/3256
2019-06-17 07:05:31 +00:00
zhiweijian
76b3a64b76
Component/bt: add new api to get connection parameters
2019-06-17 07:04:34 +00:00
Jiang Jiang Jian
4e09eaf8e2
Merge branch 'feature/btdm_config_eir' into 'master'
...
components/bt: Add API to config EIR data
See merge request idf/esp-idf!5038
2019-06-13 14:55:23 +08:00
Jiang Jiang Jian
b1bf41be22
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu' into 'master'
...
components/bt: Fix assert due to alloc LMP TX buffer failed
See merge request idf/esp-idf!5134
2019-06-13 13:58:43 +08:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
baohongde
f3aab7d536
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-10 15:14:23 +08:00
Jiang Jiang Jian
d95cedd782
Merge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'
...
Bugfix/keep_sco_data_path_on_hci_reset
See merge request idf/esp-idf!4949
2019-06-05 17:10:21 +08:00
baohongde
48e32113de
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-04 16:31:21 +08:00
Jiang Jiang Jian
5274739fff
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'
...
component/bt: fix some performance issues in A2DP source data flow control
See merge request idf/esp-idf!4932
2019-06-04 16:07:31 +08:00
baohongde
89e2b48a18
components/bt: Add API to config EIR data
2019-06-03 19:29:54 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
wangmengyang
bc6b80e7c2
add missing source files to CMakeLists for HFP
2019-05-31 18:54:19 +08:00
Jiang Jiang Jian
b859584f91
Merge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'
...
Feature/btdm modem sleep with 32 k xtal under light sleep
See merge request idf/esp-idf!4744
2019-05-31 18:51:10 +08:00
baohongde
13908160fb
components/bt: Fix make errors due to macro usage error
2019-05-30 20:19:43 +08:00
Jiang Jiang Jian
da13efc17a
Merge branch 'feature/btdm_msbc_codec' into 'master'
...
Wide Band Speech for HFP
See merge request idf/esp-idf!4854
2019-05-29 14:39:21 +08:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
wangmengyang
f678a6289d
reduce the minimum delay uncertainty of esp_timer for Bluetooth modem sleep from 1.8ms to 0.5ms for lower power consumption
2019-05-28 19:56:31 +08:00
wangmengyang
ff2c583a0d
component/bt: Add option to configure BLE SCA through menuconfig and use a fixed value of clock cycle to estimate sleep duration for external 32kHz oscillator
2019-05-28 19:56:26 +08:00
wangmengyang
7403e8e11c
component/bt: remove the pm_lock that prevents light sleep in case that external 32kHz crystal is used as Bluetooth low power clock
2019-05-27 17:47:33 +08:00
baohongde
fcf4886172
components/bt: Support EV3 packet type
2019-05-24 17:36:10 +08:00
baohongde
dd906a91a5
components/bt: Enable mSBC and add decoder and encoder
2019-05-24 17:36:10 +08:00
baohongde
20758443df
components/bt: Add packet loss concealment (PLC) for HFP
2019-05-24 17:33:52 +08:00
baohongde
e10d5aaddc
component/bt: modify the SBC decoder to support mSBC mode
2019-05-24 17:33:52 +08:00
wangmengyang
7c28611a3d
component/bt: modify the SBC encoder to support mSBC mode
2019-05-24 17:33:52 +08:00
baohongde
f15323b453
component/bt: remove SBC frame scramling
2019-05-24 17:33:52 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Renz Christian Bagaporo
ffec9d4947
components: update with build system changes
2019-05-13 19:59:17 +08:00
wangmengyang
38ec1b9a86
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-05-05 11:42:27 +08:00
Jiang Jiang Jian
b5bbd42b9a
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4859
2019-04-25 20:38:37 +08:00
baohongde
db6b210a5f
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:17:54 +08:00
zhiweijian
0ae4eb4f09
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 09:16:19 +00:00