ArduiNo,
ArduinoEnc28J60
promise cuitée:
la notice dit: "The device can enter Promiscuous mode and receive
all packets by clearing the ERXFCON register. The
proper setting of the register will depend on the
application requirements"
lire:
http://forum.arduino.cc/index.php?topic=217140.msg1586865#msg1586865
Hello, me again,
Reading http://www.apexelectrix.com/PDFs/ENC28J60.pdf , I discover that Enc28J60? is able to run in "promisuous" mode (reporting all packets seen, even not matching mac address).
So I add a function to the library:
in file "enc28j60h":
static void enablePromiscuous();
in file "enc28j60.cpp:
void ENC28J60::enablePromiscuous () {
writeRegByte(ERXFCON, 0);
}
By the way, my gadget "manInTheMidle" is running fine without needing to configure the mac-adresses.
Regards
PO.