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
838 stars 144 forks source link

block_count can't be more than 0xFF, simplify code #132

Closed Foxushka closed 11 months ago

github-actions[bot] commented 11 months ago

You are welcome to add an entry to the CHANGELOG.md as well

github-actions[bot] commented 11 months ago

Built artifacts for commit e5c03f2d8b4bd55dc22c153bd59091e9c629f1d4

Firmware

Client

doegox commented 11 months ago

Can't we have 256 blocks to be written on a 4k DW ?

Foxushka commented 11 months ago

Can't we have 256 blocks to be written on a 4k DW ?

Good point, but we can't get all blocks in one message anyway. I've tested it now, we might get only 32 blocks per message. Trying to get more than 32 blocks will lead to transfer error. Should we add 32 block limit?

doegox commented 11 months ago

ok it's clearer now, thanks!