summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
blob: 66575f5fdf7b64f8f80d6f51631ebe4c234e0e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
 * Copyright (C) ST-Ericsson SA 2011
 * License terms: 3-clause BSD license
 ******************************************************************************/
#ifndef _INCLUSION_GUARD_T_R15_FAMILY_H_
#define _INCLUSION_GUARD_T_R15_FAMILY_H_
/**
 * @addtogroup ldr_communication_serv
 * @{
 *    @addtogroup R15_family
 *    @{
 *
 */


/*******************************************************************************
 * Types, constants
 ******************************************************************************/

#include "t_r15_transport_layer.h"
#include "t_r15_network_layer.h"

/** Strucure with timeouts for R15 protocols. */
typedef struct {
    uint32 TCACK ;  /**< Time for command packet acknowledge. */
    uint32 TBCR;    /**< Time for bulk command packet to be recieved.*/
    uint32 TBDR;    /**< Time for bulk data packet to be received. */
} R15_Timeouts_t;

/**
 * R15 family context.
 * Context structures for R15 transport layer and network layer.
 */
typedef struct {
    R15_TransportContext_t Transport;
    R15_NetworkContext_t   Network;
    R15_Timeouts_t         Timeouts;
} R15_FamilyContext_t;


/** @} */
/** @} */
#endif // _INCLUSION_GUARD_T_R15_FAMILY_H_