I am tyring to implement this with another process, where i can read the stdout of the main.c and get card details.
Ex: .sudo python Read.py | ./sample.c
my sample.c contains simple read operation from stdout, when i check with any other program which prints output like "hello world" continously in infinite loop, i am able to read it from sample.c. When i test with rc522, i am not able to read anything.
I am tyring to implement this with another process, where i can read the stdout of the main.c and get card details.
Ex: .sudo python Read.py | ./sample.c
my sample.c contains simple read operation from stdout, when i check with any other program which prints output like "hello world" continously in infinite loop, i am able to read it from sample.c. When i test with rc522, i am not able to read anything.