summaryrefslogtreecommitdiff
path: root/source/LCM/include/t_communication_service.h
diff options
context:
space:
mode:
authorxmarvla <vlatko.markovic@seavus.com>2011-06-15 14:03:08 +0200
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2011-08-17 22:06:38 +0200
commitc9d1f9613e3ac18d5dd3b9432646e289bb88cec9 (patch)
tree086b18dc26d75f052b840d818877efb79f5791ca /source/LCM/include/t_communication_service.h
parent12da7d3751c8b7bd088587c8323123019680efff (diff)
Add support for M730 Platform
Added new command: System_StartCommRelay (For M730 platform). New state machine in Protrom Network Transmitter Handler. Small changes in Z protocol due to implementation of Communication Relay in Hassium Loaders. Add implementation for CriticalSection synchronization mechanism. ST-Ericsson ID: 325251 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Depends-On: I0d34a2c4504a2b52ff5ab5efd2da36d8d1fa9816 Change-Id: I0d34a2c4504a2b52ff5ab5efd2da36d8d1fa9816 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20944 Reviewed-by: QATOOLS Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'source/LCM/include/t_communication_service.h')
-rw-r--r--source/LCM/include/t_communication_service.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/LCM/include/t_communication_service.h b/source/LCM/include/t_communication_service.h
index 74e72a9..3b686cc 100644
--- a/source/LCM/include/t_communication_service.h
+++ b/source/LCM/include/t_communication_service.h
@@ -325,18 +325,20 @@ typedef struct {
/** Structure for initialization and manipulation of protocol family */
typedef struct FamilyDescriptor_s {
- ErrorCode_e(*FamilyInit_fn)(Communication_t *Communication_p);
/**< Pointer to Interface function for protocol family initialization. */
- ErrorCode_e(*FamilyShutdown_fn)(Communication_t *Communication_p);
+ ErrorCode_e(*FamilyInit_fn)(Communication_t *Communication_p);
/**< Pointer to Interface function for protocol family de-initialization. */
- ErrorCode_e(*Process_fn)(Communication_t *Communication_p);
+ ErrorCode_e(*FamilyShutdown_fn)(Communication_t *Communication_p);
/**< Pointer to Pooling function in curren protocol family. */
- ErrorCode_e(*Send_fn)(Communication_t *Communication_p, void *InputData_p);
+ ErrorCode_e(*Process_fn)(Communication_t *Communication_p);
/**< Pointer to function for sending packets.*/
- ErrorCode_e(*SetProtocolTimeouts_fn)(Communication_t *Communication_p, void *TimeoutData_p);
+ ErrorCode_e(*Send_fn)(Communication_t *Communication_p, void *InputData_p);
/**< Pointer to function for setting communication timeouts for current protocol family. */
- ErrorCode_e(*GetProtocolTimeouts_fn)(Communication_t *Communication_p, void *TimeoutData_p);
+ ErrorCode_e(*SetProtocolTimeouts_fn)(Communication_t *Communication_p, void *TimeoutData_p);
/**< Pointer to function for getting communication timeouts from current protocol family. */
+ ErrorCode_e(*GetProtocolTimeouts_fn)(Communication_t *Communication_p, void *TimeoutData_p);
+ /**< Pointer to function for stopping the transmition pool after sending the specified number of packets. */
+ ErrorCode_e(*CancelReceiver_fn)(Communication_t *Communication_p, uint8 PacketsBeforeTransferStop);
} FamilyDescriptor_t;
/** @} */