RfidResearchGroup / ChameleonUltra

The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
https://chameleonultra.com
GNU General Public License v3.0
922 stars 153 forks source link

[Bugfix] Attempted fix of Offset issues and utilizing enums #52

Closed F9Alejandro closed 1 year ago

F9Alejandro commented 1 year ago

Changes to chameleon_cmd.py:

Created SlotNumber Enum with two staticmethods:

Added two staticmethods to TagSenseType Enum:

All instances of slot_num/index have been set to the type enum of SlotNumber

Changes to chameleon_unit.py:

Further testing may need to be done.

Changes to be committed:

doegox commented 1 year ago

I pushed some rewrites detailed in the commit comments. @xianglin1998 you wanted to do some more tests before merge ?

xianglin1998 commented 1 year ago

I'm so busy, sorry. LoL.