LCOV - code coverage report
Current view: top level - zephyr/bluetooth/mesh - sar_cfg.h Hit Total Coverage
Test: new.info Lines: 13 15 86.7 %
Date: 2024-12-21 18:13:37

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2021 Nordic Semiconductor ASA
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : #ifndef BT_MESH_SAR_CFG_H__
       8             : #define BT_MESH_SAR_CFG_H__
       9             : 
      10             : #include <stdint.h>
      11             : 
      12             : #ifdef __cplusplus
      13             : extern "C" {
      14             : #endif
      15             : 
      16             : /**
      17             :  * @defgroup bt_mesh_sar_cfg SAR Configuration common header
      18             :  * @ingroup bt_mesh
      19             :  * @{
      20             :  */
      21             : 
      22             : /** SAR Transmitter Configuration state structure */
      23           1 : struct bt_mesh_sar_tx {
      24             :         /** SAR Segment Interval Step state */
      25           1 :         uint8_t seg_int_step;
      26             : 
      27             :         /** SAR Unicast Retransmissions Count state */
      28           1 :         uint8_t unicast_retrans_count;
      29             : 
      30             :         /** SAR Unicast Retransmissions Without Progress Count state */
      31           1 :         uint8_t unicast_retrans_without_prog_count;
      32             : 
      33             :         /* SAR Unicast Retransmissions Interval Step state */
      34           0 :         uint8_t unicast_retrans_int_step;
      35             : 
      36             :         /** SAR Unicast Retransmissions Interval Increment state */
      37           1 :         uint8_t unicast_retrans_int_inc;
      38             : 
      39             :         /** SAR Multicast Retransmissions Count state */
      40           1 :         uint8_t multicast_retrans_count;
      41             : 
      42             :         /** SAR Multicast Retransmissions Interval state */
      43           1 :         uint8_t multicast_retrans_int;
      44             : };
      45             : 
      46             : /** SAR Receiver Configuration state structure */
      47           1 : struct bt_mesh_sar_rx {
      48             :         /** SAR Segments Threshold state */
      49           1 :         uint8_t seg_thresh;
      50             : 
      51             :         /** SAR Acknowledgment Delay Increment state */
      52           1 :         uint8_t ack_delay_inc;
      53             : 
      54             :         /** SAR Discard Timeout state */
      55           1 :         uint8_t discard_timeout;
      56             : 
      57             :         /** SAR Receiver Segment Interval Step state */
      58           1 :         uint8_t rx_seg_int_step;
      59             : 
      60             :         /** SAR Acknowledgment Retransmissions Count state */
      61           1 :         uint8_t ack_retrans_count;
      62             : };
      63             : 
      64             : /** @} */
      65             : 
      66             : #ifdef __cplusplus
      67             : }
      68             : #endif
      69             : 
      70             : #endif /* BT_MESH_SAR_CFG_H__ */

Generated by: LCOV version 1.14