commCPU_SUPV/code/user/inc/iec103_srv_tool.h

37 lines
1.1 KiB
C
Raw Permalink Normal View History

2025-04-30 16:24:29 +08:00
#ifndef IEC103_SRV_TOOL_123_INCLUDED
#define IEC103_SRV_TOOL_123_INCLUDED
//<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬶<EFBFBD><F2A3ACB6><EFBFBD><E5B1BE>
//#define IEC60870_RELEASE
#include "iec103_service_srv.h"
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************/
ST_RET iec103_srv_tool_init( IEC103_SERVICE_SRV_TCP *iec103_srv_tool );
ST_RET iec103_srv_tool_release( IEC103_SERVICE_SRV_TCP *iec103_srv_tool );
ST_RET iec103_srv_tool_handle( IEC103_SERVICE_SRV_TCP *iec103_srv_tool );
ST_RET iec103_srv_tool_asdu_send( int linkIndex, unsigned char *asdu, int asduLen, IEC103_I_ASDU_TYPE type );
ST_RET iec103_srv_tool_asdu_send_fhlb_return( int linkIndex, ST_VOID *waveBuffer, ST_VOID *digitalVal );
ST_RET iec103_srv_tool_asdu_send_fpga_return_conf( ST_INT linkIndex, ST_UCHAR fType, ST_UCHAR *data, ST_INT dataLen, ST_UCHAR isSecond );
ST_RET iec103_srv_tool_asdu_send_fpga_return_result( ST_INT linkIndex, ST_UCHAR fType, ST_UCHAR result, ST_UCHAR isSecond );
/************************************************************************/
#ifdef __cplusplus
}
#endif
#endif