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

Dependencies:   mbed

Committer:
pehrhovey
Date:
Sun Mar 14 00:54:12 2010 +0000
Revision:
0:a548a085de55

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pehrhovey 0:a548a085de55 1 #ifndef ETHNETIF_H
pehrhovey 0:a548a085de55 2 #define ETHNETIF_H
pehrhovey 0:a548a085de55 3
pehrhovey 0:a548a085de55 4 #ifdef __cplusplus
pehrhovey 0:a548a085de55 5 extern "C" {
pehrhovey 0:a548a085de55 6 #endif
pehrhovey 0:a548a085de55 7
pehrhovey 0:a548a085de55 8 void device_poll();
pehrhovey 0:a548a085de55 9 err_t device_init(struct netif *netif);
pehrhovey 0:a548a085de55 10 void device_address(char *mac);
pehrhovey 0:a548a085de55 11
pehrhovey 0:a548a085de55 12
pehrhovey 0:a548a085de55 13 #ifdef __cplusplus
pehrhovey 0:a548a085de55 14 };
pehrhovey 0:a548a085de55 15 #endif
pehrhovey 0:a548a085de55 16
pehrhovey 0:a548a085de55 17 #endif