![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed
Core/device.h
- Committer:
- pehrhovey
- Date:
- 2010-03-14
- Revision:
- 0:a548a085de55
File content as of revision 0:a548a085de55:
#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