15 lines
306 B
C
15 lines
306 B
C
#ifndef _TCPECHO_H_
|
|
#define _TCPECHO_H_
|
|
|
|
#include "main.h"
|
|
|
|
#define TCP_PORT_HART1 5001
|
|
#define TCP_PORT_HART2 5002
|
|
#define TCP_PORT_BLE1 6001
|
|
#define TCP_PORT_BLE2 6002
|
|
#define TCP_PORT_CONTROL 5003
|
|
|
|
extern void tcp_echo_init(void);
|
|
extern void user_send_data_control(uint8_t *data, uint16_t len);
|
|
#endif
|