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.
|
|
|
|
/*
|
|
|
|
|
* bsp_UDP.h
|
|
|
|
|
*
|
|
|
|
|
* Created on: Aug 13, 2024
|
|
|
|
|
* Author: akeguo
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef INC_BSP_BSP_UDP_H_
|
|
|
|
|
#define INC_BSP_BSP_UDP_H_
|
|
|
|
|
|
|
|
|
|
#include "lwip/udp.h"
|
|
|
|
|
extern void udp_client_init(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern void udp_dlt_send_back(char *pData,uint16_t Size);
|
|
|
|
|
extern void udp_cmd_send_back(char *pData, uint16_t Size);
|
|
|
|
|
|
|
|
|
|
typedef void (*DLT_DecodeFuncPtr)(uint8_t*, uint16_t);
|
|
|
|
|
extern void udp_send_by_pcb(struct udp_pcb * upcb,char *pData, uint16_t Size);
|
|
|
|
|
// 再用该类型声明变量
|
|
|
|
|
extern DLT_DecodeFuncPtr UDP_DLT_ReceivedCallback;
|
|
|
|
|
extern int8_t is_udp_GV_update_loop_enalbed;
|
|
|
|
|
|
|
|
|
|
#endif /* INC_BSP_BSP_UDP_H_ */
|