18 lines
491 B
C
18 lines
491 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 5003
|
|
#define TCP_PORT_BLE2 5004
|
|
#define TCP_PORT_CONTROL 5005
|
|
|
|
extern void tcp_echo_init(void);
|
|
extern void user_send_data_hart1(uint8_t *data, uint16_t len);
|
|
extern void user_send_data_hart2(uint8_t *data, uint16_t len);
|
|
extern void user_send_data_ble1(uint8_t *data, uint16_t len);
|
|
extern void user_send_data_ble2(uint8_t *data, uint16_t len);
|
|
#endif
|