CORDET Framework - C2 Implementation
CrDemoMaster/CrDaServerSocket.h
Go to the documentation of this file.
1 
116 #ifndef CRDA_SERVERSOCKET_H_
117 #define CRDA_SERVERSOCKET_H_
118 
119 /* Include Framework Files */
120 #include "CrFwConstants.h"
121 /* Include Configuration Files */
122 #include "CrFwUserConstants.h"
123 /* Include FW Profile files */
124 #include "FwSmConstants.h"
125 #include "FwSmConfig.h"
126 #include "FwSmCore.h"
127 #include "FwPrConfig.h"
128 #include "FwPrCore.h"
129 #include "FwPrConstants.h"
130 
145 void CrDaServerSocketInitAction(FwPrDesc_t prDesc);
146 
152 void CrDaServerSocketInitCheck(FwPrDesc_t prDesc);
153 
160 void CrDaServerSocketConfigCheck(FwPrDesc_t prDesc);
161 
171 void CrDaServerSocketShutdownAction(FwSmDesc_t smDesc);
172 
183 
190 void CrDaServerSocketConfigAction(FwPrDesc_t prDesc);
191 
205 void CrDaServerSocketPoll();
206 
225 
248 
254 void CrDaServerSocketSetPort(int n);
255 
256 #endif /* CRDA_SERVERSOCKET_H_ */
CrFwBool_t CrDaServerSocketIsPcktAvail(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Available Check Operation for the server socket. ...
CrFwPckt_t CrDaServerSocketPcktCollect(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Collect Operation for the server socket.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:32
void CrDaServerSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the server socket.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrDaServerSocketPoll()
Poll the server socket to check whether a new packet has arrived from either client.
void CrDaServerSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the server socket.
void CrDaServerSocketConfigCheck(FwPrDesc_t prDesc)
Configuration check for the server socket.
void CrDaServerSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the server socket.
void CrDaServerSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the server socket.
void CrDaServerSocketSetPort(int n)
Set the port number for the socket.
CrFwBool_t CrDaServerSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the server socket.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved