STM32F4怎么用LWIP协议栈里面的TFTP协议上传文件

2025-04-16 21:42:52
推荐回答(1个)
回答1:

第一步:用tftpserverc中的err_t tftp_send_message(struct udp_pcb *upcb, struct ip_addr *to_ip, int to_port, char *buf, int buflen)向指定地址发送写文件请求; 第二步:用tftpserverc中的void process_tftp_request(struct pbuf *pkt_bSTM32F4怎么用LWIP协议栈里面的TFTP协议上传文件