gotthardp / python-mercuryapi

Python wrapper for the ThingMagic Mercury API
MIT License
122 stars 63 forks source link

tag.timestamp returns time from future #121

Open siddhantmodi opened 3 years ago

siddhantmodi commented 3 years ago

Please see snippets from my program log file as well as a screenshot of the system time vs the time being printed in the program from the logger as well as the tag.timestamp field. It is clear that the time being returned by the reader is several seconds ahead of the system time. Is this an issue with my system? Or with the MercuryAPI? Or can it be fixed in python-mercuryapi?

Please let me know if I can help solve this issue.

Thank you.

`2021-01-24 17:14:09.154 | INFO | bowelbuddy.rfid_capture:_read_callback:90 - RFID tag detected: b'E200001D331901931930A954', RSSI: -33dBm, Timestamp: 2021-01-24 17:14:23.346000

2021-01-24 17:14:09.193 | INFO | bowelbuddy.rfid_capture:_read_callback:90 - RFID tag detected: b'E200001D331901931930A954', RSSI: -33dBm, Timestamp: 2021-01-24 17:14:23.385000

2021-01-24 17:14:09.234 | INFO | bowelbuddy.rfid_capture:_read_callback:90 - RFID tag detected: b'E200001D331901931930A954', RSSI: -33dBm, Timestamp: 2021-01-24 17:14:23.427000

2021-01-24 17:14:09.274 | INFO | bowelbuddy.rfid_capture:_read_callback:90 - RFID tag detected: b'E200001D331901931930A954', RSSI: -33dBm, Timestamp: 2021-01-24 17:14:23.467000`

image