Nice catch and thanks for sharing.
So it sounds like you created an RFID reader that communicates over a network!
Sounds like the same project I was working on!
Although I ended up never finished my project, I did order a couple of these chips to play with.
SMT PoE solution with integrated DC-DC converter. 3.3V or 5V or 12V. 12 pin SMD
https://www.semicond...idproduct=13987
I was planning on powering my card reader this way.
-Trey
SOLVED!
Sorry do not waste time in found any solution it was simply a GC problem. During my tests I simply wrote this:
private static void StartRFID() { var idReader = new RFIDReader(SerialPorts.COM1, Pins.GPIO_PIN_D4); idReader.RfidEvent += new RFIDReader.RfidEventDelegate(_idReader_RfidEvent); idReader.Start(); }So the GC during "collection" disposed my idReader variable. Right code is:
private static void StartRFID() { idReader = new RFIDReader(SerialPorts.COM1, Pins.GPIO_PIN_D4); idReader.RfidEvent += new RFIDReader.RfidEventDelegate(_idReader_RfidEvent); idReader.Start(); }Where the idReader is global scope declared.
Gerardo