361 Commits
Author SHA1 Message Date
Philippe TeuwenandGitHub 22747138e7 Merge branch 'main' into bugfix/cli-offset 2023-08-19 01:18:42 +02:00
Philippe TeuwenandGitHub 9db1671be5 Merge pull request #63 from augustozanellato/factory_reset
Add factory reset command
2023-08-19 00:46:39 +02:00
Philippe Teuwen 28572958a7 thinner logo to fit 80col terms 2023-08-19 00:24:29 +02:00
Philippe Teuwen 3bfc52432a change slot nicknames encoding: gbk -> utf8 2023-08-19 00:14:19 +02:00
Augusto Zanellato 7b76aefd5e ACK command and use delayed reset 2023-08-18 22:35:39 +02:00
Augusto Zanellato 4ab131d10a Implement wipe fds command used to factory reset 2023-08-18 22:13:06 +02:00
Dominik Szymański 813b12bd37 Implement Mifare Classic emulator slot read 2023-08-18 19:39:05 +02:00
Philippe Teuwen 828d88c273 Several changes on TagSenseType, TagSpecificType and SlotNumber:
* SlotNumber values range from 1 to 8 rather than from 0 to 7
  this allows more straightforward usage as ppl can use equivalently SLOT_1 or 1.
* SlotNumber.fix -> .to_fw, and add .from_fw
* removed unnecessary SLOT_NO
* More straightforward use of enums, no need for .value, .__members__, name.replace() etc
* Unify usage between TagSenseType and TagSpecificType
* Add str representations for TagSenseType
* Fixed TagSpecificType related help (e.g. in hw slot type -h)
* Removed some redundant error raise
* Note: iterations can be done with `for slot in chameleon_cmd.SlotNumber:`
2023-08-18 18:03:02 +02:00
Dominik Szymański 278deda0c6 Merge branch 'main' into implement-get-slot-data 2023-08-18 16:50:38 +02:00
Philippe TeuwenandGitHub 698c9b8ea5 Merge branch 'main' into bugfix/cli-offset 2023-08-18 16:02:55 +02:00
Foxushka 913c1540e3 Implement "hw slot info" to show which tag type loaded into all slots
As suggested by @augustozanellato

Fix input text disapperance in some cases

Show selected slot

Space
2023-08-17 22:40:04 +03:00
Dominik Szymański 85e63d90d9 Merge branch 'main' into implement-get-slot-data 2023-08-17 18:20:58 +02:00
Nemanja Nedeljkovic 0b5290706b Merge 2023-08-17 12:24:52 +02:00
Augusto ZanellatoandPhilippe Teuwen 707136a241 Add settings init, reset and migration logic
Align settings size to uint32_t
Add 78 reserved bits to settings
Use an enum for animation mode
2023-08-16 19:46:41 +02:00
Dominik Szymański 75e319fdd6 Add EM410x slot reading ability 2023-08-16 00:25:02 +02:00
Dominik Szymański 564f7eaf4c Cleanup command ids, add slot get command ids 2023-08-15 23:56:56 +02:00
Augusto ZanellatoandNemanja Nedeljkovic ee8990aacd fw git version fixes, client support
Fix git version string length handling

Add git to docker fw-builder image

Add git version command to client

Add  client support
2023-08-11 19:46:17 +02:00
Alexander Featherston d77ca3cd7d Attempted fix of Offset issues and utilizing enums in place of hardcoded numbers.
Changes to be committed:
	modified:   software/script/chameleon_cli_unit.py
	modified:   software/script/chameleon_cmd.py
2023-08-11 01:16:25 -04:00
Dominik Szymański 85b2fb3d8a Upgrade command parser 2023-08-10 22:59:00 +02:00
Dominik Szymański f30ff7054c Add animation modes support 2023-08-10 22:26:22 +02:00
Szymon Borecki 0cfdff809f Add command autocompletion 2023-08-10 01:20:22 +02:00
Szymon Borecki cdf4669d34 Fix KeyboardInterrupt 2023-08-10 01:18:27 +02:00
Szymon Borecki 3789269c37 Add prompt-toolkit to requirements 2023-08-10 00:54:26 +02:00
Szymon Borecki e2b5b9b960 Use prompt-toolkit and switch to a different command registration system 2023-08-10 00:45:37 +02:00
Szymon Borecki e9fec48ede Fix docstring for expect_response and rename the associated exception 2023-08-09 23:51:12 +02:00