gornekich and あく
7ac7b70884
[FL-3241] NFC disable EMV support ( #2571 )
...
* nfc: remove read emv from extra actions
* nfc: remove read emv
Co-authored-by: あく <alleteam@gmail.com >
2023-04-10 23:51:55 +08:00
gornekich and あく
4cee550cc6
[FL-2809] Rework BLE key storage ( #2154 )
...
* bt: disconnect first on profile change
* bt keys: rework bt keys
* saved struct: add payload size getter to API
* bt: rework bt with new key storage API
* bt: add keys storage operation to bt API
* hid: save bt keys on sd card
* bt: add unit tests for key storage
* bt: working profile switch
* bt: cleanup
* bt hid: change keys storage path
Co-authored-by: あく <alleteam@gmail.com >
2022-12-20 21:32:24 +09:00
gornekich
c535b8f4ce
[FL-3017], [FL-3018] Change NFC emulation screens ( #2102 )
...
* nfc: fix emulate uid view
* archive: hide dot files in apps
* nfc: fix other emulation scenes view
2022-12-08 01:47:55 +09:00
gornekich and あく
9a21dae29c
[FL-3008], [FL-2734], [FL-2766], [FL-2898] NFC bug fixes ( #2098 )
...
* nfc: rework mf classic update
* nfc: rename cache folder to .cache
* nfc: fix ATQA order bytes in nfc files
* file browser: add hide dot files option
* nfc: fix iso-14443-4 uid cards emulation
* nfc: fix unit tests
Co-authored-by: あく <alleteam@gmail.com >
2022-12-07 19:52:44 +09:00
gornekich
a74bcbaeb6
NFC: fix NTAG203 info scene #2078
2022-12-02 21:44:23 +09:00
gornekich
e40376bc63
NFC: fix NTAG203 info scene #2078
2022-12-02 21:41:34 +09:00
gornekich and あく
3985b456c3
NFC: fix crash on MFC read ( #1993 )
...
* nfc: fix nfc_worker_stop logic
* nfc: fix stop order
Co-authored-by: あく <alleteam@gmail.com >
2022-11-10 03:12:55 +09:00
gornekich and あく
bf8fd71c00
NFC magic cards support ( #1966 )
...
* nfc magic: introduce nfc app to work with magic cards
* nfc: add nfc device functions to API
* nfc magic: add bacis scenes
* nfc magic: add wrong card and write confirm scenes
* nfc magic: introduce magic lib
* nfc magic: write magic lib
* nfc magic: add write commands to magic lib
* nfc magic: work on worker
* furi_hal_nfc: add bits data exchage method to API
* nfc magic: rework with new API
* nfc magic: add check and wipe scenes
* nfc magic: add icons, gui fixes
* nfc: format python src
Co-authored-by: あく <alleteam@gmail.com >
2022-11-04 16:01:44 +09:00
gornekich and あく
93a6e17ce5
[FL-2933] Mf Classic initial write, update, detect reader ( #1941 )
...
* nfc: introduce nfc write
* nfc: add write logic
* nfc worker: add write state
* nfc: add mfc update logic
* nfc: add update success logic
* nfc: add custom card for detect reader
* nfc: update write logic
* nfc: add halt command, add notifications
* nfc: add write fail scene
* nfc: fixes and clean up
* nfc: fix navigation ad notifications
* nfc: fix detect reader nfc data setter
Co-authored-by: あく <alleteam@gmail.com >
2022-10-29 01:10:16 +09:00
gornekich and あく
7d2d2b3dd9
[FL-2932] TikTok: reset cursor after enter and reconnect #1921
...
Co-authored-by: あく <alleteam@gmail.com >
2022-10-26 07:57:06 +09:00
gornekich and あく
dfbe21e720
NFC fixes part 3 ( #1885 )
...
* nfc: fix read next key
* nfc: verify new line ending in user dictionary file
* nfc: fix cache save
* nfc: add unit test for dict load
* nfc: fix total key count in dictionary
Co-authored-by: あく <alleteam@gmail.com >
2022-10-18 02:10:41 +09:00
ead9f134f4
[FL-2623] Add BLE disconnect request #1686
...
Co-authored-by: LionZXY <nikita@kulikof.ru >
Co-authored-by: あく <alleteam@gmail.com >
2022-10-15 02:21:23 +09:00
gornekich and あく
afff1adf8f
[FL-2882] BLE tiktok controller ( #1859 )
...
* bt hid: introduce tiktok controller
* assets: add bt tiktok assets
* bt hid: finish tiktok draw
* bt hid: add input process to tiktok view
* bt hid: add tiktok swipe emulation
* bt hid: fix exit from tiktok controller
* ble hid: add delay to emulate double tap
* ble hid: change options order
* bt hid: build as external application
* ble hid: fix naming
Co-authored-by: あく <alleteam@gmail.com >
2022-10-13 00:48:13 +09:00
gornekich and あく
2552278a3d
[FL-2883] NFC: bank card rework reading ( #1858 )
...
* nfc: remove bank card save option
* nfc: remove bank card save from nfc device
* nfc: remove unused function in emv
* nfc: try several times to start emv application
* nfc: add AID display fallback for bank cards
Co-authored-by: あく <alleteam@gmail.com >
2022-10-12 02:13:12 +09:00
gornekich and あく
01f7a3e5b5
[FL-2874] Remove bank card uid emulation ( #1823 )
...
* nfc: open bank card info from archive
* nfc: remove emulate uid option from bank cards menu
Co-authored-by: あく <alleteam@gmail.com >
2022-10-07 02:12:45 +09:00
gornekich and あく
5de2c32c81
[FL-2864] NFC update detect reader ( #1820 )
...
* nfc: update detect reader view
* nfc: make detect reader more interractive
* nfc: update icons
* nfc: fix detect reader gui
* nfc: fix gui, fix worker events
* nfc: fix notifications
* nfc: add nfc_worker NULL assert
Co-authored-by: あく <alleteam@gmail.com >
2022-10-07 01:58:17 +09:00
gornekich and あく
e70121e20f
[FL-2843] NFC fixes ( #1764 )
...
* nfc: fix empty desfire card message
* nfc: limit total user keys to list
* nfc: increase popup timeout
Co-authored-by: あく <alleteam@gmail.com >
2022-09-22 00:53:25 +09:00
gornekich and あく
1853359d78
[FL-2759], [FL-2766] NFC collect params for mfkey32 attack ( #1643 )
...
* nfc: start nfc over rpc
* nfc: add detect reader state
* nfc: add reader analyzer
* nfc: rework reader analyzer
* reader_analyzer: print collected nonces to debug
* reader analyzer: add save on SD card
* reader_analyzer: separate mfkey related part to different file
* mfkey32: add logic for collecting parameters
* nfc: rework pcap with reader analyzer
* nfc: add logger for reader
* nfc: clean up
* nfc: add detect reader view
* nfc: add detect reader and mfkey nonces scenes
* nfc: add mfkey comlplete scene
* nfc: add new assets
* nfc: fix gui
* nfc: fix iso14443-4 UID emulation
* nfc: add no sd card notification
* nfc: fix grammar
Co-authored-by: あく <alleteam@gmail.com >
2022-09-03 21:25:36 +09:00
gornekich and あく
8992f8ac36
Fix mifare ultralight/ntag unlock #1624
...
Co-authored-by: あく <alleteam@gmail.com >
2022-08-23 02:14:31 +09:00
gornekich
560ea5f995
[FL-2714] New NFC info screens ( #1605 )
...
* nfc: add scroll element for info
* widget: format lines for scroll text element
* widget: fix new line generation
* widget: finish element text scroll
* nfc: rework ultralight and NTAG info scenes
* nfc: rework mf classic info screens
* nfc: rework nfca info scenes
* nfc: fix mf ultralight navigation
* widget: add documentation
* nfc: rework bank card infO
* nfc: rework device info scene
* nfc: fix incorrect atqa order
* mf ultralight: remove unused function
* widget: add mutex for model protection
* widget: fix memory leak
* nfc: rework delete scene
* nfc: fix selected item in saved menu scene
* widget: fix naming in text scroll element
* nfc: fix navigation from delete success
* nfc: add dictionary icon
* widget: fix memory leak
2022-08-18 00:08:13 +09:00
gornekich and あく
173c94156d
NFC: Add Skylanders support ( #1553 )
...
* nfc: add skylanders support
* nfc: format sources
Co-authored-by: あく <alleteam@gmail.com >
2022-08-08 00:33:14 +09:00
gornekich
c40e8811d6
[FL-2701], [FL-2702], [FL-2699] NFC fixes ( #1478 )
...
* nfc: change read scene views
* nfc: rework return after save success
* nfc: add fallback to read UID of unrecognized iso14443-3
* nfc: show mifare desfire on read success
* nfc: add restore original confirm scene
* nfc: fix icon name
* nfc: clear 6 bit in SAK to emulate 14443-4 uids
* nfc: don't change original sak
2022-07-28 21:34:28 +09:00
gornekich
c777206065
NFC: fix navigation from menu scenes #1459
2022-07-27 02:28:37 +09:00
9c59bcd776
[FL-2605] NFC new design ( #1364 )
...
* nfc: add new read scene
* lib: refactore nfc library
* mifare desfire: add read card fuction
* lib nfc: add auto read worker
* nfc: add supported cards
* nfc: add mifare classic read success scene
* nfc: add troyka support
* submodule: update protobuf
* nfc: mifare classic keys cache
* nfc: rework mifare classic key cache
* Correct spelling
* nfc: add user dictionary
* nfc: introduce block read map in fff
* nfc: rework dict attack
* nfc: improve dict attack
* nfc: rework mifare classic format
* nfc: rework MFC read with Reader
* nfc: add gui for MFC read success scene
* nfc: fix dict attack view gui
* nfc: add retry and exit confirm scenes
* nfc: add retry and exit scenes navigation
* nfc: check user dictionary
* nfc: remove unused scenes
* nfc: rename functions in nfc worker
* nfc: rename mf_classic_dict_attack -> dict_attack
* nfc: change scenes names
* nfc: remove scene tick events
* nfc: rework dict calls with buffer streams
* nfc: fix notifications
* nfc: fix mf desfire navigation
* nfc: remove notification from mf classic read success
* nfc: fix read sectors calculation
* nfc: add fallback for unknown card
* nfc: show file name while emulating
* nfc: fix build
* nfc: fix memory leak
* nfc: fix desfire read
* nfc: add no dict found navigation
* nfc: add read views
* nfc: update card fix
* nfc: fix access bytes save
* nfc: add exit and retry confirm to mf ultralight read success
* nfc: introduce detect reader
* nfc: change record open arg to macros
* nfc: fix start from archive
Co-authored-by: Astra <astra@astrra.space >
Co-authored-by: あく <alleteam@gmail.com >
2022-07-27 00:30:49 +09:00
gornekich
f707aa92bb
nfc: fix exit after emulation ( #1385 )
2022-07-12 23:56:56 +09:00
gornekich
ece142a667
Fix buffer overflow in mifare classic lib #1374
2022-07-06 00:41:19 +09:00
gornekich and あく
5769595e67
NFC emulation software tunning ( #1341 )
...
* digital_signal: optimize calculationxx
* firmware: add listen start and listen rx
* digital signal: rework with fixed point calculation
* nfc: tune timings
* nfc: fix array overflow
* mifare classic: fix key access
* nfc: rework spi bus access
* nfc: rework listen mode with st25r3916 calls
* digital signal: speed up digital_signal_append()
* digital signal: remove unused profiling
* nfc: clean up code
* nfc: correct sleep state
* nfc: add unit tests
* nfc: fix memory leak in unit test
* digital_signal: remove unused code
* nfc: fix incorrect sak load in pt memory
Co-authored-by: あく <alleteam@gmail.com >
2022-07-03 23:51:50 +09:00
gornekich
d876f10193
nfc: don't store pcap for mifare classic emulation ( #1309 )
2022-06-11 00:23:45 +10:00
gornekich
69d90d5b00
nfc device: fix nfc cards save ( #1277 )
2022-05-31 01:39:43 +10:00
gornekich and あく
d31578508a
[FL-2245] Introduce Mifare Classic Emulation ( #1242 )
...
* digital signal: introduce digital signal
* nfca: add nfca signal encoder
* nfc: add mifare classic emulation scene
* nfca: add classic emulation support to lib and hal
* mifare classic: support basic read commands
* nfc: add mifare classic menu scene
* mifare classic: start parsing commands in emulation
* mifare classic: add nested auth
* nfc: fix errors
* mifare classic: add encrypt function
* nfc: fix mifare classic save
* lib hex: add hex uint64_t ASCII parser
* flipper format: add uint64 hex format support
* nfc: add mifare classic key map
* nfc: hide mifare classic keys on emulation
* mifare classic: add NACK responce
* nfc: add partial bytes support in transparent mode
* nfc: mifare classic add shadow file support
* digital signal: move arr buffer from BSS to heap
* mifare classic: process access bits more careful
* nfca: fix memory leack
* nfc: format sources
* mifare classic: cleun up
Co-authored-by: あく <alleteam@gmail.com >
2022-05-24 17:00:15 +03:00
gornekich
2017baac48
[FL-2441] BLE add Power state, fix double connection ( #1238 )
...
* battery service: add power state charachteristic
* bt: update power state on charging / discharging events
* ble config: support only one connection
* bt: always update flow control characteristic
* bt: fix power state update
* bt: simplify updating power state
* bt: don't update flow control charachteristic
2022-05-24 16:42:02 +03:00
gornekich and あく
af5e03ecb7
[FL-2507] Fix NTAG21x emulation fix ( #1179 )
...
* mifare ultralight: add support fast read to NTAG21x
* emv: add log traces
Co-authored-by: あく <alleteam@gmail.com >
2022-04-28 19:09:52 +03:00
gornekich
799eb3f502
Fix Mifare NTAG read #1147
...
Fix #1145
2022-04-22 15:41:10 +03:00
gornekich and Aleksandr Kutuzov
7c692a9f36
[FL-2432], [FL-2487] Rework bt keys load and save ( #1139 )
...
* bt keys: rework load and save with saved_struct
* bt: rename bt keys storage functions
* furi_hal_nfc: allow context switch during emilation
* bt settings: rework with saved struct
* infrared: replace file worker with dialogs and storage
* Core, Loader: fix thread allocation tracking, much better, so wow.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-04-21 18:36:53 +03:00
gornekich and あく
cea118cf2d
[FL-2470, FL-2385, FL-2411] NFC fixes ( #1138 )
...
* mifare classic: increase data exchange timeout
* nfc: exit from app if can't parse file
* furi_hal_nfc: allow to switch context during detect
Co-authored-by: あく <alleteam@gmail.com >
2022-04-20 17:08:36 +03:00
gornekich and あく
9351076c89
[FL-2475] Text Box add three dots trim option ( #1136 )
...
* introduce text box debug application
* text box: add strip to dots option
* applications: update text box usage
Co-authored-by: あく <alleteam@gmail.com >
2022-04-19 22:23:50 +03:00
gornekich and あく
956788c09b
[FL-2369] NFC refactoring ( #1095 )
...
* nfc: clean up scenes
* nfc worker: remove field on from worker
* nfc worker: move full data exchange to furi hal
* nfc_device: check UID length
* nfc protocol: introduce mifare common API
* nfc: move common data to furi hal nfc
* nfc: rename emv_decoder -> emv
* nfc: move emv data structure to emv lib
* nfc: remove deactivate after detection
* nfc: rework furi hal nfc detect
* nfc: clean up CLI commands and type
* nfc: remove unused includes and function
* nfc: add TxRxType enum
* nfc: read mifare ultralight refactoring
* nfc: refactore mifare ultralight start
* rfal: fix custom data exchange
* nfc: refactor read bank card
* nfc: refactor read emv application
* nfc: refactor emv test emulation
* nfc: refactor uid emulation
* nfc: add limit to uid emulation logger
* fix source formatting
* furi_hal_nfc: fix data exchange full
* nfc: fix mifare ultralight type load
Co-authored-by: あく <alleteam@gmail.com >
2022-04-19 18:23:58 +03:00
gornekich
ac44b9bc69
Loader: always search application in debug apps list ( #1133 )
2022-04-19 11:43:58 +03:00
gornekich and Aleksandr Kutuzov
0bf2702210
Fix GUI freeze after NFC classic read ( #1074 )
...
* nfc worker: add delay for task switching
* device info service: fix rpc version characteristic
* firmware: move FreeRTOSConfig.h to target include
* dev_info service: fix typo
* ble glue: use osThreadFlags instead of osEventFlags
* Infrared: fix issue with timer lockup
* FuriHal: yeld in flash lock routine
* ble: change connection parameters, display actual params
* ble: verify connection parameters
* ble: fix typo
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-03-31 17:57:23 +03:00
gornekich
f714f82520
Bump RPC version with fixed BLE ( #1071 )
...
* furi_hal_bt: change furi_assert -> furi_check
* battery_service: change log level
* protobuf: update submodule, bump RPC version
2022-03-30 14:31:06 +03:00
gornekich and あく
d15a9500c6
[FL-2388] Fix Mifare Classic exit #1065
...
Co-authored-by: あく <alleteam@gmail.com >
2022-03-28 16:57:36 +03:00
gornekich and あく
2ba3a9f09a
Fix stream read line ( #1054 )
...
* stream: fix stream_read_line return
* nfc: fix keys load
Co-authored-by: あく <alleteam@gmail.com >
2022-03-25 13:43:10 +03:00
gornekich
eafeefb843
[FL-1396] Mifare Classic read ( #1034 )
...
* rfal: add new data exchange function
* core: add FURI_BIT to common defines
* furi_hal_nfc: add data exchange with custom patiry bits
* lib: extend nfc common API
* assets: add mf classic dictionary
* lib: introduce mifare classic library
* nfc: add dictionary reader helper
* nfc worker: add worker events, add mifare classic read
* nfc: rework scenes with worker events
* nfc: add read mifare classic GUI
* nfc device: add mifare classic save
* nfc: add dictionary open fail scene
* nfc: mention resources
* stream: fix stream read line
* subghz: rework file read with fixed stream_read_line
* furi_hal_nfc: decrease communication timeout
* nfc: rework keys load from dictionary with file_stream
* nfc: add read mifare classic suggestion
* nfc: fix mifare classic read view
* nfc: fix index size
* nfc: add switch to no dictionary found scene
* nfc: add mifare classic load
* nfc: improve read mifare classic design
* mifare_classic: add proxmark3 mention
* nfc: format sources
* nfc: fix typos, add documentation
2022-03-24 01:14:34 +03:00
gornekich
72925fae1c
BLE add RPC Version characteristic ( #1035 )
...
* ble: add rpc version to device info service
* protobuf: update protobuf submodule with new version
* protobuf: update protobuf version
2022-03-18 13:42:04 +03:00
gornekich and あく
7395caa7ce
[FL-2255], [FL-2259] NFC and Input CLI commands refactoring ( #995 )
...
* nfc: refactore cli commands
* input: refactore cli commands
Co-authored-by: あく <alleteam@gmail.com >
2022-02-16 14:15:40 +03:00
gornekich and あく
6b78a8ccfe
[FL-2244] Companion reboot fix ( #988 )
...
* bt: don't open rpc session if it is busy
* bq27220: fix incorrect checksum calculation
Co-authored-by: あく <alleteam@gmail.com >
2022-02-09 15:03:27 +03:00
gornekich and あく
3f6deecdae
[FL-2243] Restart BT advertising after forgetting devices #982
...
Co-authored-by: あく <alleteam@gmail.com >
2022-02-07 16:37:56 +03:00
gornekich and Aleksandr Kutuzov
8cfd0eab9e
[FL-2198], [FL-2161] NFC emulation refactoring ( #968 )
...
* rfal: add state changed callback
* furi_hal_nfc: add NFC-A emulation API
* nfc: add emulation logger, refactor scenes
* elements: fix text_box element
* gui: fix text box module
* nfc: remove unnecessary buffers
* nfc: introduce emulation callback concept
* nfc: format sources
* bt settings: fix incorrect scene switch
* bt settings: format sources
* Debug: fix x2d import for python 3
* Gui: rename method name widget_clear to widget_reset
* nfc: add nfca emulation handler
* nfc: add global custom events enum
* nfc: UID emulation Data -> Log
* furi_hal_nfc: fix incorrect timings
* u2f, badusb: widget_clear() -> widget_reset()
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-02-02 22:59:28 +03:00
838df4c9ea
[FL-2229] New assets paths ( #978 )
...
* assets: change resources paths
* apps: rework nfc, irda and subghz with new assets path
* subghz: remove unused paths
* subghz: fix incorrect path
* badusb and u2f fix
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: nminaylov <nm29719@gmail.com >
2022-02-02 18:58:52 +03:00
gornekich
0acea5b25f
bt_settings: fix incorrect switch to forget devices ( #977 )
2022-02-01 10:43:38 +03:00
gornekich and あく
23ff6723cf
[FL-2204] Bluetooth forget devices ( #967 )
...
* bt: update connection parameters
* bt: set correct connection latency and timeout
* gui popup: add clean method
* furi_hal_bt: add connection parameters request, clear database
* bt: add forget bonded devices API
* bt_settings: add forget bonded devices GUI
* bt: rework pin code show with view port to hide view
* bt: support conn parameters for different profiles
* furi_hal_bt: sync f6 target
* target f6: fix build
* bt: format sources
* furi_hal_bt: update connection parameters
* bt: update connection params, fix GUI
* FuriHal: fix spelling
* Refactoring: rename _clean to _reset
Co-authored-by: あく <alleteam@gmail.com >
2022-01-21 20:32:03 +03:00
gornekich and Aleksandr Kutuzov
32c92a80ea
[FL-2202] Reinit gauge after profile update ( #962 )
...
* bq27220: reinit gauge after profile update
* Firmware: update battery capacity to enforce gauge reinit for everyone.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-01-14 21:14:25 +03:00
gornekich and あく
70a9823e05
Keep SHCI for unsupported Radio Stack ( #960 )
...
* bt: don't stop shci on wrong stack. Start radios stack if FUS is running
* bt: code clean up, f6 target sync
Co-authored-by: あく <alleteam@gmail.com >
2022-01-14 11:39:41 +03:00
gornekich
407f68c08a
[FL-2182] NFC-V UID show fix ( #955 )
...
* nfc: rework static inline functions
* nfc: show uid for NFC-B,F,V
2022-01-12 17:02:20 +03:00
gornekich
1d31000516
iButton fix data layout ( #953 )
...
* ibutton: fix info and delete scenes layout
* loader: fix incorrect heap allocation memory calc
* ibutton: cleanup
2022-01-11 20:45:49 +03:00
gornekich and あく
c98e54da10
[FL-1849] NFC and iButton gui fixes ( #943 )
...
* nfc: fix spaces between lines in delete and info scenes
* gui widget: add extern c
* ibutton: rework gui in info and delete scenes
* Loader, Desktop: fix debug apps and plugins start from cli, fix deadlock in archive
Co-authored-by: あく <alleteam@gmail.com >
2022-01-03 03:01:54 +03:00
gornekich and Aleksandr Kutuzov
2cbf99e15a
[FL-2019] Battery test application ( #940 )
...
* Power: rework API
* Applications: introduce battery test application
* Power: fix typo
* Desktop: cleanup merge artifacts
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-01-03 01:52:45 +03:00
gornekich and あく
7522b111c2
[FL-1220] BLE scan MAC addresses test ( #939 )
...
* bt: refactore cli commands
* bt: add radio stack control, add scan mac addresses
* bt: refactore with new furi-hal-bt API
* bt: f6 targer sync
* bt: code cleanup, update documentation
* Bt: new command names, proper radio stack handling
Co-authored-by: あく <alleteam@gmail.com >
2022-01-03 01:36:42 +03:00
gornekich
b0f582df99
[FL-1972], [FL-1920] Mifare Ultralight and NTAG separation ( #918 )
...
* nfc: rename read mifare ultralight menu
* nfc: separate ntag and mifare ultralight
* nfc: save Mifare Ultralight type
* nfc: add valid ack and nack messages
* nfc: add compatible write command implementation
* nfc: support f6 target
2021-12-21 15:33:17 +03:00
gornekich and Aleksandr Kutuzov
93871f9425
BT hid navigation fix ( #911 )
...
* bt: fix bt hid navigation
* Cli: change datetime format to more ISO-ish, add datetime validation.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-12-17 16:24:37 +03:00
gornekich and Aleksandr Kutuzov
36089c7472
Change NFC log messaged level ( #906 )
...
* nfc: change nfc worker log messaged to debug level
* FuriHal: switch logging level to trace in nfc
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-12-15 22:07:37 +03:00
gornekich and Aleksandr Kutuzov
757ea073a8
FurHal: synchronise subghz hal between targets. ( #904 )
...
* furi-hal-subghz: target fixes
* FuriHal: remove unused include from subghz
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-12-15 20:58:42 +03:00
gornekich
f0d4584b40
[FL-2119] BT HID App ( #888 )
...
* view_dispatcher: add default back processing for Long events
* assets: add ble connected and disconnected assets
* bt keyboard: introduce new application
* bt keyboard: add logic to keyboard mode
* bt: remove debug ble hid application
* bt hid: introduce media controller
* gui canvas: rename CanvasFontDirection -> CanvasDirection
* gui canvas: add arrow element
* assets: update finilized assets
* bt hid: finalise keynote GUI
* bt hid: finalise media player GUI
* bt: add media key buttons support
* bt: add exit confirm view
* bt: change Clicker -> Remote
* bt: support f6 target
* bt: hopefully final bt hid design
* bt hid: add blue led notification when device is connected
* bt: leave only bt clicker for now
* bt: add display notification on pin code show event
2021-12-15 20:39:06 +03:00
gornekich and あく
7170864fe4
[FL-1976] BLE HID ( #852 )
...
* ble: prototype ble hid
* ble: add HID service and characteristics
* debug tools: add ble keyboard app
* ble: change appearance
* ble: working keyboard
* bt: introduce furi-hal-bt-hid
* bt: restart hid service on each keyboard app enter
* bt: introduce switch profile
* bt: add profile to ble glue
* bt: working profile switch
* bt: introduce bt serial profile, rework API
* bt: rewotk HID profile
* bt: rework gap with profile configuration
* bt: move change profile routine to furi hal bt
* bt: change switch profile API to blocking
* bt: move battery update to furi hal bt
* bt: cleanup
* bt: add support for f6 target
* bt: update documentation
* bt: clean up code
* bt: remove NO OUTPUT setting
* bt: set numeric comparison pairing in BLE HID
* bt: support f6 target
* bt: set mac address in profile configuration
* bt: set advertise name in profile config
* bt: rework with furi thread
* bt: support f6 target
* bt: clear hci command buffer on core2 restart
* bt: correct thread kill sequence
* bt: fix freertos functions calls
* bt: add some enterprise delays fo correct memory free
* bt: code cleanup
* bt: change terminate -> stop
* bt: fix memory leakage
Co-authored-by: あく <alleteam@gmail.com >
2021-12-08 14:28:01 +03:00
gornekich and あく
92c499b41b
[FL-2049] Reset submenu index on exit #840
...
Co-authored-by: あく <alleteam@gmail.com >
2021-11-24 17:05:23 +03:00
gornekich and あく
a5052a0375
[FL-2053] BLE MTU processing #830
...
Co-authored-by: あく <alleteam@gmail.com >
2021-11-21 17:47:54 +03:00
gornekich
cc044c5033
Fix incorrect RPC session termination on BLE disconnect #828
2021-11-17 21:15:58 +03:00
gornekich and あく
90d450368c
[FL-1919] NFC rework with Flipper File Format ( #756 )
...
* nfc: allocate nfc device on heap
* nfc: rework save with flipper file format
* nfc: rework nfc device load with flipper file
* nfc: save AID length and data
* nfc: remove file worker usage
* nfc: format sources
* nfc: rework with flipper file format addons
* assets: update EMV resources with flipper file format
* nfc: rework EMV resources parsing with new file format
* assets: fix EMV AID file format
* nfc: fix nfc_device usage
Co-authored-by: あく <alleteam@gmail.com >
2021-11-09 00:55:06 +03:00
gornekich
54dc16134d
[FL-1922] BLE buffer overflow ( #789 )
...
* rpc: increase RPC buffer size. Add get available buffer size API
* bt: add flow control characteristic to serial service
* ble: change updating flow control characteristic logic
* rpc: add buffer is empty callback
* bt: add notification about empty RPC buffer
* ble: add more debug info
* serial_service: add mutex guarding available buffer size
* ble: remove debug logs in serial service
2021-11-08 22:41:40 +03:00
gornekich and あく
3225f40870
[FL-1952] BLE bonding fix ( #805 )
...
* furi-hal-bt: add mutex guarding core2 state
* ble-glue: configure ble keys storage in SRAM2
* bt: add load and save ble keys in internal storage
* bt: improve work furi_hal_bt API
* bt: rework app_entry -> ble_glue
* bt: apply changes for f6 target
* desktop: remove furi check
* ble-glue: comment NVM in SRAM2 configuration
* FuriHal: fix flash controller state corruption, fix incorrect semaphore release, implement C1-C2 flash controller access according to spec. Gui: change logging level.
* Libs: better lfs integration with lfs_config.
* Ble: switch C2 NVM to RAM.
* FuriHalCrypto: ensure that core2 is alive before sending shci commands
* Ble: fix incorrect nvm buffer size
Co-authored-by: あく <alleteam@gmail.com >
2021-11-04 20:26:41 +03:00
gornekich and あく
146cd51894
[FL-1497] GUI textbox element and widget ( #792 )
...
* canvas: add font parameters
* elements: add text box element
* widget: add text box element
* nfc: rework delete and info scene with text box widget
* gui: update documentation
* gui: fix canvas_get_font_params return
Co-authored-by: あく <alleteam@gmail.com >
2021-10-27 21:55:03 +03:00
gornekich and Aleksandr Kutuzov
c2535f4269
[FL-1937] Bluetooth new assets ( #774 )
...
* assets: add new ble assets
* bt: update pairing screen with new icon
* bt: add bt status and update status bar
* bt: update statusbar width from thread
* Icons: new BT icon
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-10-21 19:27:58 +03:00
gornekich and あく
827d99dde3
[FL-1922] Assets compression ( #773 )
...
* lib: add heatshrink compress library
* canvas: new icons format
* scripts: add icons compression to assets generation script
* assets: update assets
* furi-hal: introduce furi-hal-compress
* canvas: rework icon drawing with furi-hal-compress
* lib: rework heatshrink lib for dynamic buffer allocation API
* furi-hal-compress: add encode and decode API
* furi-hal-compress: working decode
* furi-hal-compress: support f6 target
* scripts: format sources
* furi-hal-compress: fix incorrect encoder reset
* furi-hal: add compress initialization to f6 target
Co-authored-by: あく <alleteam@gmail.com >
2021-10-21 17:46:36 +03:00
gornekich
af1fd0c46d
[FL-1920] Fix NTAG emulation ( #776 )
...
* mifare ultralight: fix read signature command
* nfc_worker: read signature before pages
2021-10-21 15:46:47 +03:00
gornekich and あく
943fb1bced
[FL-1721] Bluetooth refactoring ( #747 )
...
* ble-glue: add on connect \ disconnect, on send \ received callbacks
* bt: rework service with furi-hal-bt and callbacks
* bt: update battery level on connect
* ble-glue: set one callback with parameters
* bt: rework callbacks, remove unused API
* ble-glue: remove dead code
* furi-hal-bt: add documentation
* ble-glue: apply changes for f7 target
* bt: rename RpcInstance -> Rpc
* ble: add disconnection reason
* ble: don't open bt record from GAP
* bt: fix RPC session close
* Assets: separate targets for icons and protobuf
Co-authored-by: あく <alleteam@gmail.com >
2021-10-12 19:41:42 +03:00
gornekich and Aleksandr Kutuzov
5232d5daba
[FL-1905] Fix power off notification ( #748 )
...
* view dispatcher: add set view front API
* power: add power off notification
* Gui: rename ViewPort `send_to` API.
* Makefile: add blackmagick support
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-10-06 18:41:22 +03:00
gornekich and Aleksandr Kutuzov
42e553bad5
[FL-1723, FL-1662, FL-1870] NFC bug fixes ( #745 )
...
* nfc: fix notifications in read EMV sequence
* nfc: set focus on previously saved card
* nfc: add incorrect file format message
* mifare ultralight: increase size of max dump
* elements: draw multiline text only until it fits screen
* nfc: support variable PAN number length
* nfc: change AID display
* nfc: change worker custom event to prevent scene reenter
* nfc: double check for PAN tag
* nfc: fix edit card name appearance
* Nfc: read EMV card without name if PDOL is present.
* Desktop: increase unlock key press interval, switch to OS ticks instead of HAL.
* Desktop: remove debug logging
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-10-05 08:14:19 +03:00
gornekich and あく
638f276308
[FL-1884] GPIO application ( #732 )
...
* gpio: rename gpio application
* bq25896: add reading OTG config
* furi-hal-power: add is_otg_enabled API
* gpio: introduce new GPIO app, add OTG enable / disable
* variable-item-list: add enter callback
* gpio: add output test view and scene
* gpio app: fix GpioItemTester -> GpioItemTest
Co-authored-by: あく <alleteam@gmail.com >
2021-09-30 23:03:28 +03:00
gornekich
2eafae6b90
[FL-1498] Keyboard save focus ( #730 )
...
* text_input: set focus on Save button if text is set
* text_input: add clear API, format documentation
* all: rework text input clean with new API
2021-09-29 17:08:24 +03:00
gornekich and Aleksandr Kutuzov
61c8f3325a
[FL-1217] Menu refactoring ( #726 )
...
* menu: remove dead code
* loader: change views from modules instead of menu service
* dolphin: start main menu with loader API
* applications: don't start menu service
* loader: add debug tools menu
* gui modules: introduce menu model
* loader: remove calls to menu service API
* gui modules: implement menu module
* loader: add menu view
* gui menu: add animation
* applications: remove menu service
* gui modules: rename icon_menu -> menu
* loader: clean up code
* menu module: add documentation, format code
* menu: remove unused parameter
* desktop: use loader to launch primary menu
* Applications: cleaner makefile app declaration. Loader: application autostart
* Gui: cleanup menu and submenu API.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-09-28 16:10:13 +03:00
gornekich and Aleksandr Kutuzov
d3b58f732f
[FL-1783] Power service refactoring ( #718 )
...
* settings power: introduce power settings app
* power: move power API to separate file
* settings power: implement reboot scene
* settings power: add power off scene
* assets: add crying dolphin, fix Subghz assets names
* settings power: fix power off scene GUI
* settings power: add battery info scene
* power: add cli to application on start hook
* power: remove power from main menu
* power: move to power service folder
* power service: rework power off logic
* power: add pubsub events
* bt: subscribe to battery level change, update characteristic
* application: change order of Settings applications
* gui: add bubble element
* power: gui improvements
* application: rename Notification -> LCD and notifications
* Applications: menu order according to documentation and add missing power cli init
* settings power: add disconnect USB scene
* power cli: notify user to disconnect USB after poweroff
* Power: update poweroff message in cli
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-09-24 19:28:02 +03:00
gornekich and Aleksandr Kutuzov
0e1922db4d
BT: stop advertising in bt test cli commands ( #712 )
...
* bt: stop advertising in bt test cli commands
* furi-hal-bt: add switch context in furi_hal_bt_lock_flash
* Lib: update STM32CubeWB to latest version. Scripts: update supported copro binaries version
* Scripts: proper version extraction from Cube manifest
* bt: add debug application and comment it
* bt: fix stop advertising command
* bt: debug on f7 target
* furi-hal-console: add console tx + new line
* bt: fix debug trace function
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2021-09-21 12:48:08 +03:00
gornekich and あく
f05153ed5c
[FL-1816] Fix ble radio stack is alive check ( #707 )
...
* bt: fix bt_is_alive return, add bt_is_active
* bt: fix bt_is_alive return
* Cli: show heap usage in ps.
* FuriHal: strict sequence for flash operations
* Scripts: add stress test
* Core: proper heap calculation.
Co-authored-by: あく <alleteam@gmail.com >
2021-09-16 19:12:07 +03:00
gornekich
4768177cf5
[FL-1796] Disable bluetooth ( #703 )
...
* bt: add authentication for all characteristics
* bt: app_ble cleanup
* bt: add start and stop advertising API
* bt: rework application with start and stop advertising API
* bt: support f7 target
* bt: f7 target remove unused files
* bt: stop advertising in bt debug application
* bt: fix bt status bar update
* bt: change bluetooth On Off order
2021-09-15 19:58:32 +03:00
95d9140d24
[FL-1795] BLE GAP refactoring ( #694 )
...
* ble: remove heart rate profile
* ble-glue: delete dead code
* ble-glue: dis refactoring
* ble-glue: add battery service
* broken ble_common refactoring
* ble-glue: advertise 128 bit service uid
* ble-glue: remove dead code
* ble: advertise service 16 bit uid depending on flipper color
* ble-glue: remove debug
* ble: intriduce serial service
* ble: serial over ble
* bt: serial echo server
* bt: serial service process indicate acknowledge
* bt: serial service event handler update
* bt: refactore battery service
* bt: add battery level apdate API
* power: update battery level on change
* bt: refactore device information service
* app_ble: pairing configuration
* bt: display pin code
* bt: refactor battery service
* bt: refactor device info service
* bt: change advertise timer to freertos one
* bt: separate app_ble to hci and gap
* bt: increase max ble packet size
* gap: refactoring
* bt: refactor serial service
* bt: support f7 target
* bt: not blocking pin code show request
Co-authored-by: Anna Prosvetova <anna@prosvetova.me >
Co-authored-by: あく <alleteam@gmail.com >
2021-09-13 14:25:37 +03:00
gornekich and あく
9bce160ca6
[FL-1722] BLE custom serial service ( #685 )
...
* ble: remove heart rate profile
* ble-glue: delete dead code
* ble-glue: dis refactoring
* ble-glue: add battery service
* broken ble_common refactoring
* ble-glue: advertise 128 bit service uid
* ble-glue: remove dead code
* ble: advertise service 16 bit uid depending on flipper color
* ble-glue: remove debug
* ble: intriduce serial service
* ble: serial over ble
* bt: serial echo server
* bt: serial service process indicate acknowledge
* bt: serial service event handler update
* bt: refactore battery service
* bt: add battery level apdate API
* power: update battery level on change
* bt: refactore device information service
Co-authored-by: あく <alleteam@gmail.com >
2021-09-10 00:11:32 +03:00
gornekich
4b7d9b79a9
[FL-1748] NFC, iButton edit fix ( #680 )
...
* nfc: fix edit UID without confirmation
* ibutton: fix key edit
* nfc: fix nfc uid edition
* nfc: fix structure type name
2021-09-02 12:28:40 +03:00
gornekich and あく
420c03bb58
[FL-1720] BLE GUI refactoring ( #678 )
...
* dialog_ex: add clean method, fix documentation
* application: add bt debug and settings application
* bt: add debug application
* bt: add settings application
* bt: rework bt service
* bt debug: fix carrier debug app
* assets: add debug animation to main menu
* bt debug: fix bt packet test
* bt service: rework bt service
* bt: cleanup
* Assets: fix spelling
* Ble: wait for core 2 startup complete before initializing radio stack.
* Accessor: remove dead code, switch port PA6 to PA4, because interrupt line 6 is used by down button.
* FuriHal: assert interrupt line on add_int_callback.
* Bt: update icon on core2 startup complete.
Co-authored-by: あく <alleteam@gmail.com >
2021-09-02 02:22:40 +03:00
ecff31d228
[FL-1643] NFC emv assets ( #661 )
...
* assets: add EMV AID table for NFC app
* file-worker: add searching for value by the key
* nfc: add emv parser helpers
* assets: add country and currency codes
* nfc: add country and currency code parsing
* emv_decoder: add country and currency code support
* nfc: add AID. currency and country display
* nfc: rework bank_card view
* nfc: add currency and country save
* assets: change emv chip asset
* nfc: change asset in bank card
* gui: add frame element to widget
* nfc: add bank card frame, add documentation
* rfal: fix long APDU command emulation
* nfc: fix typos
* Scripts ReadMe: assets delivery command
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com >
2021-08-20 22:56:43 +03:00
gornekich and あく
227ef47e2d
[FL-1641] File select fix #658
...
Co-authored-by: あく <alleteam@gmail.com >
2021-08-19 03:24:52 +03:00
gornekich and あく
c122317468
[FL-1526] Mifare Ultralight emulation ( #645 )
...
* rfal: add discovery parameter for passing listen activation
* nfc: add discovery parameter to furi_hal_nfc_listen
* mifare_ul: add emulation parsing commands
* nfc: add mifare ul emulation
* nfc: switch to mifare ultralight emulation form menu
* furi-hal-nfc: add first frame reception in emulation mode
* nfc: change argument check
* nfc: rework nfc worker and mifare ul lib
* mifare_ul: add write and cnt increment commands
* nfc: add card modification check
* mifare_ul: add data changed flag
* nfc: add shodow files
* nfc: add restore original file
Co-authored-by: あく <alleteam@gmail.com >
2021-08-17 00:45:04 +03:00
gornekich
eb49c29fa3
rfal platform: remove spi device check ( #643 )
2021-08-13 16:12:10 +03:00
gornekich
5741ed2bd5
[FL-1595] Add EMV tags ( #625 )
...
* nfc: add expiration date tag to emv parser
* nfc: add expiration date save and display
* nfc: add long apdu test command
2021-08-04 21:58:11 +03:00
gornekich and あく
841804026e
[FL-1619] NFC long APDU emulation ( #623 )
...
* nfc: add apdu sequence exchange debug scene
* api-hal-gpio: fix GPIO initialization
* nfc: pull down nfc chip IRQ pin
Co-authored-by: あく <alleteam@gmail.com >
2021-08-03 20:24:20 +03:00
gornekich
35c441f031
nfc rfal: increase modulation depth in rfal config ( #617 )
2021-08-02 12:38:37 +03:00
gornekich
91c1eaf5a8
[FL-1543] Scene manager search scene API ( #611 )
...
* scene_manager: search -> search_and_switch_to previous_scene
* scene_manager: add search and switch to another scene API
* scene_manager: Navigation -> Back event
2021-07-28 17:52:00 +03:00
gornekich and あく
ebd158a823
[FL-1542], [FL-1603] Generate random name ( #602 )
...
* Lib: add random name library
* Text_input: add default text clearing
* All: rework all applications with new text_input API
* Nfc: fix removing dev file on save_name scene enter
* Lib: move all free radicals to toolbox and update API usage.
Co-authored-by: あく <alleteam@gmail.com >
2021-07-25 14:34:54 +03:00
gornekich and あく
3f640e8f1c
[FL-1549] Gui Widget module ( #598 )
...
* gui_widget: rework with mlib container
* widget: rename gui_widget-> widget; gui_element->widget_element
* gui: move widget from nfc to gui/modules
* nfc: rework widget usage
* nfc: return to ReadEmvAppSuccess scene after ReadEmvDataSuccess exit
Co-authored-by: あく <alleteam@gmail.com >
2021-07-23 16:09:34 +03:00
gornekich and あく
49af516ec7
[FL-1547], [FL-1500] NFC app v1 ( #593 )
...
* nfc: remove mifare read debug view and scene
* nfc: change mifare ultralight data structure
* mifare_ultralight: add more commands
* nfc: add emulate mifare ul scene
* nfc: rework data structures, remove debug scenes and views
* nfc: add read emv scenes
* nfc: mifare emulation wip
* nfc cli: increase detecting time
* nfc: save nfc files with new format
* nfc: store Mifare Ultralight
* nfc: start loading mifare ultralight
* nfc: add delete scenes
* nfc: add edit UID and name
* nfc: finish parsing uid and mifare ul data
* nfc: delete success fix
* gui_widget: introduce GuiWidget
* gui_widget: add string element
* gui_widget: add button element
* gui_widget: move free elements into gui_widget
* nfc: rework info scene with GuiWidget
* nfc: rework device info scene
* nfc: rework delete scene gui
* nfc: add compatible script support
* nfc: rework emv reading scenes
* nfc: rework bank card save
* nfc: add bank card custom view
* gui_widget: add icon element
* nfc: add icon to bank card
* nfc: start worker after switching view
Co-authored-by: あく <alleteam@gmail.com >
2021-07-22 09:05:07 +03:00
gornekich and あく
a837bc5d00
[FL-1537] NFC launch from archive ( #580 )
...
* archive: pass full file path as App argument
* nfc: add starting emulation from Archive
* nfc, ibutton: rework setting key name with path lib
* archive: revert launching app with full file path
Co-authored-by: あく <alleteam@gmail.com >
2021-07-16 00:39:21 +03:00