![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First Version (beta test) raw ethernet
Dependencies: EthernetNetIf mbed
variables.h
- Committer:
- ficofer
- Date:
- 2012-07-09
- Revision:
- 0:db9ea2448fdd
File content as of revision 0:db9ea2448fdd:
/* * * * Variables needed in the program * * */ #include "mbed.h" #include "EthernetNetIf.h" #include "defines.h" /*Statics and uninitialiazed*/ Ethernet eth; /*Starts ethernet interface for mbed*/ static char eth_txs_buffer[ETH_BUFF_SIZE]; /*Statics and initialiazed*/ static const char broadcast[MAC_ADD_NUM] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; static char my_mac[MAC_ADD_NUM] = { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 };