stm32_serDes_protobuf_project/bsp/lwip/lwip.h

19 lines
378 B
C
Raw Normal View History

2024-05-13 15:21:22 +03:00
#ifndef __mx_lwip_H
#define __mx_lwip_H
#include "ethernetif.h"
2024-06-11 19:59:25 +03:00
#define UDP_RX_BUFFER_SIZE 128
typedef struct {
size_t len;
char buf[UDP_RX_BUFFER_SIZE];
} udp_receive_buffer_t;
2024-05-13 15:21:22 +03:00
void udpServer_init(void);
void udp_send_data(const char *data, u16_t len);
2024-05-15 02:15:03 +03:00
void lwipInit(void);
void lwipProcess(void);
2024-06-11 19:59:25 +03:00
udp_receive_buffer_t* getUdpReceiveBuffer();
2024-05-15 02:15:03 +03:00
#endif