Commit Graph

59 Commits

Author SHA1 Message Date
Eremita Solitario 6d2eb1761f Solved bug that makes hf mf eread command crashes 2023-09-09 23:32:53 +02:00
Philippe Teuwen a793810f59 Merge pull request #132 from Foxushka/simplify-code
block_count can't be more than 0xFF, simplify code
2023-09-08 09:05:55 +02:00
Foxushka 1ac071e449 block_count can't be move than 0xFF, simplify code 2023-09-07 20:07:38 +03:00
Foxushka 6e4d861625 Update version in docstring 2023-09-07 19:41:57 +03:00
Foxushka dbf4599221 Update cmd_processor_get_settings 2023-09-07 19:40:50 +03:00
dxl b3e0afc555 Enable BLE pairing by setting and disable by default. 2023-09-07 20:04:24 +08:00
Foxushka 2e912285f5 Implement DATA_CMD_GET_MF1_ANTI_COLL_DATA and DATA_CMD_GET_SETTINGS 2023-09-06 23:36:43 +03:00
Foxushka 55a70fc2e5 Move to PP_HTONS 2023-09-06 22:55:26 +03:00
Foxushka 58d43a36c4 Merge branch 'main' into software-capabilities 2023-09-06 22:34:57 +03:00
Philippe Teuwen 76168621b4 style 2023-09-02 22:24:15 +02:00
Foxushka d22ff44342 DATA_CMD_GET_DEVICE_CAPABILITIES implementation 2023-08-28 09:12:48 +03:00
Philippe Teuwen bd3961077c CLI now takes into account Lite refusing to enter reader mode 2023-08-28 01:07:27 +02:00
dxl d76fbd440c Added commands related to BLE pairing binding. 2023-08-28 01:35:57 +08:00
Philippe Teuwen d5d955d2e9 pylance 2023-08-26 02:55:46 +02:00
Philippe Teuwen a596e98bf7 python style 2023-08-26 02:24:08 +02:00
Philippe Teuwen d08c8c4605 Close properly after factory reset, fix typo 2023-08-26 01:48:30 +02:00
Philippe Teuwen 05f25e830c More Chinese (auto) translation 2023-08-25 19:51:27 +02:00
Nemanja Nedeljkovic 1ff0be6ed8 Add long press command 2023-08-23 19:29:03 +02:00
Philippe Teuwen e43e668594 Remove tabs & spaces at end of lines 2023-08-23 00:18:31 +02:00
Augusto Zanellato 5f27cef975 Remove restrictions from slot delete 2023-08-22 23:30:33 +02:00
dxl 76643183ea Impl change the button function when click. 2023-08-22 19:58:33 +08:00
dxl 68a3e463f1 Add command to get battery information #38 2023-08-22 12:05:48 +08:00
Augusto Zanellato d33ae755c1 Add ability to delete sense type per slot 2023-08-21 16:38:11 +02:00
Philippe Teuwen 423d212cf7 add authors and changelog files and reminder in CI 2023-08-21 02:17:00 +02:00
Philippe Teuwen 136a7531f4 Merge pull request #66 from szymex73/cli-overhaul
CLI Overhaul
2023-08-21 00:09:02 +02:00
Philippe Teuwen 5e52180aec Mifare Classic emulator: fix asked by @Foxushka 2023-08-20 10:21:08 +02:00
Szymon Borecki 895b0ced12 Merge remote-tracking branch 'origin/main' into cli-overhaul 2023-08-20 01:25:24 +02:00
Philippe Teuwen 8879460e10 Merge branch 'main' into hw-slot-info 2023-08-20 00:11:42 +02:00
Philippe Teuwen 12de4c0e0e Merge pull request #56 from domints/implement-get-slot-data
Implement get slot data
2023-08-20 00:07:46 +02:00
Foxushka 151f412490 Implement new Mifare Classic emulator configuration commands, improve CLI
Slot

Won't work like this

More randomness on nested auth (for hardnested recovery) and change default GCC location

Nobody will have GCC in this default location, /usr/bin/ will target way more users

Get enabled slots command

hw slot list show disabled slots

Improve python code quality

Show Mifare Classic emulator settings in hw slot list

Implement hf mf settings to change Mifare Classic emulator settings

Update
2023-08-19 20:59:39 +03:00
Szymon Borecki dddc6f1a10 Merge remote-tracking branch 'origin/main' into cli-overhaul 2023-08-19 14:19:40 +02:00
Philippe Teuwen 22747138e7 Merge branch 'main' into bugfix/cli-offset 2023-08-19 01:18:42 +02:00
Philippe Teuwen 9db1671be5 Merge pull request #63 from augustozanellato/factory_reset
Add factory reset command
2023-08-19 00:46:39 +02:00
Philippe Teuwen 3bfc52432a change slot nicknames encoding: gbk -> utf8 2023-08-19 00:14:19 +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 Teuwen 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 Zanellato 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 Zanellato 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 f30ff7054c Add animation modes support 2023-08-10 22:26:22 +02:00
Szymon Borecki e9fec48ede Fix docstring for expect_response and rename the associated exception 2023-08-09 23:51:12 +02:00
Szymon Borecki 3259de2f25 Replace the PositiveChameleonCMD class with an exception decorator 2023-08-09 23:37:52 +02:00