24 lines
354 B
C
24 lines
354 B
C
/**
|
|
* @file s7tcpmaster.h
|
|
* @brief 西门子S7Comm TCP客户端主站头文件
|
|
*/
|
|
#ifndef S7TCPMASTER_H
|
|
#define S7TCPMASTER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
|
|
int32_t loopback_tcpc_s7(uint8_t sn, uint8_t *destip, uint16_t destport);
|
|
void update_timeout_s7(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|