gotthardp / python-mercuryapi

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

Support for powermode #136

Closed pytremb closed 8 months ago

pytremb commented 1 year ago

This feature of the M6e Nano significantly reduces power consumption while in standby mode. TMR_SR_POWER_MODE_FULL uses .84W while TMR_SR_POWER_MODE_MAXSAVE only uses .04W. The only drawback is that RF On increases from <8 ms to <20ms which is a very acceptable tradeoff for battery operation.

It would be GREAT to have access to that setting. Thanks for considering!

pytremb commented 1 year ago

paulvha at Sparkfun Forum provided the code modifications to mercury.c to enable reader.set_powermode("MAXSAVE"). https://forum.sparkfun.com/viewtopic.php?f=118&t=59095