mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v4.3' into 'release/v4.3'
ble_mesh: stack: Fix can't trans optional info to group address(v4.3) See merge request espressif/esp-idf!20960
This commit is contained in:
@ -137,14 +137,6 @@ int bt_mesh_server_get_optional(struct bt_mesh_model *model,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Currently we only get optional msg info which dst is set to a unicast address */
|
|
||||||
if (!BLE_MESH_ADDR_IS_UNICAST(ctx->recv_dst)) {
|
|
||||||
*trans_time = 0U;
|
|
||||||
*delay = 0U;
|
|
||||||
*optional = false;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* No optional fields are available */
|
/* No optional fields are available */
|
||||||
if (buf->len == 0x00) {
|
if (buf->len == 0x00) {
|
||||||
if (model->id == BLE_MESH_MODEL_ID_LIGHT_LC_SRV) {
|
if (model->id == BLE_MESH_MODEL_ID_LIGHT_LC_SRV) {
|
||||||
|
Reference in New Issue
Block a user