Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed
perf.h
00001 /* 00002 * Author: Adam Dunkels <adam@sics.se> 00003 * 00004 */ 00005 #ifndef __LWIP_ARCH_PERF_H__ 00006 #define __LWIP_ARCH_PERF_H__ 00007 00008 #define PERF_START 00009 #define PERF_STOP(x) 00010 00011 00012 inline void perf_init(char *fname) { 00013 return; 00014 } 00015 00016 00017 #endif /* __LWIP_ARCH_PERF_H__ */
Generated on Tue Jul 12 2022 19:17:23 by 1.7.2