You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
380 B
21 lines
380 B
5 years ago
|
#ifndef APP_TASK_TCP_CONTROL
|
||
|
#define APP_TASK_TCP_CONTROL
|
||
|
|
||
|
#include "../ctask/task.h"
|
||
|
#include "../tpc/tpc_ccmodbus.h"
|
||
|
#include "app_common.h"
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
TS_task task;
|
||
|
vU8 conn_ok_pool;
|
||
|
vU32 tcp_send_stmp;
|
||
|
}TS_tcp_control;
|
||
|
|
||
|
extern TS_tcp_control ts_tcp_control;
|
||
|
|
||
|
extern void L3_task_tcp_control_init();
|
||
|
extern void L3_task_tcp_control_handle(TS_tcp_control *s);
|
||
|
|
||
|
#endif
|