Commit Graph

165 Commits

Author SHA1 Message Date
Foxushka 902deed362 Eh 2023-09-06 23:47:10 +03:00
Foxushka 0398d7e9a8 Lite doesn't have this exported 2023-09-06 23:45:32 +03: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
dxl 05b2270049 Merge remote-tracking branch 'origin/main' 2023-09-04 18:32:21 +08:00
dxl 9af1c4330c Delete unused function 2023-09-04 18:29:59 +08:00
paul.73 c9c3ad1d7a Chameleon Lite emulation bug fixed 2023-09-03 13:15:24 +02:00
Philippe Teuwen 76168621b4 style 2023-09-02 22:24:15 +02:00
dxl f134b4f16a Mfc 1k Full emulation (not UID only) with OEM readers bugs fixed. 2023-09-03 03:38:23 +08:00
Foxushka 51b15ea90d Fix Chameleon crashes in BLE pairing 2023-08-30 18:49:05 +00:00
Philippe Teuwen 4272d7661a Fix GET_DEVICE crash 2023-08-28 09:48:05 +02:00
Foxushka d22ff44342 DATA_CMD_GET_DEVICE_CAPABILITIES implementation 2023-08-28 09:12:48 +03:00
Philippe Teuwen 845cae95ab Limit max battery info to 100% 2023-08-28 01:07:29 +02:00
Philippe Teuwen bd3961077c CLI now takes into account Lite refusing to enter reader mode 2023-08-28 01:07:27 +02:00
dxl 2a98245700 Security BLE implemented 2023-08-28 01:40:04 +08:00
dxl df0263edc7 Added some precautions to the comments. 2023-08-28 01:39:36 +08:00
dxl c5c5de5d3c Added setting option for BLE connection key. 2023-08-28 01:38:17 +08:00
dxl 24c3cc86d6 Added cmd for ble bonds . 2023-08-28 01:37:26 +08:00
jimmytai 5c3089ac3d Fix device address is not the same with APP 2023-08-26 22:15:23 +08:00
Philippe Teuwen 86fcaa3d56 typos & style 2023-08-26 04:42:40 +02:00
Philippe Teuwen d5d955d2e9 pylance 2023-08-26 02:55:46 +02:00
Philippe Teuwen 65368dffff deadbeef 2023-08-26 01:52:40 +02:00
Philippe Teuwen 590a45eddc style 2023-08-25 23:55:12 +02:00
Benjamin DELPY 0ebbc56f7c Fix compilation problem error: a label can only be part of a statement and a declaration is not a statement
Please avoid creating variable in middle of functions, and in this particular case double `uint8_t status;`.

Can be valid for some compiler, but does not help to read the code.
2023-08-25 23:33:40 +02:00
Philippe Teuwen c24e69b44c Allow to interrupt sleep sequence during final animation with a simple button press.
Because otherwise one must wait for sleep animation to finish, then press button then wait for boot animation to finish...

Also, fix saved config CRC after config has been saved
2023-08-25 13:41:23 +02:00
Philippe Teuwen ef46b22d69 Fixed logs corruption and app reset on FDS write, added logs flush on sleep
Bug when NRF_LOG_DEFERRED=0
due to a userland NRF_LOG_INFO after FDS record update was initiated, interrupted by FDS record IRQ handler and its own NRF_LOG_INFO
resulting in
<error> app: Fatal error
<warning> app: System reset

Added a few more NRF_LOG in FDS module as well.
Added NRF_LOG_FLUSH in system_off_enter to not miss last messages.
2023-08-25 13:18:06 +02:00
Philippe Teuwen 727cd5e6fa CRLF and typo 2023-08-24 18:42:27 +02:00
Philippe Teuwen 938f2b312c offline copy IC/ID: don't skip HF if LK ok 2023-08-24 17:41:18 +02:00
Philippe Teuwen 8d75ae45c4 clearer(?) comments on settings migration 2023-08-24 16:49:40 +02:00
dxl 585748e302 Fix the space allocation bug and initialization bug in the settings. 2023-08-24 21:20:01 +08:00
Philippe Teuwen 3baa0e6633 button press logs 2023-08-24 10:54:22 +02:00
Philippe Teuwen 728472e672 comment accepted too fast before I fixed it :) 2023-08-24 09:55:01 +02:00
Nemanja Nedeljković a856936203 Update firmware/application/src/app_main.c
Thanks @doegox

Co-authored-by: Philippe Teuwen <phil-github@teuwen.org>
2023-08-24 09:51:35 +02:00
Nemanja Nedeljkovic b2851251d1 Forgot about this 2023-08-23 19:39:20 +02:00
Nemanja Nedeljkovic 60cc62d3c9 Add long press command 2023-08-23 19:29:25 +02:00
Nemanja Nedeljkovic 06023d4121 Add long press command 2023-08-23 19:18:47 +02:00
Nemanja Nedeljkovic 6f21856e5d Add long press 2023-08-23 19:08:55 +02:00
Philippe Teuwen e7e4be04d0 translate fw app comments 2023-08-23 03:56:42 +02:00
Philippe Teuwen e3ff2d0d95 C files: same style as for pm3 repo 2023-08-23 00:22:22 +02:00
Philippe Teuwen 37c99cece0 tabs to 4 spaces 2023-08-23 00:20:01 +02:00
Philippe Teuwen e43e668594 Remove tabs & spaces at end of lines 2023-08-23 00:18:31 +02:00
Philippe Teuwen fdc269a46a Merge branch 'main' into rework_st_delete 2023-08-22 23:50:21 +02:00
Philippe Teuwen 074168365f Rewrote offline uid copy to avoid 2 mode swaps
We also skip HF if we managed to clone a LF tag.
2023-08-22 23:40:22 +02:00
Philippe Teuwen ab9e9bad14 Fix offline_status_blink_color which was breaking following HF reader
this one took me so long to debug...
2023-08-22 23:38:09 +02:00
Augusto Zanellato 5f27cef975 Remove restrictions from slot delete 2023-08-22 23:30:33 +02:00
Philippe Teuwen 7ed8005a26 Fix tag_mode_enter short LF field trigger when leaving reader mode 2023-08-22 22:47:44 +02:00
Nemanja Nedeljkovic bbd0a730c7 Fix indentation 2023-08-22 21:03:37 +02:00
Nemanja Nedeljkovic 012cc8c2a9 Add status for LF 2023-08-22 20:46:03 +02:00
Nemanja Nedeljkovic 2cd1f66ae3 Merge branch 'main' into offline-confirmation 2023-08-22 20:44:51 +02:00