xcore/sc_ethernet — Issue #19: app_ethernet_demo may contain usefull code
Author: interactive-matter
Created: 2011-12-13 10:06:41+00:00
State: open

Hi,

it is not really an issue that there is some useful code in app_ethernet_demo. But perhaps it should be availlable as a library of nice small helper functions. I think those functions are perhaps usefull for other applications (at least I think so for my app_led_tile):

is_ethertype (?)
is_mac_addr
is_broadcast

build_arp_response
is_valid_arp_packet

build_icmp_response
is_valid_icmp_packet
And perhaps the ARP/ICMP handling in the demo funxtion.

I will try to copy tht over to the app_led_tile and test if it works well enough for me. Then I will see it is worth a pull request for the sc_ethernet.

So you have to do nothing until I got more results ;)

Marcus