feat(ble_mesh): Support Bluetooth Mesh SAR enhancement

This commit is contained in:
Liu Linyan
2023-11-02 16:25:41 +08:00
parent c628a94513
commit ff7639bcd6
15 changed files with 2430 additions and 36 deletions

View File

@@ -198,7 +198,7 @@ static int32_t bt_mesh_client_calc_timeout(struct bt_mesh_msg_ctx *ctx,
* All the messages sent from here are access messages.
*/
seg_rtx_num = bt_mesh_get_seg_rtx_num();
seg_rtx_to = bt_mesh_get_seg_rtx_timeout(ctx->send_ttl);
seg_rtx_to = bt_mesh_get_seg_rtx_timeout(ctx->addr, ctx->send_ttl);
seg_count = (msg->len + mic_size - 1) / 12U + 1U;
duration = bt_mesh_get_adv_duration(ctx);