Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get code to execute when scanning card #3

Open
GoogleCodeExporter opened this issue Feb 25, 2016 · 2 comments
Open

Can't get code to execute when scanning card #3

GoogleCodeExporter opened this issue Feb 25, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. install the bcm2835 library
2. compile and run the rpi-rc522
3. run ./rc522_reader -d
4. new card scanned, get the output of

Type:0400, Serial: 75305f74
New tag: type=0400 SNlen=4 SN=[75305f74]

5. edit \etc\RC522.conf to include the line 
[75305f74] date

6. run ./rc522_reader -d

7. scan the card again, get the output of

Type: 0400, Serial 75305f74
Exit



What is the expected output? What do you see instead?
I believe I should be seeing the date displayed however it just says Exit...
I've tried other commands as well and cannot get it to do anything else but say 
Exit ...

What version of the product are you using? On what operating system?


Please provide any additional information below.

Unsure if this is a bug / it is not configured correctly but any help would be 
appreciated.

Thanks

Original issue reported on code.google.com by kenno125...@gmail.com on 3 Dec 2014 at 2:37

@GoogleCodeExporter
Copy link
Author


What version of the product are you using? On what operating system?

This is running on a Raspberry Pi . Tried on Rasbian and raspbmc

Original comment by kenno125...@gmail.com on 3 Dec 2014 at 2:38

@GoogleCodeExporter
Copy link
Author

Solved my own issue
For the reader to execute the commands you put into the config file you have to 
run :

sudo nohup /bin/rc522_reader &

So I put that command into

/etc/rc.local

And has been working great ever since :)

Original comment by kenno125...@gmail.com on 6 Dec 2014 at 11:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant