Hi Community,
I'm new to the mbed stuff, so I thought my question should be placed here, as it may be a easy or even trivial question for you guys.
I wanted to receive messages/packets on the Ethernet port which don't have a dest. MAC address that matches the mbed MAC address. I'm using the newest version of the EthernetInterface library provided by mbed.
So my question is, is there something like a promiscuous mode for the mbed, so that it receives all messages that come into the Ethernetport despite the destination MAC address ? It seems like all packets that do not have the correct MAC address get discarded.
I tried to get a raw socket to work, but somehow I failed at that point, and wanted to try it with a UDPSocket, as this works quite nice.
If there is a possibility to receive those packets, exists there a function to extract the dest. MAC address from the header ?
I hope I stated my question clearly.
Thank you in advance
Hi Community,
I'm new to the mbed stuff, so I thought my question should be placed here, as it may be a easy or even trivial question for you guys.
I wanted to receive messages/packets on the Ethernet port which don't have a dest. MAC address that matches the mbed MAC address. I'm using the newest version of the EthernetInterface library provided by mbed.
So my question is, is there something like a promiscuous mode for the mbed, so that it receives all messages that come into the Ethernetport despite the destination MAC address ? It seems like all packets that do not have the correct MAC address get discarded.
I tried to get a raw socket to work, but somehow I failed at that point, and wanted to try it with a UDPSocket, as this works quite nice. If there is a possibility to receive those packets, exists there a function to extract the dest. MAC address from the header ?
I hope I stated my question clearly.
Thank you in advance