Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed

Dependencies:   mbed

Revision:
0:a548a085de55
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Core/device.h	Sun Mar 14 00:54:12 2010 +0000
@@ -0,0 +1,17 @@
+#ifndef ETHNETIF_H
+#define ETHNETIF_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void device_poll();
+err_t device_init(struct netif *netif);
+void device_address(char *mac);
+
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif