summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h')
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h b/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
new file mode 100644
index 0000000..66575f5
--- /dev/null
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
@@ -0,0 +1,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_
+