/* * Copyright (c) 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #ifndef BT_MESH_SAR_CFG_H__ #define BT_MESH_SAR_CFG_H__ #include #ifdef __cplusplus extern "C" { #endif /** * @defgroup bt_mesh_sar_cfg SAR Configuration common header * @ingroup bt_mesh * @{ */ /** SAR Transmitter Configuration state structure */ struct bt_mesh_sar_tx { /** SAR Segment Interval Step state */ uint8_t seg_int_step; /** SAR Unicast Retransmissions Count state */ uint8_t unicast_retrans_count; /** SAR Unicast Retransmissions Without Progress Count state */ uint8_t unicast_retrans_without_prog_count; /* SAR Unicast Retransmissions Interval Step state */ uint8_t unicast_retrans_int_step; /** SAR Unicast Retransmissions Interval Increment state */ uint8_t unicast_retrans_int_inc; /** SAR Multicast Retransmissions Count state */ uint8_t multicast_retrans_count; /** SAR Multicast Retransmissions Interval state */ uint8_t multicast_retrans_int; }; /** SAR Receiver Configuration state structure */ struct bt_mesh_sar_rx { /** SAR Segments Threshold state */ uint8_t seg_thresh; /** SAR Acknowledgment Delay Increment state */ uint8_t ack_delay_inc; /** SAR Discard Timeout state */ uint8_t discard_timeout; /** SAR Receiver Segment Interval Step state */ uint8_t rx_seg_int_step; /** SAR Acknowledgment Retransmissions Count state */ uint8_t ack_retrans_count; }; /** @} */ #ifdef __cplusplus } #endif #endif /* BT_MESH_SAR_CFG_H__ */