summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
diff options
context:
space:
mode:
authorViktor Mladenovski <viktor.mladenovski@stericsson.com>2011-05-20 14:10:59 +0200
committerViktor Mladenovski <viktor.mladenovski@stericsson.com>2011-05-20 14:10:59 +0200
commitf7e95217e936da34d7124aaced590692eb515923 (patch)
tree2d9ef4750a67d9d1dd3fe9180a4fef2929fad54b /lcmodule/source/cnh1606344_ldr_communication_module/include/t_r15_family.h
Initial contribution of loader_communication
ST-Ericsson ID: 326913 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: I171cfc2ee458a8a0a91a1916137d131f0f7ecee5
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_
+