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
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
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
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