Raw Ethernet sending problem

24 Jul 2012

Hi

Has anyone tried using eth.write() and eth.send() functions? I have a code sending a 112 byte long data in Ethernet frame. The first 6 bytes are the destination mac address and the next 6 bytes are the source (mbed) mac address. Wireshark shows it didnt receive any frame from my mbed.

Is it correct if I write

eth.write(buff,112); eth.send();

Thanks for reading.

Kwok