pfeinsper / 21b-indago-rfid-conformance-tester

Documentation:
https://pfeinsper.github.io/21b-indago-rfid-conformance-tester/
0 stars 0 forks source link

Build a state machine for the main code #43

Open lucaslealvale opened 2 years ago

lucaslealvale commented 2 years ago

This state machine is supposed to be able to deal with errors between the communication of the tag and the reader. For example, if the flag of decoder error raises it should be properly treated and dealed with So a State machine should be able to alternate between sending, receving of commands and also to deal with timeouts and errors

https://github.com/pfeinsper/21b-indago-rfid-conformance-tester/blob/f95954a78eef11a8d802034e845e6cfc6f0f20b5/fpga/software/rfid_test/main.c#L21