weitianhua
8ad40cecb4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:10:48 +08:00
lly
d1311d1e23
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:26:40 +08:00
Island
9e8b44e353
Merge branch 'bugfix/ble_mesh_prov_iv_index_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v4.1)
See merge request espressif/esp-idf!10417
2020-09-11 20:09:01 +08:00
Jiang Jiang Jian
df3aef80c0
Merge branch 'component/seperate_bta_jv_l2c_4.1' into 'release/v4.1'
...
Component/seperate bta jv l2c 4.1
See merge request espressif/esp-idf!9645
2020-09-11 19:38:00 +08:00
Jiang Jiang Jian
b204bc1bd6
Merge branch 'bugfix/change_pcm_config_position_4.1' into 'release/v4.1'
...
Bugfix/ Change PCM config position 4.1
See merge request espressif/esp-idf!10314
2020-09-11 19:35:55 +08:00
Jiang Jiang Jian
b131fffa84
Merge branch 'bugfix/add_protection_for_spp_api_4.1' into 'release/v4.1'
...
Bugfix/add protection for spp api 4.1
See merge request espressif/esp-idf!10282
2020-09-11 19:33:49 +08:00
lly
bca0b85fc3
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 10:56:06 +08:00
Jiang Jiang Jian
723c8d9899
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.1' into 'release/v4.1'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10323
2020-09-10 18:24:11 +08:00
Island
e42c8d2f1f
Merge branch 'feat/ble_mesh_use_model_c_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v4.1)
See merge request espressif/esp-idf!10363
2020-09-10 10:39:54 +08:00
Island
b5df4843b2
Merge branch 'bugfix/ble_mesh_remove_assert_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Avoid using assert in mesh stack (v4.1)
See merge request espressif/esp-idf!10359
2020-09-10 10:39:00 +08:00
lly
c570f51b53
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-09 14:00:21 +08:00
lly
67055161c1
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:57:25 +08:00
lly
67ed9b5799
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 21:02:34 +08:00
baohongde
86cd54117e
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:45:33 +08:00
Jiang Jiang Jian
7891ba1e24
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.1' into 'release/v4.1'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.1
See merge request espressif/esp-idf!10254
2020-09-07 14:11:57 +08:00
weitianhua
585120da0d
Change PCM config position
2020-09-07 10:34:34 +08:00
Jiang Jiang Jian
245047e82d
Merge branch 'feature/enable_pcm_config_v4.1' into 'release/v4.1'
...
Feature/enable pcm config v4.1
See merge request espressif/esp-idf!9654
2020-09-04 20:07:27 +08:00
wangcheng
e963390324
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:25:49 +08:00
weitianhua
b4dc11a409
Add protection for rfcomm close API in SPP
2020-09-04 14:41:34 +08:00
weitianhua
15111210a1
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-04 14:41:26 +08:00
wangcheng
8acffd2931
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:45:26 +08:00
Island
da669efa0c
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.1)
See merge request espressif/esp-idf!10240
2020-09-02 14:20:44 +08:00
XieWenxiang
1f54e90bb4
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.1)
2020-09-02 11:15:27 +08:00
weitianhua
645715c1b0
Enable PCM config in controller
2020-09-01 16:35:07 +08:00
weitianhua
887f5040da
Enable PCM config in host
2020-09-01 16:35:07 +08:00
lly
92ce5c1f23
ble_mesh: stack: Client model related code clean
2020-08-31 17:33:12 +08:00
lly
df1c6fd95c
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-31 17:33:11 +08:00
lly
bbe75af7a3
ble_mesh: stack: Check client msg result in common func
2020-08-31 17:33:11 +08:00
lly
4634ad6fa4
ble_mesh: stack: Fix no events for some error conditions
2020-08-31 17:33:10 +08:00
lly
5ccf6cd381
ble_mesh: stack: Move client role set to the msg function
2020-08-31 17:33:10 +08:00
lly
259d1924cb
ble_mesh: stack: Remove some not used client parameters
2020-08-31 17:33:09 +08:00
lly
1bd4fe1f50
ble_mesh: stack: Remove some not used variables & functions
2020-08-31 17:33:09 +08:00
lly
62458dbb90
ble_mesh: stack: Update client model msg send
2020-08-31 17:33:08 +08:00
lly
5704b13bc9
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-31 13:57:12 +08:00
lly
c3b300064b
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-08-31 11:23:35 +08:00
lly
bbd9a8a44d
ble_mesh: stack: Make proxy server & client functions clear
2020-08-31 11:23:34 +08:00
lly
72ce618f9a
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-28 17:45:09 +08:00
lly
36dc7ae71e
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-08-28 17:45:08 +08:00
lly
7b57311a0e
ble_mesh: stack: Add more checks about input prov bearers
2020-08-28 17:45:07 +08:00
lly
ad412850d0
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-28 06:07:17 +00:00
lly
20d33f27d6
ble_mesh: stack: Use macros for adv task name & prio
2020-08-28 06:07:17 +00:00
lly
84012fa82f
ble_mesh: stack: Make freertos static allocation visible
2020-08-28 06:07:17 +00:00
lly
ffcd55bbf2
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-28 06:07:17 +00:00
Island
e1e082072c
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh fast prov misc update (v4.1)
See merge request espressif/esp-idf!9465
2020-08-28 14:03:10 +08:00
Island
329f7f8210
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
See merge request espressif/esp-idf!9947
2020-08-28 13:55:28 +08:00
Island
0cc8639e2f
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh update send ttl (v4.1)
See merge request espressif/esp-idf!10159
2020-08-28 10:43:43 +08:00
XieWenxiang
a88420c860
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
2020-08-28 07:10:11 +08:00
lly
ce4a8af3c7
ble_mesh: stack: Update some fast prov functions
2020-08-27 14:36:58 +00:00
lly
e3a7fb2fd4
ble_mesh: stack: Move fast prov functions to a single file
2020-08-27 14:36:58 +00:00
lly
7308f60a74
ble_mesh: ci: Fix failing to compile when using make
2020-08-27 10:57:51 +00:00
lly
50fc403018
ble_mesh: Mark platform related default RNG as 0
2020-08-27 10:57:51 +00:00
lly
0b65005ffd
ble_mesh: Remove the previously added redundant aes files
2020-08-27 10:57:51 +00:00
lly
60ba33afa9
ble_mesh: Update CMake and make files for tinycrypt
2020-08-27 10:57:51 +00:00
lly
d90f3f9119
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-08-27 10:57:51 +00:00
lly
7d40d308bb
ble_mesh: Format source and header files of tinycrypt
2020-08-27 10:57:51 +00:00
lly
0dda8869cd
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-08-27 10:57:51 +00:00
Island
8a0ae62a03
Merge branch 'bugfix/ble_mesh_compile_error_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy compile error (v4.1)
See merge request espressif/esp-idf!9431
2020-08-27 18:03:01 +08:00
lly
8988fb9b8d
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-08-26 08:28:12 +00:00
lly
bd187b022f
ble_mesh: Add more checks of net_idx & app_idx
2020-08-26 08:28:12 +00:00
lly
7ba69e5439
ble_mesh: Optimize some send & recv logs
2020-08-26 08:28:12 +00:00
lly
75af20e687
ble_mesh: stack: Add two application macros for TTL
2020-08-26 16:12:26 +08:00
lly
5952694160
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-08-26 16:12:26 +08:00
Island
e40e694cf9
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh set recv rssi (v4.1)
See merge request espressif/esp-idf!9400
2020-08-26 15:56:02 +08:00
lly
45f7edd4f2
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-08-26 07:50:10 +00:00
weitianhua
899ef49272
Seperate BTA_JV_L2CAP for less bin size
2020-08-26 15:30:26 +08:00
Island
ade43317ca
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.1' into 'release/v4.1'
...
ble_mesh: Get node info with pre-configured node name (v4.1)
See merge request espressif/esp-idf!10145
2020-08-26 15:28:15 +08:00
Jiang Jiang Jian
a27ea5a6c8
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.1' into 'release/v4.1'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9339
2020-08-26 11:33:12 +08:00
lly
292333a27c
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-08-25 09:35:34 +08:00
Island
1c8ce47465
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.1' into 'release/v4.1'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.1)
See merge request espressif/esp-idf!9396
2020-08-24 17:20:12 +08:00
lly
bd59c89540
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-08-24 08:52:05 +00:00
mbroek
c3fe42250c
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-08-24 08:52:05 +00:00
Chinmay Chhajed
6f22d7590e
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-08-24 10:27:04 +05:30
Jiang Jiang Jian
91903234a9
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.1' into 'release/v4.1'
...
Bugfix/fix event bug in GAP API [backport v4.1]
See merge request espressif/esp-idf!9192
2020-08-24 12:34:30 +08:00
Jiang Jiang Jian
294a00c15d
Merge branch 'feature/esp_spp_stop_srv_v4.1' into 'release/v4.1'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.1]
See merge request espressif/esp-idf!10011
2020-08-24 12:34:04 +08:00
Jiang Jiang Jian
c547044f28
Merge branch 'bugfix/fix_error_in_ag_api_4.1' into 'release/v4.1'
...
Fix error of AG API return line v4.1
See merge request espressif/esp-idf!9604
2020-08-24 12:32:21 +08:00
Jiang Jiang Jian
d4af9d1ce4
Merge branch 'bugfix/fix_hci_max_page_num_v4.1' into 'release/v4.1'
...
bugfix/Support for more Bluetooth HID devices [backport v4.1]
See merge request espressif/esp-idf!9661
2020-08-24 12:31:22 +08:00
Jiang Jiang Jian
84b9ce81bb
Merge branch 'bugfix/fix_get_bond_device_list_v4.1' into 'release/v4.1'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.1]
See merge request espressif/esp-idf!9667
2020-08-24 12:30:07 +08:00
Jiang Jiang Jian
a36a020657
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs_v4.1' into 'release/v4.1'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check.(backport 4.1)
See merge request espressif/esp-idf!9235
2020-08-24 12:27:59 +08:00
Jiang Jiang Jian
788fe71b6b
Merge branch 'nimble/nrpa_support_v4.1' into 'release/v4.1'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.1)
See merge request espressif/esp-idf!9740
2020-08-24 12:27:03 +08:00
lly
3d888ca777
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-08-21 12:58:34 +00:00
Island
2a5679c253
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh model recv fix (v4.1)
See merge request espressif/esp-idf!9007
2020-08-21 20:37:53 +08:00
lly
9ba5899206
ble_mesh: correct the return type [Zephyr]
2020-08-21 07:21:15 +00:00
lly
6b6cf151cf
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-08-21 07:21:15 +00:00
lly
897acd6a1d
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-08-21 07:21:15 +00:00
lly
cc36e415c0
ble_mesh: Local model (un)subscribes group address
2020-08-21 07:18:44 +00:00
lly
a43e5feee8
ble_mesh: Define a macro for invalid company id
2020-08-21 07:18:44 +00:00
Island
ab6139b9df
Merge branch 'bugfix/ble_mesh_check_model_status_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Check model status with variable length (v4.1)
See merge request espressif/esp-idf!9399
2020-08-21 14:57:03 +08:00
Island
6e42afb45b
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh not define bool (v4.1)
See merge request espressif/esp-idf!9394
2020-08-21 14:56:46 +08:00
Island
252aaf2ab7
Merge branch 'bugfix/ble_mesh_bt_hex_v4.1' into 'release/v4.1'
...
ble_mesh: Fix wrong log output with bt_hex (v4.1)
See merge request espressif/esp-idf!9393
2020-08-21 14:56:34 +08:00
Island
9ff30e81c5
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.1' into 'release/v4.1'
...
ble_mesh: Remove relay option dependency (v4.1)
See merge request espressif/esp-idf!9026
2020-08-21 14:56:23 +08:00
Island
7bc32cb773
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.1' into 'release/v4.1'
...
ble_mesh: Rework prov pdu length check (v4.1)
See merge request espressif/esp-idf!9003
2020-08-21 14:56:07 +08:00
liqigan
40bc362809
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
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-08-13 12:15:33 +08:00
boblane
b57953efdf
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-08-10 10:06:42 +08:00
lly
7f7397e67f
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-07-30 03:58:27 +00:00
Prasad Alatkar
9587b53b2f
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.1)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-24 06:48:14 +00:00
DerfJagged
16e33e3e33
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:14:34 +08:00
weitianhua
491d564f5a
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-14 14:44:20 +08:00
liqigan
f5d37dd416
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 14:22:19 +08:00
wangcheng
9c9b64ee17
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-07-07 21:02:49 +08:00
lly
bf35465658
ble_mesh: stack: Check model status with variable length
2020-06-30 09:31:27 +08:00
lly
289b8bcea7
ble_mesh: Remove boolean type definitions
2020-06-30 09:18:42 +08:00
Nikolaos Strikos
0d5eb50ce2
ble_mesh: Do not #define bool when compiling in C++
2020-06-30 09:18:42 +08:00
lly
353f893d95
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-30 09:16:29 +08:00
liminyang
a55bd7339c
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:56:08 +08:00
wangcheng
5cff7b1d55
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:52:34 +08:00
Jiang Jiang Jian
6b66850dc1
Merge branch 'bugfix/ble_conn_fail_v4.1' into 'release/v4.1'
...
Fix bugs from coex test v4.1
See merge request espressif/esp-idf!9136
2020-06-17 18:17:15 +08:00
Jiang Jiang Jian
5e52e5f6f5
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.1' into 'release/v4.1'
...
Bugfix/blufi buffer overflow report v4.1
See merge request espressif/esp-idf!9178
2020-06-16 15:59:49 +08:00
wangcheng
ae64d9e738
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-15 19:37:38 +08:00
Wang Cheng
6861f7d5d8
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-15 19:19:14 +08:00
Geng Yu Chao
c5a6fc9c7e
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-15 19:17:27 +08:00
wangcheng
3b8b057894
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:07:28 +08:00
wangcheng
e69ee31e1a
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:06:28 +08:00
wangcheng
846a2f95f4
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:06:14 +08:00
baohongde
1b8905e544
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-11 16:55:36 +08:00
baohongde
d0093c7675
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-11 16:55:26 +08:00
baohongde
de6f21936f
components/coex: Fix ble connecting fail in coexist
2020-06-11 16:55:12 +08:00
baohongde
7cdc2f2b81
Backport MR for baidu proj
2020-06-04 11:07:30 +08:00
lly
1bd7944316
ble_mesh: Rework prov pdu length check
2020-06-02 10:13:51 +08:00
Jiang Jiang Jian
5fb93a14ae
Merge branch 'bufix/fix_v4.1_bluedroid_bugs_mr' into 'release/v4.1'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 4.1)
See merge request espressif/esp-idf!8756
2020-05-29 11:13:20 +08:00
Jiang Jiang Jian
63592b667c
Merge branch 'nimble/config_option_sdkconfig_rename_v4.1' into 'release/v4.1'
...
Add NimBLE config options in sdkconfig.rename (v4.1)
See merge request espressif/esp-idf!8735
2020-05-29 11:12:44 +08:00
zhiweijian
8793aab0e3
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-28 12:07:58 +00:00
wangcheng
d32ee233af
fix bta_dm_deinit_cb crash
2020-05-28 12:07:58 +00:00
wangcheng
049402ae8d
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-28 12:07:58 +00:00
Jiang Jiang Jian
977d98cb6d
Merge branch 'bugfix/ble_mesh_check_timer_init_v4.1' into 'release/v4.1'
...
ble_mesh: Check the result of creating timer (v4.1)
See merge request espressif/esp-idf!8958
2020-05-28 15:27:42 +08:00
Jiang Jiang Jian
983a4be42e
Merge branch 'nimble/update_nimble_submodule_v4.1' into 'release/v4.1'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.1)
See merge request espressif/esp-idf!8794
2020-05-28 15:25:12 +08:00
lly
0c87b1c12d
ble_mesh: Check the result of creating timer
2020-05-28 10:27:06 +08:00
Island
5ea193115b
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh sync zephyr fixes (v4.1)
See merge request espressif/esp-idf!8948
2020-05-28 10:15:53 +08:00
Island
6971cdbad5
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v4.1' into 'release/v4.1'
...
ble_mesh: Not using pre-initialized private key (v4.1)
See merge request espressif/esp-idf!8945
2020-05-28 10:14:21 +08:00
lly
2f73d76768
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-27 17:46:29 +08:00
lly
63c8dd2981
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-27 17:46:23 +08:00
lly
0c06be9bcd
ble_mesh: Not using pre-initialized private key
2020-05-27 17:39:50 +08:00
lly
d3921346a9
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:30:31 +08:00
lly
3b89497b39
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:53:30 +08:00
lly
eeff638c97
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:47:40 +08:00
Island
502a2aed2a
Merge branch 'bugfix/ble_mesh_friend_init_flag_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh friend init flag (v4.1)
See merge request espressif/esp-idf!8848
2020-05-22 10:51:13 +08:00
Island
e789d85e69
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v4.1' into 'release/v4.1'
...
ble_mesh: Fix mesh node device role restore (v4.1)
See merge request espressif/esp-idf!8724
2020-05-21 15:10:48 +08:00
Island
eb8f6f942a
Merge branch 'bugfix/ble_mesh_fix_typos_v4.1' into 'release/v4.1'
...
ble_mesh: Fix typos (v4.1)
See merge request espressif/esp-idf!8726
2020-05-21 15:10:10 +08:00
lly
715cb64288
ble_mesh: Clear two more vars during proxy server deinit
2020-05-21 14:26:05 +08:00
lly
52fa4c7f96
ble_mesh: Add missing sdkconfig.h
2020-05-21 14:26:05 +08:00
lly
f02d095ff1
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-21 14:26:04 +08:00
lly
ab73b3fd8e
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-21 14:26:04 +08:00
Prasad Alatkar
3db186d5d1
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.1)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:09:02 +05:30
lly
9d587eb8fd
ble_mesh: Remove patch for the bug of an App
2020-05-15 20:23:48 +08:00
Hrishikesh Dhayagude
c595429db0
Add NimBLE config options in sdkconfig.rename
2020-05-14 11:30:35 +10:00
lly
b929611d5d
ble_mesh: Fix typos
2020-05-13 18:30:52 +08:00
lly
e9f64eb1c3
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-13 18:25:53 +08:00
Island
56c1646e2a
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v4.1' into 'release/v4.1'
...
Bugfix/sync zephyr bt mesh bugfix (v4.1)
See merge request espressif/esp-idf!8688
2020-05-13 18:15:37 +08:00
lly
31b164ccb1
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-13 10:09:04 +08:00
lly
295a9eea82
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-11 15:42:58 +08:00
lly
06d445759a
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-11 15:42:57 +08:00