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.
22 lines
389 B
22 lines
389 B
#ifndef APP_TASK_TCP_CONTROL
|
|
#define APP_TASK_TCP_CONTROL
|
|
|
|
#include "../ctask/task.h"
|
|
#include "../tpc/ccmodbus.h"
|
|
#include "../app/app_config.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(void);
|
|
extern void L3_task_tcp_control_handle(TS_tcp_control *s);
|
|
|
|
#endif
|
|
|
|
|