Skorpionm
84f9af3e7e
SubGhz: fix duration pricenton protocol ( #2054 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 04:17:57 +09:00
Yukai Li
6b47bc1af4
Nfc: NTAG password auto capture (and other password-related changes) ( #1843 )
...
* nfc: MFUL minor cleanup
* nfc: Add mechanism to pass event data
* nfc: Add NTAG authentication event to emulation
* nfc: Rename enum member to align with existing convention
* nfc: Add function to determine whether MFUL is fully captured
* nfc: Fix emulation of incompletely-read password-protected MFUL
* nfc: Add reader password capture scene
* nfc: Set default MFUL password input to 0xFFFFFFFF
* nfc: Fix MFUL auth counter loading
* nfc: Be explicit about using manual auth method when using auto unlock
* nfc: Fill in MFUL has_auth when loading file
* nfc: Fix MFUL auth success usage, remove unused variable
* nfc: Display PWD and PACK in MFUL info if available
* nfc: Remove unnecessary include
* nfc: Add unlock options to loaded MFUL menu
* nfc: Move set default MFUL password. This way it can be edited if needed instead of reentered
* nfc: Fix unlock menu not maintaining selection index
* nfc: Move captured MFUL auth data from worker to device data
* nfc: Attempt to authenticate with default PWD when possible when reading NTAG
* nfc: Don't try to auth NTAG on read if we already authed
* nfc: Add title for all pages read but failed auth for NTAG auth
* nfc: Add faster auth callback patch
* lib: Remove scons submodule from index
* nfc: Revise MFUL unlock UI flow
* nfc: Disallow MFUL unlock with reader if card not read yet. Trying to read first results in either needing to make a new scene or badly jury rigging other scenes, so let's just not do that
* f7: Bump API symbols
* Format code
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 03:16:22 +09:00
Michael Huebler
1b3156521c
NFC: Accept non-parsed apps in Mifare DESFire. ( #2041 )
...
* NFC: Accept non-parsed apps in Mifare DESFire. Fixes #2040
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 02:14:13 +09:00
MX
08e533ccf2
SubGHz: Fix Came Atomo and NiceFlorS counters
...
add check for protocols with 16bit counters, to block them for going higher than 16bit
2022-11-26 17:23:36 +03:00
MX
bf62f66dc8
SubGHz: Fix keeloq, SL, counter going higher than 16bits
...
Proper reset to 0 after we get to 0xFFFF
2022-11-24 17:03:50 +03:00
MX
7829428455
Merge branch 'fz-dev' into dev
2022-11-23 19:21:50 +03:00
Sergey Gavrilov
c511c67e71
Core: thread allocation shortcut ( #2007 )
...
* Core: thread alloc+set shortcut
* Apps: use thread allocation shortcut
* Mark some service threads as services
* Init BT as soon as possible
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 21:49:17 +09:00
Skorpionm
00fcd9cfcd
[FL-2976] SubGhz: add protocol "Ansonic" ( #2000 )
...
* SubGhz: add protocol "Ansonic"
* SubGhz: fix encoder "Ansonic"
* SubGhz: add unit_test "Ansonic"
* SubGhz: fix flag
* SubGhz: protocol "Ansonic" fix timing
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 18:29:30 +09:00
Skorpionm
cf5b87f82e
SubGhz: add protocol Nice_Flo 20bit ( #1983 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 17:28:44 +09:00
MX
5681016dce
SubGHz: Fix starline encoder
...
o_O
2022-11-17 02:05:14 +03:00
MX
0e9f6bef77
Speedup subghz favourites
...
if custom modulation was used, its saved in file itself, so no need to load it when using quick access from favourites
2022-11-15 23:00:30 +03:00
MX
4240b59311
SubGHz: Fix magellan display issue
2022-11-12 22:16:02 +03:00
MX
950dee48a0
Merge branch 'fz-dev' into dev
2022-11-12 16:43:12 +03:00
Nikolay Minaylov
73441af9c6
BadUSB and Archive fixes ( #2005 )
...
* BsdUsb: fix empty lines handling
* Archive: folders and unknown files rename fix
Co-authored-by: あく <alleteam@gmail.com>
2022-11-12 20:55:42 +09:00
hedger
f9730bcafe
fbt: lint fixes ( #2008 )
...
* lint: exclude "lib" subfolder from naming checks; fbt: moved LINT_SOURCES from literal strings to Dir() nodes
* lint: also exclude hidden directories
Co-authored-by: あく <alleteam@gmail.com>
2022-11-12 19:03:22 +09:00
MX
666d30f2dd
API compatibility with OFW part 2
...
+ Subghz protocol Princeton API symbols added
2022-11-11 03:45:41 +03:00
MX
930b369812
Merge branch 'fz-dev' into dev
2022-11-10 21:38:03 +03:00
Astra
e7c4b40dbe
Force card types in extra actions ( #1961 )
...
* Mifare Classic forced read
* Add all the needed card types
* nfc: remove unused scene
* nfc: remove unused worker state
* nfc: fix read card type scene state usage
* nfc: move NfcReadMode to NfcDevData struct
* nfc: fix bank card reading and scene navigation
* nfc magic: fix magic deactifate function
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:29:57 +09:00
Astra
820afd2aec
NFC Unit tests part 1.1 ( #1927 )
...
* Mifare Classic 1/4K, 4/7b uid, NFC-A: NFC-A is not complete yet, as there are no 4b uid tests. Also, Mifare Classic tests don't cover the key cache yet.
* NFC unit tests require access to the NFC app
* Made nfc_device_save accept full path as an argument
* Move from cstrs to furi strings and fix logic
* nfc tests: fix memory leak
* nfc: add mf_classic_get_total_blocks() to API
* nfc tests: simplify nfc tests
* nfc: fix memory leak in shadow file saving
* nfc: fix set uid scene
* nfc: fix saving files
* nfc: fix preload nfc file path
* nfc: remove comments
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:20:35 +09:00
MX
af40b6b020
Move NRF24 driver into plugins, see desc
...
Major API version downgraded to official one, adding support for launching OFW apps on unleashed, part 1
2022-11-10 10:30:36 +03:00
MX
e90d335cdf
Add value_index to API symbols
2022-11-10 07:13:02 +03:00
MX
684fdc632f
Merge branch 'fz-dev' into dev
2022-11-10 06:57:08 +03:00
gornekich
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
Samuel Stauffer
aa2ecbe80f
infrared: add Kaseikyo IR protocol ( #1965 )
...
* infrared: add Kaseikyo IR protocol
Add Kaseikyo IR protocol support. This protocol is also called the Panasonic protocol and is used by a number of manufacturers including Denon.
The protocol includes a vendor field and a number of fields that are vendor specific. To support the format of address+command used by flipper the vendor+genre1+genre2+id fields are encoded into the address while the data is used for the command.
There are older versions of the protocol that used a reverse bit order that are not supported.
Protocol information:
- https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp
- http://www.hifi-remote.com/johnsfine/DecodeIR.html#Kaseikyo
- https://www.denon.com/-/media/files/documentmaster/denonna/avr-x3700h_avc-x3700h_ir_code_v01_04062020.doc
* Format and add unit test to Kaseikyo IR codec.
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2022-11-07 18:38:04 +04:00
あく
e8913f2e33
Code cleanup: srand, PVS warnings ( #1974 )
...
* Remove srand invocation
* PVS High priority fixes
* PVS High errors part 2
* Furi: heap tracing inheritance
* Furi add __builtin_unreachable to furi_thread_catch
2022-11-05 18:07:24 +03:00
MX
0ab400a27e
Merge branch 'fz-dev' into dev
2022-11-04 14:34:34 +03:00
gornekich
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
MX
c8bc9e26e0
Fix part 1
2022-11-02 23:07:00 +03:00
MX
e1f5999095
update lib paths
2022-11-02 22:54:44 +03:00
MX
79b37556d4
Merge branch 'fz-dev' into dev
2022-11-02 22:53:12 +03:00
hedger
ebc2b66372
fbt fixes for mfbt pt2 ( #1951 )
...
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
* fbt: minor refactorin
* fbt: moved sdk management code to extapps.scons
* fbt: fixed sdk symbols header path; disabled -fstack-usage
* fbt: changed pathing for .py scripts
* fbt: changed SDK_HEADERS pathing; added libusb to SDK; added icon_i.h to SDK; added hw target to SDK meta
* fbt: added libusb headers to SDK
* picopass: include cleanup; api: added subghz/registry.h; api: added mbedtls to exported headers
* picopass: fixed formatting
* fbt: fixed COPRO_ASSETS_SCRIPT
* sdk: added basic infrared apis
* toolchain: added ufbt to list of legal fbtenv callers; updated error messages
* fbt: changed manifest collection & icon processing code
* fbt: simpler srcdir lookup
* toolchain: path management fixes; fbt: fixes for fap private libs paths
* scripts: toolchain: reworked download on Windows
* toolchain: v17
* scripts: added colorlog for logging
* Github: fix unit tests
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 00:15:40 +09:00
MX
0f1e03fa51
Fix: proper deinit of gpio and spi bus in NRF24 driver
2022-11-02 03:42:38 +03:00
MX
165d9972e7
SubGHz Fixes: BFT fix, other small fixes
2022-11-02 01:05:05 +03:00
MX
8e4595e4f7
fix nfc worker merge issues
2022-10-29 17:21:30 +03:00
MX
73b8d496fe
infrared api for .fap's
2022-10-28 21:44:36 +03:00
MX
4da3f9cf15
Merge branch 'fz-dev' into dev
2022-10-28 19:43:22 +03:00
gornekich
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
MX
457b9ae2a9
icons upgrade, keeloq fix, api bump
2022-10-28 18:32:52 +03:00
MX
2cfb5bdfc6
Merge branch 'fz-dev' into dev
2022-10-28 18:03:31 +03:00
Skorpionm
9cd0592aaf
SubGhz: add keeloq potocol JCM_Tech ( #1939 )
...
* SubGhz: add keeloq potocol JCM_Tech
* SubGhz: add new metod decoder
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 23:31:41 +09:00
MX
fc3b62aa41
Merge branch 'fz-dev' into dev
2022-10-27 01:14:07 +03:00
hedger
8b7a52b97b
fbt: fixed linter paths ( #1930 )
...
* fbt: fixed linter paths
* lint: changed file permissions
Co-authored-by: あく <alleteam@gmail.com>
2022-10-27 05:25:31 +09:00
MX
a99d29c0f3
Merge branch 'fz-dev' into dev
2022-10-26 23:09:58 +03:00
Skorpionm
aff99a72e8
SubGhz: fix variable types and CC1101 GPIO initialization optimization ( #1931 )
...
* SubGhz: fix variable types
* SubGhz: CC1101 GPIO initialization optimization
* SubGhz: return back gpio init
* SubGhz: cleanup grammar in math and format doxygen comments
Co-authored-by: あく <alleteam@gmail.com>
2022-10-27 04:40:13 +09:00
MX
89e27d10a2
Merge branch 'fz-dev' into dev
2022-10-26 19:27:45 +03:00
Skorpionm
5c8df66b7c
[FL-2927] SubGhz: add RAW Read threshold rssi ( #1911 )
...
* SubGhz: add RAW Read threshold rssi
* SubGhz: update indicator RSSI
* SubGhz: fix record file
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-27 00:13:00 +09:00
Skorpionm
378bf05068
[FL-2934] WS: add protocol Acurite 592TXR ( #1916 )
...
* WS: add protocol Acurite 592TXR
* WS: fix decoder Acurite_592TXR
* SubGhz: proper types in math
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-26 23:56:54 +09:00
MX
85573745ec
remove
2022-10-26 03:48:06 +03:00
hedger
0adad32418
fbt fixes pt4 ( #1899 )
...
* fbt: fixed py scripts for gdb
* fbt: removed compiled dolphin assets from tracked files; resolved cached dependency issues by globally disabling deps cache; changed dependency tracking for dolphin assets
* fbt: fix for "resources" node lookup
* toolchain: bump to v.16 with scons + x64 win binaries
* fbt: using scons from toolchain
* vscode: fixed paths for 64-bit Windows toolchain
* fbt: added colors!
* fbt: moved import validator to ansi lib coloring
* fbt: moved COMSTR vars to tools
* fbt: custom action for fap dist
* fbt: added OPENOCD_ADAPTER_SERIAL configuration var for openocd operations
* fbt: added get_stlink target
* docs: details on libs for faps
* vscode: added DAP config for using Flipper as a debugger for a 2nd Flipper
* fbt: blind deps fix for sdk_origin
* fbt: sdk: moved deployment actions to pure python
* Github: disable disableLicenseExpirationCheck option for pvs
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-26 07:15:02 +09:00
MX
29ab1088bd
WS: add protocol Acurite 592TXR
...
OFW PR 1916 by Skorpionm
2022-10-24 21:22:11 +03:00
MX
c6945313f6
Merge branch 'fz-dev' into dev
2022-10-22 22:12:49 +03:00
Max Lapan
d8fbaba7a0
Move Oregon2 to Weather Station FAP ( #1910 )
...
* Init copy of oregon2 to weather station app
* WS decoder
* Reuse decoded data
* Delete old protocol
* Delete oregon2 unit test
* Decrement count of random test
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-23 00:50:26 +09:00
MX
12bbe3e68e
return saving of emv
2022-10-21 21:58:59 +03:00
Skorpionm
c1bb10a694
[FL-2920] WS: add protocol Acurite-606TX, LaCrosse_TX141THBv2 ( #1898 )
...
* WS: add protocol Acurite-606TX
* WS: history, added display of the channel (if any) in the general list
* WS: added display of the button state if it is on the transmitter, and displaying the data that is in the signal
* WS: fix batt info
* WS: add protocol LaCrosse_TX141THBv2
* WS; fix syntax
* Furi: bump api_symbols version
Co-authored-by: あく <alleteam@gmail.com>
2022-10-21 02:26:28 +09:00
MX
96dd3ad1ce
WS: add protocol Acurite-606TX, LaCrosse_TX141THBv2
...
OFW PR 1898 by Skorpionm - Details will be in changelog
2022-10-20 19:14:04 +03:00
MX
2740368b0e
Merge branch 'fz-dev'
...
Conflicts:
.gitmodules
firmware/targets/f7/api_symbols.csv
2022-10-20 19:06:56 +03:00
Sergey Gavrilov
42df7aa04a
Fix FuriString oplist (init move) ( #1894 )
...
* FuriString, Infrared: fix oplist and drop string_t.
* Elf loader: log size
* Comment fix
* API: furi_hal_console_init
2022-10-20 19:58:11 +09:00
Skorpionm
9a9abd59e9
[FL-2904, FL-2900, FL-2890] WS: add app WeatherStation ( #1833 )
...
* WeatherStation: start
* SubGhz: rename protocol magellen -> magellan
* WeatherStation: err Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* WeatherStation: fix Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* Subghz: add set protocol_items
* WeatherStation: adding your protocols
* WS: add Infactory protocol
* WS: add history
* WS: add setting
* WS: add lock
* WS: add hopper frequency
* WS: fix history
* WS fix string_t -> FuriString*
* WS: add images
* WS: history record update when receiving data from the sensor again
* WS: add receiver info, delete extra code
* WS: add protocol ThermoPRO_TX4
* [FL-2900] SubGhz: Move icons in Sub-GHz
* WS: add Notification
* [FL-2890] SubGhz: Rename *_user files in resources to _user.example
* WS: add about scene
* WS: removing redundant code
* WS: add protocol Nexus-TH
* WS: add protocol GT_WT03
* WS: fix notification and rename "Weather Station" -> "Read Weather Station"
* SubGhz: partial unit tests fix
* SubGhz: fix unit_test
* SubGhz: remove dead code
* SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-20 02:27:26 +09:00
MX
a3c6d8bb4a
SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.
2022-10-19 18:52:21 +03:00
Aleksandr Kutuzov
3807d61034
SubGhz: remove dead code
2022-10-19 18:41:04 +03:00
MX
6579576490
fix protocol items requirement
2022-10-18 20:38:37 +03:00
MX
57251eb028
Merge branch 'fz-dev' into dev
2022-10-18 19:55:26 +03:00
Aleksandr Kutuzov
f33ea3ebe0
SubGhz: partial unit tests fix
2022-10-18 19:54:40 +03:00
MX
84d12da45a
add app WeatherStation
...
OFW PR 1833 by Skorpionm
2022-10-18 19:51:44 +03:00
Skorpionm
68009c6230
[FL-2919] SubGhz: CAME Wrong number of bits in key (add protocol Airforce) ( #1890 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-18 23:24:53 +09:00
Georgii Surkov
02c27becb0
[FL-2912] Forced RAW receive option for Infrared CLI #1891
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-18 23:10:21 +09:00
MX
fd3e70492d
add support for Normstahl, Mutancode, FAAC RC, XT
2022-10-17 22:43:33 +03:00
MX
4f7ca617cc
Merge branch 'fz-dev' into dev
2022-10-17 21:20:28 +03:00
gornekich
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
MX
d547307357
Fix DTM Neo encoder
2022-10-14 01:30:20 +03:00
MX
947e44ce86
Merge branch 'fz-dev' into dev
2022-10-13 20:32:05 +03:00
Astra
55f8beef9f
[FL-2876] MFC Improvements Part 2/2 ( #1868 )
...
* Remove keys incorrectly added by the key cache
* Improve responsiveness while checking for re-used keys and fix skipping keys when card is removed
* Actually check if the card is completely read
* Discard incorrect keys on a lower level
* nfc: clean up
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-10-14 01:23:29 +09:00
MX
3dde6089fc
update mfc improvements
...
OFW PR 1868 by Astrrra
2022-10-13 16:06:34 +03:00
MX
3a569d4be8
Merge branch 'fz-dev' into dev
2022-10-13 00:42:15 +03:00
Luke Williams
50dc2d7389
36-bit AWID (L11601 Lenel) ( #1838 )
...
* 36-bit AWID
* Rfid: correct vendor name AWIG -> AWID
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-13 01:31:54 +09:00
MX
2e047ff411
allow 36-bit AWID (L11601 Lenel)
...
OFW PR 1838 by ae5au
2022-10-12 05:32:58 +03:00
MX
6b5631e5b0
MFC Improvements Part 2/2
...
OFW PR 1868 by Astrrra
2022-10-12 05:29:42 +03:00
MX
aa9f958f07
Merge branch 'fz-dev' into dev
2022-10-12 04:37:59 +03:00
MX
022315e93d
Improve keeloq, add JCM support, fix Nice Smilo, MHouse, and more
...
now manufacturer name is saved into file, and will not change randomly,
added support for JCM
fixed Nice Smilo, MHouse
2022-10-12 04:18:29 +03:00
gornekich
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
MX
91d7a38ca6
update changelog and fix subghz issues
2022-10-09 04:24:51 +03:00
MX
b0c9af9c06
Merge branch 'fz-dev' into dev
2022-10-08 23:11:16 +03:00
Sergey Gavrilov
981f7ff8b0
Elf loader: do not load .ARM.* sections ( #1850 )
...
* Elf loader: do not load .ARM sections
* Fix section name
2022-10-09 00:51:51 +09:00
SG
c38c42906f
Elf loader: do not load .ARM sections
2022-10-08 17:50:26 +03:00
MX
184b467f62
add nfc feature back, bug seems to be fixed
2022-10-08 00:03:06 +03:00
MX
16ea8dc568
Merge branch 'fz-dev' into dev
2022-10-07 21:11:40 +03:00
Sergey Gavrilov
37b5e58a60
More correct elf loader ( #1839 )
...
* ELF File: more robust section loader
* ELF File: faster and smaller preinit, init and fini arrays handling
* ELF File: load sections on preload stage
* ELF File: naming
* Furi: fix use after free in thread join
Co-authored-by: あく <alleteam@gmail.com>
2022-10-08 02:06:29 +09:00
MX
b4b3c182c5
fixes for new printf and furistream
2022-10-07 18:32:58 +03:00
MX
bdd052937b
Merge branch 'fz-dev' into dev
2022-10-07 17:24:20 +03:00
Sergey Gavrilov
4000f0cac5
[FL-2870] Printf function attributes ( #1841 )
...
* Furi strings: printf attribute
* Logs: printf attribute
* Plugins: adapt
* Plugins: accommodate
* Unit tests: accommodate
Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 22:35:15 +09:00
Sergey Gavrilov
38a82a1907
[FL-2839] Furi stream buffer ( #1834 )
...
* Core: stream buffer
* stream buffer: API and usage
* stream buffer: documentation
* stream buffer: more documentation
* Furi: fix spelling
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-07 21:27:11 +09:00
MX
515e6db69c
Merge branch 'fz-dev' into dev
2022-10-07 00:35:01 +03:00
Astra
eaa3adf98a
[FL-2868] Remove string_push_uint64 ( #1832 )
...
* Remove string_pust_uint64
* Oops, furi strings now
* Remove dead code
* Remove unneeded import
Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 03:51:30 +09:00
Astra
6dde5586af
[FL-2803] Mifare Classic read improvements Part 1 ( #1822 )
...
* Reuse found keys when reading a card
* Fix keys not being read if no newline at the end of the file
* Actually read all keys from the dictionary
* Support for furi_string
* Check only for re-used key after the current sector
* Declare the key attack function as static
* nfc: change logs, check worker state
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 02:07:56 +09:00
gornekich
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
Georgii Surkov
61189c3c82
[FL-2847] FFF trailing space fix ( #1811 )
...
* Improve whitespace handlilng in FFF
* Add tests for odd fff user input
* Adjust formatting
Co-authored-by: あく <alleteam@gmail.com>
2022-10-06 23:18:20 +09:00
MX
007a11d70d
upd ofw pr 1832
2022-10-06 15:26:23 +03:00
Nikolay Minaylov
a69e150e2f
[FL-2812] RFID: write fix for some protocols #1828
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-06 20:36:21 +09:00
MX
3e4d8a41e0
Remove string_push_uint64
...
OFW PR 1832 by Astrrra
2022-10-05 21:39:40 +03:00
MX
c60bfbf271
oh no
2022-10-05 21:27:13 +03:00
MX
0796263e81
Merge branch 'fz-dev' into dev
2022-10-05 19:27:46 +03:00
Sergey Gavrilov
4bf29827f8
M*LIB: non-inlined strings, FuriString primitive ( #1795 )
...
* Quicksave 1
* Header stage complete
* Source stage complete
* Lint & merge fixes
* Includes
* Documentation step 1
* FBT: output free size considering BT STACK
* Documentation step 2
* py lint
* Fix music player plugin
* unit test stage 1: string allocator, mem, getters, setters, appends, compare, search.
* unit test: string equality
* unit test: string replace
* unit test: string start_with, end_with
* unit test: string trim
* unit test: utf-8
* Rename
* Revert fw_size changes
* Simplify CLI backspace handling
* Simplify CLI character insert
* Merge fixes
* Furi: correct filenaming and spelling
* Bt: remove furi string include
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-06 00:15:23 +09:00
MX
96502e21ae
RFID: write fix for some protocols
...
OFW PR 1828 by nminaylov
2022-10-04 21:06:16 +03:00
MX
4141483147
NFC update detect reader
...
OFW PR 1820 by gornekich
2022-10-04 18:23:11 +03:00
MX
b452b6fd32
FFF trailing space fix
...
OFW PR 1811 by gsurkov
2022-10-04 00:45:09 +03:00
MX
f202d27206
Merge branch 'fz-dev' into dev
2022-09-29 05:57:02 +03:00
hedger
f8b532f063
[FL-2831] Resources cleanup in updater ( #1796 )
...
* updater: remove files from existing resources Manifest file before deploying new resources
* toolbox: tar: single file extraction API
Co-authored-by: あく <alleteam@gmail.com>
2022-09-29 02:13:12 +09:00
MX
4271246d8a
Merge branch 'fz-dev' into dev
2022-09-28 04:04:12 +03:00
Tom Samstag
e6e1e7fe15
Add formatting to DESfire data dump ( #1784 )
...
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-09-28 02:02:18 +09:00
MX
60242cd7c4
fix nfc device typo, doesn’t affect resulting keys
2022-09-26 19:46:12 +03:00
MX
a9210b2849
Merge branch 'fz-dev' into dev
2022-09-26 19:37:37 +03:00
Shane Synan
9f501034c3
Power: Also ask charger if charge done ( #1378 )
...
* power: Also ask charger if charge done
* F7: bump API Symbols version
* Lib: remove double include in bq25896.c
Co-authored-by: あく <alleteam@gmail.com>
2022-09-27 00:34:59 +09:00
MX
fa9602bd68
Merge branch 'fz-dev' into dev
2022-09-26 15:27:24 +03:00
hedger
efb09380bd
[FL-2836] Fast flash programming mode ( #1782 )
...
* updater: lowered logging level for resources unpacking; hal: implemented fast flash write mode
* hal: reworked fast flash programming; clearing most error flags on flash init; changed some flash functions return type from bool to void; scripts: fixed malformed CRC values in update bundles in certain cases;
* hal: flash: larger critical section
* hal: flash: enabling fast write inside critical section
* api_symbols: bump minor version
2022-09-26 20:03:21 +09:00
MX
e96e414561
Merge branch 'fz-dev' into dev
2022-09-26 02:06:09 +03:00
David Coles
a6b98ccbbe
Preliminary Rust support ( #1781 )
...
* Add support for R_ARM_THM_MOVW_ABS_NC/THM_MOVT_ABS
These are sometimes emitted by the Rust LLVM compiler.
Ref: https://github.com/ARM-software/abi-aa/blob/main/aaelf32/aaelf32.rst#56relocation
* Discard LLVM bitcode from extension applications
LLVM-based compilers may include uncompressed bitcode in object files
to help with link-time optimization. However this can bloat binary sizes
from KB to MB.
* Expose alligned_malloc/free functions to applications
This is required to implement a global allocator in Rust.
2022-09-26 07:06:46 +10:00
MX
01ca588488
Merge branch 'fz-dev' into dev
2022-09-25 18:27:58 +03:00
Skorpionm
bc777b2eff
SubGhz: fix config menu ( #1748 )
...
* SubGhz: fix config menu
* SubGhz: fix gui Magellen protocol
* SubGhz: fix gui Transmit SubGhz
* SubGhz: keeloq, new gen manufacture code
* SubGhz: Update keeloq_mfcodes
Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 23:34:52 +09:00
Sergey Gavrilov
e6d22ed147
ELF-Loader: C++ plugin support, loader overhaul. ( #1744 )
...
* fap-loader: load all code and data sections
* fap-loader: relocate all code and data sections
* fap-loader: remove old elf loader
* fap-loader: new jmp call relocation
* openocd: resume on detach
* fap-loader: trampoline for big jumps
* fap-loader: rename cache
* fap-loader: init_array support
* fap-loader: untangled flipper_application into separate entities
* fap-loader: fix debug
* fap-loader: optimize section container
* fap-loader: optimize key for section container
* fap-loader: disable debug log
* documentation
* F7: bump api symbols version
* Lib: cleanup elf_file.c
Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 23:11:29 +09:00
MX
436f70b69b
Merge branch 'fz-dev' into dev
2022-09-25 16:46:23 +03:00
Sergey Gavrilov
92e440c77d
Core: simplify record container ( #1776 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 20:48:57 +09:00
MX
e8bb45496d
Merge branch 'fz-dev' into dev
2022-09-22 21:45:26 +03:00
Andrea Sacchi
3846852f2b
NFC Fix Mifare Classic ( #1769 )
...
* Fix Mifare Classic key str to int conversion: Wrong cast lead to unexpected behavior converting key from str to int.
* Nfc: fix type cast in mf_classic_dict and add basic unit tests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-09-23 02:35:28 +09:00
MX
e6bcba6959
update changelog, minor fixes
2022-09-22 18:23:32 +03:00
MX
e13edc2f70
keeeloq update
2022-09-22 18:01:54 +03:00
MX
87393a086c
fix rfid fuzzer crashes, some new random names
2022-09-21 08:43:07 +03:00
MX
6000d47a0f
allow saving only for protocols without encoder
2022-09-21 07:12:09 +03:00
MX
d986ef4104
fix nice flor s crash, fix debug pack for debug builds
2022-09-21 06:52:34 +03:00
MX
7c7ac07e6a
Merge pull request #74 from mvanzanten/adding-support-for-hidprox
...
adding support for HIDProx, updating the UI to switch between protocols
2022-09-20 23:25:45 +03:00
MX
ca02826cfd
set time between cards to 6, run fbt format
2022-09-20 23:24:34 +03:00
MX
96ad7f3cef
fix nfc list crash, fix magellen gui, fix transmitter gui
2022-09-20 23:13:15 +03:00
MX
b2589698ff
Merge branch 'fz-dev' into dev
2022-09-20 21:39:22 +03:00
Max Lapan
3360f818a1
Subghz: Adding checks for get_upload functions ( #1704 )
...
* Adding checks for get_upload functions
Almost in every protocol, function which generates upload might fail and return false.
But we don't check this result, which might end up sending random memory contents to the air.
* Format sources and fix crash on ivalid bit count in chamberlain
Co-authored-by: あく <alleteam@gmail.com>
2022-09-20 14:29:10 +09:00
MX
e2123c55bb
Merge branch 'fz-dev' into dev
2022-09-19 21:15:04 +03:00
David
f5ff6438d1
NFC user dict list, delete, and de-duplication. ( #1533 )
...
* Add MFC user keys list
* Leakey submenu fix
* Set next target for Save/Delete success scenes
* Delete individual user keys
* Update count of total keys
* Fix memory leak
* Check for duplicate keys
* Remove a submodule that I never added?
* Swap and position icons
* Revamp according to design doc
* Rename icons to include size and replace keychain icon with smaller variant
* Fix typos
* Final fixes
* Fufill requested changes
* Cleanup comments
* Merge dev after SD app loading
* Fixing icon names
* Revert merge mistakes and API version
* Scene switching adjustments
* F7: add/change/remove some nfc icons in api_symbols.csv
Co-authored-by: あく <alleteam@gmail.com>
2022-09-20 01:43:53 +09:00
Astra
9f3b80e606
Add new card parsers ( #1503 )
...
* Add the "Two cities" parser
* Add plantain and plantain4k parsers
* Add new parsers to the supported list
* United card PoC
* Fix nfc device not sleeping
* Completely read the 4K troika variants
* Correct naming
* Update to reflect upstream changes
* Add support for MfUl info
* Fix parsers
* Card type detection fixes
* Remove debug info
* Fixes for the verification of cards
* nfc: fix verification for supported cards
* nfc: remove unused vars
* Improve card reading reliability and fix plantain
* plantain: change log level
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-09-20 01:05:04 +09:00
MX
111656d2c1
Merge branch 'fz-dev' into dev
2022-09-19 18:50:20 +03:00
Max Lapan
d003db0404
SubGhz: Oregon v2.1 decoder ( #1678 )
...
* Oregon v2.1 decoder
* Refactor FSM to switch
* Refactor headers
* Format strings
* Unit tests of oregon2
* Cleanups
* Add oregon2 raw data to random_test_raw.sub
* Adjust count of packets detected on random test
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
2022-09-19 23:24:24 +09:00
Nikolay Minaylov
fb476c29e6
RFID: fix read info screen ( #1723 )
...
* RFID: fix read info screen
* Fix line break for long data string
* Protocol data redecoding before write
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-19 22:21:40 +09:00
hedger
ed385594a3
faploader: more subsystem headers in API table ( #1742 )
...
* faploader: more subsystem headers in API table; not counting header entries for SDK version change
* subghz: removed dead function
* Adjusted API version
* hal: removed furi_hal_power_get_system_voltage
* lib: mbedtls: additional flags for .fap linkage
* fbt: rebuilding assets when git commit id changes
* fbt: removed assets rebuild on git commit id change; added explicit dependency for SDK source on compiled assets parts; removed unneeded sdk regeneration runs
* fbt: changed stock plugins to EXTERNAL apps; restored building app as a PLUGIN as a part of main fw as well as a .fap; readme fixes
* fbt: restored certain apps to PLUGIN type
* fbt: app manifests: renamed version->fap_version, added extra fields
* fbt: fixed version processing after rename
Co-authored-by: あく <alleteam@gmail.com>
2022-09-19 21:39:00 +09:00
MX
c28e4ea733
Merge pull request #69 from h4sh5/random_uid_reader_detect
...
random uid for detect reader each time NFC app exists and comes back
2022-09-16 22:01:08 +03:00
MX
c894948d4f
faploader api extension and lib fixes
...
OFW PR 1742 by hedger
keeping api version the same to allow compatibility
it might be changed in next releases if api changes are destructive
2022-09-16 17:30:07 +03:00
hedger
007a3d295e
[FL-2819] updater: fixed failing backups on /int with empty files in it #1735
...
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 22:55:55 +09:00
MX
8fd4225939
fix detect raw bug, fix came atomo
2022-09-15 06:45:19 +03:00
MX
51ffdcd3bc
update api, add icons, fix picopass again
2022-09-15 01:14:55 +03:00
hedger
d47fdce337
updater: fixed failing backups on /int with empty files in it
2022-09-14 21:04:46 +03:00
MX
3fbaad1488
Merge branch 'fz-dev' into dev
2022-09-14 21:04:04 +03:00
SG
b9a766d909
[FL-2627] Flipper applications: SDK, build and debug system ( #1387 )
...
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00
SG
873e1f114b
[FL-2627] Flipper applications: SDK, build and debug system ( #1387 )
2022-09-15 01:11:38 +09:00
MX
4a61a28f57
Protocol data redecoding before write
...
OFW PR 1723 by nminaylov
2022-09-14 16:18:23 +03:00
MX
b00117e02c
Detect RAW feature
...
by perspecdev
2022-09-14 16:01:30 +03:00
Haoxi Tan
6b91c660d4
random uid each time NFC app exists and comes back
2022-09-14 20:10:49 +10:00
MX
1c00709ea6
fix custom name serial, bt mac, fix subghz starline
2022-09-11 15:03:44 +03:00
MX
bcaf898c57
fixes and impovements
2022-09-11 02:09:02 +03:00
MX
177fabe50c
add mpu, fix keeloq
2022-09-10 20:16:08 +03:00
MX
8abb9e8a2b
Merge branch 'fz-dev' into dev
2022-09-08 17:45:37 +03:00
Skorpionm
e9ab581771
SubGhz: fix decoder kelooq ( #1719 )
...
* SubGhz: fix decoder kelooq
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-09-08 10:27:03 +03:00
あく
b62096fb91
[FL-2645, FL-2810] SubGhz: handle missing key in cryptostore. Lib: lower default display contrast. ( #1717 )
...
* SubGhz: skip file loading on key load fail
* Lib: update default display contrast
* Format sources
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-09-08 10:18:18 +03:00
MX
77b19ec0db
OFW: SubGhz: fix decoder keeloq
...
OFW PR 1719 by Skorpionm
2022-09-08 05:39:21 +03:00
MX
48691b2296
Merge branch 'fz-dev' into dev
2022-09-05 20:53:59 +03:00
あく
3a767c9c02
[FL-2794] Lib: update LFS to v2.5.0, lower update free page limit ( #1706 )
...
* Lib: update lfs to v2.5.0
* Storage: set minimum free pages for update on internal storage to 3
* Updater: lower min int free space limit
* lfs: disabled debug and trace logs by default
Co-authored-by: hedger <hedger@nanode.su>
2022-09-05 20:40:20 +03:00
MX
a8858e38b5
Merge branch 'fz-dev' into dev
2022-09-05 19:23:34 +03:00
VVX7
8d8481b17f
fix buffer overflow in mifar ul load ( #1697 )
...
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-09-05 20:42:59 +09:00
MX
8323877120
formatted, attempt to fix rfid fuzzer crash
...
crash doesn’t fixed with this commit
2022-09-03 23:10:07 +03:00
MX
c41555b579
Merge branch 'fz-dev' into dev
2022-09-03 16:30:13 +03:00
gornekich
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
Skorpionm
a3932cfa6d
[FL-2787] SubGhz: add protocol Clemsa, fix decoder BETT ( #1696 )
...
* SubGhz: add protocol Clemsa
* SubGhz: fix decoder BETT protocol
Co-authored-by: あく <alleteam@gmail.com>
2022-09-03 15:19:01 +09:00
Sebastian Mauer
1d787e6da8
Add support for Keri tags ( #1689 )
...
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-09-02 21:36:13 +10:00
Sebastian Mauer
10b0a611cf
Add support for Gallagher tags ( #1680 )
...
* Add Gallagher protocol
2022-09-02 21:15:34 +10:00
Skorpionm
0ee4573a65
SubGhz: add protocol Intertechno_V3 ( #1622 )
...
* SubGhz: add decode Intertechno_V3
* SubGhz: add encoder Intertechno V3
* SubGhz: add uni_test Intertechno V3
* SubGhz: fix syntax
* SubGhz: add Intertechno V3 dimming mode
* SubGhz: fix parsing event Magellen protocol
* SubGhz: fix syntax
* SubGhz: fix encoder dimm mode
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-08-31 23:27:34 +09:00
Skorpionm
311b60f815
[FL-2771] SubGhz: add protocol Prastel #1674
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-31 23:21:36 +09:00
MX
4d388f4bde
SubGhz: add protocol Intertechno_V3 - OFW PR 1622
...
by Skorpionm
2022-08-30 21:55:25 +03:00
MX
079cadaeda
SubGhz: add protocol Prastel - OFW PR 1674
...
by Skorpionm
2022-08-30 21:25:08 +03:00
MX
0c0fb57410
Merge branch 'fz-dev' into dev
2022-08-30 21:23:28 +03:00
Eric Betts
8e9043003f
Picopass write ( #1658 )
...
* [picopass] Prevent false success with non-standard key
* UI for writing
* worker function for write
* Update write command value
* Show card read failure message
Co-authored-by: あく <alleteam@gmail.com>
2022-08-30 22:59:34 +09:00
MX
5272b81ae6
Merge branch 'fz-dev' into dev
2022-08-30 11:42:39 +03:00
Sebastian Mauer
d76ba20652
Add support for Pyramid tags ( #1676 )
...
* Add support for Pyramid tags
* Also add additional checks for AWID decoder to avoid missdetection
* lfrfid worker: reset GPIO_LOAD pin
* lfrfid: protocol viking, format
* lfrfid: protocol pyramid, format
* lfrfid: protocol paradox, format
* lfrfid: protocol jablotron, format
* lfrfid: protocol em4100, format
* lfrfid: increase reading time by 0.5s since protocol viking takes longer to read
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-08-30 02:31:28 +10:00
Walter Doekes
611b7e15ed
Remove execute permissions from *.c and *.h files ( #1651 )
...
* Add permission fix (no execute bit for source files) to fbt lint|format
* Remove execute bit from 59 source files using fbt format
* Also list which permissions are unwanted in lint.py
* Also remove exec permissions from lib/../rfal_nfc.c
Co-authored-by: あく <alleteam@gmail.com>
2022-08-30 01:20:57 +09:00
Sebastian Mauer
274f17ed5a
Add support for Viking tags ( #1668 )
...
* Add support for Viking tags
Fix blocks_to_write for T5577
2022-08-30 01:19:56 +10:00
Sebastian Mauer
f09c5889dd
Add support for Jablotron tags ( #1657 )
...
* Add support for Jablotron tags
2022-08-30 01:15:27 +10:00
Sebastian Mauer
39f936ce12
Add support for Paradox tags ( #1655 )
...
* Add support for Paradox tags
2022-08-30 01:08:10 +10:00
Sebastian Mauer
1350dcaf63
Add support for PAC/Stanley tags ( #1648 )
...
* Add support for PAC/Stanley tags
* Address review comments
2022-08-30 01:04:17 +10:00
MX
bacc8fa669
Merge pull request #51 from mothball187/nrfsniffer-improvements
...
tweak sniff parameters for more speed and reliability
2022-08-28 05:59:06 +03:00
mothball187
79c4b617c1
tweak sniff parameters for more speed and reliability. clear sniff data on stop or exit. replace preamble GUI option with sample time option
2022-08-27 19:47:10 -07:00
MX
194727515b
subghz decode raw gui
...
by qistoph
2022-08-28 04:46:59 +03:00
MX
66e361714f
Merge branch 'fz-dev' into dev
2022-08-27 02:06:06 +03:00
Yukai Li
ab4bb55d0f
nfc: Change furi_assert to furi_crash for default switch cases ( #1662 )
...
* nfc: Change furi_assert to furi_crash for default switch cases
* Nfc: change MiFare Ultralight crash message
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-08-26 01:07:54 +09:00
MX
f9d3d6bf5c
fix unirf crash, fix keeloq seed display, fix flipfrid
...
and add new unirf icon(animated) by Svarich
2022-08-25 03:21:44 +03:00
MX
1f68cf09eb
Merge branch 'fz-dev' into dev
2022-08-24 23:10:57 +03:00
Skorpionm
ce7b943793
[FL-2764] SubGhz: fix CAME, Chamberlain potocol ( #1650 )
...
* SubGhz: fix guard time CAME potocol
* SubGhz: fix file upload Chamberlain
* Github: fix spelling
Co-authored-by: あく <alleteam@gmail.com>
2022-08-25 00:14:27 +09:00
SG
7e20df7e93
LFRFID RC fixes ( #1652 )
...
* lfrid: fix write validation
* lfrid app: restore key data after write
2022-08-24 23:41:59 +09:00
MX
11e73cc670
Merge branch 'fz-dev' into dev
2022-08-23 19:20:06 +03:00
SG
9bfb641d3e
[FL-2529][FL-1628] New LF-RFID subsystem ( #1601 )
...
* Makefile: unit tests pack
* RFID: pulse joiner and its unit test
* Move pulse protocol helpers to appropriate place
* Drop pulse_joiner tests
* Generic protocol, protocols dictionary, unit test
* Protocol dict unit test
* iButton: protocols dictionary
* Lib: varint
* Lib: profiler
* Unit test: varint
* rfid: worker mockup
* LFRFID: em4100 unit test
* Storage: file_exist function
* rfid: fsk osc
* rfid: generic fsk demodulator
* rfid: protocol em4100
* rfid: protocol h10301
* rfid: protocol io prox xsf
* Unit test: rfid protocols
* rfid: new hal
* rfid: raw worker
* Unit test: fix error output
* rfid: worker
* rfid: plain c cli
* fw: migrate to scons
* lfrfid: full io prox support
* unit test: io prox protocol
* SubGHZ: move bit defines to source
* FSK oscillator: level duration compability
* libs: bit manipulation library
* lfrfid: ioprox protocol, use bit library and new level duration method of FSK ocillator
* bit lib: unit tests
* Bit lib: parity tests, remove every nth bit, copy bits
* Lfrfid: awid protocol
* bit lib: uint16 and uint32 getters, unit tests
* lfrfid: FDX-B read, draft version
* Minunit: better memeq assert
* bit lib: reverse, print, print regions
* Protocol dict: get protocol features, get protocol validate count
* lfrfid worker: improved read
* lfrfid raw worker: psk support
* Cli: rfid plain C cli
* protocol AWID: render
* protocol em4100: render
* protocol h10301: render
* protocol indala26: support every indala 26 scramble
* Protocol IO Prox: render
* Protocol FDX-B: advanced read
* lfrfid: remove unused test function
* lfrfid: fix os primitives
* bit lib: crc16 and unit tests
* FDX-B: save data
* lfrfid worker: increase stream size. Alloc raw worker only when needed.
* lfrfid: indala26 emulation
* lfrfid: prepare to write
* lfrfid: fdx-b emulation
* lfrfid: awid, ioprox write
* lfrfid: write t55xx w\o validation
* lfrfid: better t55xx block0 handling
* lfrfid: use new t5577 functions in worker
* lfrfid: improve protocol description
* lfrfid: write and verify
* lfrfid: delete cpp cli
* lfrfid: improve worker usage
* lfrfid-app: step to new worker
* lfrfid: old indala (I40134) load fallback
* lfrfid: indala26, recover wrong synced data
* lfrfid: remove old worker
* lfrfid app: dummy read screen
* lfrfid app: less dummy read screen
* lfrfid: generic 96-bit HID protocol (covers up to HID 37-bit)
* rename
* lfrfid: improve indala26 read
* lfrfid: generic 192-bit HID protocol (covers all HID extended)
* lfrfid: TODO about HID render
* lfrfid: new protocol FDX-A
* lfrfid-app: correct worker stop on exit
* misc fixes
* lfrfid: FDX-A and HID distinguishability has been fixed.
* lfrfid: decode HID size header and render it (#1612 )
* lfrfid: rename HID96 and HID192 to HIDProx and HIDExt
* lfrfid: extra actions scene
* lfrfid: decode generic HID Proximity size lazily (#1618 )
* lib: stream of data buffers concept
* lfrfid: raw file helper
* lfrfid: changed raw worker api
* lfrfid: packed varint pair
* lfrfid: read stream speedup
* lfrfid app: show read mode
* Documentation
* lfrfid app: raw read gui
* lfrfid app: storage check for raw read
* memleak fix
* review fixes
* lfrfid app: read blink color
* lfrfid app: reset key name after read
* review fixes
* lfrfid app: fix copypasted text
* review fixes
* lfrfid: disable debug gpio
* lfrfid: card detection events
* lfrfid: change validation color from magenta to green
* Update core_defines.
* lfrfid: prefix fdx-b id by zeroes
* lfrfid: parse up to 43-bit HID Proximity keys (#1640 )
* Fbt: downgrade toolchain and fix PS1
* lfrfid: fix unit tests
* lfrfid app: remove printf
* lfrfid: indala26, use bit 55 as data
* lfrfid: indala26, better brief format
* lfrfid: indala26, loading fallback
* lfrfid: read timing tuning
Co-authored-by: James Ide <ide@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-24 00:57:39 +09:00
Eric Betts
f92127c0a7
Picopass load/info/delete ( #1562 )
...
* increase stack size
* rfalPicoPassPollerWriteBlock
* UI for loading picopass
* Move picopass parsing and add delete, delete success
Co-authored-by: あく <alleteam@gmail.com>
2022-08-23 22:19:17 +09:00
MX
56907f0c9f
Merge branch 'fz-dev' into dev
2022-08-23 11:11:11 +03:00
Skorpionm
57328761cf
[FL-2757] SubGhz: add protocol Magellen ( #1633 )
...
* SubGhz: add decoder Paradox Wireless
* SubGhz: fix syntax
* SubGhz: rename paradox_wireless -> magellen, add encoder Magellen, parse event
* SuBghz: add unit_test Magellen
Co-authored-by: あく <alleteam@gmail.com>
2022-08-23 03:01:42 +09:00
gornekich
8992f8ac36
Fix mifare ultralight/ntag unlock #1624
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-23 02:14:31 +09:00
hedger
9829145d8c
fbt: fixed include paths; added PVS-Studio configuration ( #1615 )
...
* fbt: fixed include paths for generated version header
* lib: STM32CubeWB: refactored & cleaned up WPAN include paths
* hal: linter fixes for new headers
* fbt: added version_json target
* Added .pvsconfig; split common_defines.h into 2 files
* Added PVS-Studio basic configuration files; updated .gitignore
Co-authored-by: あく <alleteam@gmail.com>
2022-08-23 02:06:17 +09:00
MX
8f59217dd4
fixed typos in encoders
2022-08-17 23:33:41 +03:00
MX
cee1611583
Merge branch 'fz-dev' into dev
2022-08-17 23:25:29 +03:00
MX
9b13842467
Fix typos in subghz ( #1588 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-18 01:40:09 +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
MX
a896aa4113
allow setting custom flipper name
...
serial & ble mac generated from custom name (if set), CI support added too
2022-08-14 05:34:54 +03:00
MX
13465ef41d
Merged latest OFW changes
2022-08-12 05:18:27 +03:00
MX
db430214e2
Return storage fixes OFW PR 1563
...
This reverts commit b2bd1353a9
.
2022-08-12 00:53:52 +03:00
Nikolay Minaylov
a5a79c5da3
[FL-2705] RPC APP fixes #1568
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-12 00:37:23 +09:00
Skorpionm
36b8dfe655
[FL-2729] SubGhz: fix bett decoder ( #1573 )
...
* SubGhz: fix bett decoder
* SubGhz: fix duration preamble bett protocol
Co-authored-by: あく <alleteam@gmail.com>
2022-08-12 00:21:13 +09:00
Skorpionm
a39111ade2
[FL-2723] SubGhz: add protocol Honeywell_WDB / Doorbell ( #1560 )
...
* SubGhz: add protocol Honeywell_WDB (receive/save/load/transfer)
* SubGhz: add parsing data honeywell
* SubGhz: fix UI CAME TWEE
* SubGhz: add unit_test honeywell_wdb
Co-authored-by: あく <alleteam@gmail.com>
2022-08-11 21:20:31 +09:00
あく
fae392d84e
[FL-2677] SubGhz: region provisioning ( #1574 )
...
* FuriHal: region HAL draft
* FuriHal,SubGhz: complete region provisioning.
* Rpc: fix null pointer dereference.
* Cli: device info formatting
* FuriHal: region provisioning fixes and documentation.
2022-08-11 19:21:56 +10:00
MX
b2bd1353a9
Temporary drop storage fixes OFW PR #1563
2022-08-10 16:53:54 +03:00
MX
338871cb2b
Merge branch 'fz-dev' into dev
2022-08-09 21:39:35 +03:00
hedger
1d50a5981e
[FL-2059] Storage fixes for handling empty files ( #1563 )
...
* storage: fixed handling of zero-length files
* docs: added ReadMe.md for vscode workspace
* rpc: storage: improved empty file & error handling in write handler
* docs: markdown fix
* docs: typo fixes
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-10 00:57:11 +09:00
Astra
01eb92db06
Mifare Classic emulation fixes ( #1566 )
...
* Add fix for field
* More small bugfixes
* Clean up
2022-08-10 01:45:52 +10:00
MX
6afc457807
Merge branch 'fz-dev' into dev
2022-08-07 21:25:02 +03:00
Skorpionm
416cce9ffc
[FL-2718, FL-2719] SubGhz: add protocol BERNER / ELKA / TEDSEN / TELETASTER / Doitrand / Marantec / Phoenix V2 (static mode) / Phox (static mode), fix Princeton ( #1516 )
...
* SubGhz: add protocol marantec
* SubGhz: add protocol BERNER / ELKA / TEDSEN / TELETASTER
* SubGhz: add protocol Doitrand
* SubGhz: delete debug
* SubGhz: add protocol Phoenix V2 (static mode)
* SubGhz: fix serial decode Phoenix V2
* SubGhz: fix Princeton, display serial number and button on boot
* SubGhz: fix Bett decoder and fix unit_test
* SubGhz: update test_random_raw for unit_test
Co-authored-by: あく <alleteam@gmail.com>
2022-08-08 00:56:45 +09:00
gornekich
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
Peter Seprus
f3d7d7dba0
Extend random name generator ( #1551 )
...
* Extend random name generator
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
2022-08-08 00:28:04 +09:00
Vitaliya Chumakova
9ffcc52ada
Mifare Ultralight authentication ( #1365 )
...
* mifare ultralight auth prototype
* it works!
* Reference source
* use countof
* rework everything
* oops forgot scenes
* build: revert changes in manifest, stack size
* build: fix buid, format sources
* nfc: update unlock ultralight GUI
* nfc: fix byte input header
* nfc: add new scenes for locked ultralight
* nfc: add data read to ultralights
* nfc: add unlock option in mf ultralight menu
* nfc: add data read init in ultralight generation
* nfc: lin sources, fix unlocked save
* nfc: format python sources
* nfc: clean up
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-08-08 00:09:00 +09:00
MX
4a4f3d2b27
err messages
2022-08-06 05:41:06 +03:00
MX
ffc3b634b8
a bit of fixes
2022-08-06 05:18:05 +03:00
MX
3cf13c71d9
replace sprintf as it not used anymore
2022-08-03 22:09:39 +03:00
MX
81be4dfe13
Merge branch 'fz-dev' into dev
2022-08-03 21:09:13 +03:00
HexPandaa
4c499d9045
Fix directory name in lib readme ( #1528 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 02:13:06 +09:00
Fedor Indutny
3ee93e1a82
nfc: make dict attack more interactive ( #1462 )
...
* nfc: deduplify dict attack worker code
* nfc: make dict attack more interactive
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 02:07:35 +09:00
Georgii Surkov
135fbd294b
[FL-2693] RW buffered streams ( #1523 )
...
* Add write methods for stream cache
* Fix logical error
* Implement write cache for buffered file streams
* Minor code refactoring
* Less ugly code
* Better read() implementation
* Intermediate implementation
* Fix logical error
* Code cleanup
* Update FFF comments
* Fix logical error
* Github: rsync with delete
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:43:14 +09:00
SG
bc34689ed6
Make printf great again ( #1438 )
...
* Printf lib: wrap *printf* functions
* Printf lib, FW: drop sprintf. Dolphin: dump timestamp as is, wo asctime.
* FW: remove sniprintf, wrap assert functions
* Printf lib: wrap putc, puts, putchar
* Printf: a working but not thread-safe concept.
* Poorly wrap fflush
* stdglue: buffers
* Core: thread local buffers
* Core: move stdglue to thread api, add ability to get FuriThread instance of current thread.
* RPC tests: replace sprintf with snprintf
* Applications: use new stdout api
* Printf lib: wrap more printf-like and stdout functions
* Documentation
* Apps: snprintf size fixes
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:00:17 +09:00
MX
aa40f428a5
Merge branch 'fz-dev' into dev
2022-08-02 19:27:01 +03:00
Max Andreev
93a4b9c4a9
[FL-2649] Drop Docker in CI/CD ( #1412 )
...
* enable sparseCheckout, moving github actions from docker to raw shell
* fix missing known_hosts while setting ssh priv key
* fix build.yml
* add ssh key to upload just in time
* fixing rsync syntax
* fix build.yml
* try to fix build.yml again
* testing rsync
* test rsync again
* add linters
* add Black Python linter to submodules
* add Black submodule
* add working python linter target, dirty file list
* up toolchain to version 4
* up toolchain to ver 5
* up toolchain version to 6
* fbt: using black 22.6.0
* remove Black submodule, up toolchain to ver 7
* fbt: added lint_py, format_py targets
* add pvs_studio workflow
* fix pvs_studio segfault
* fix pvs_studio command
* fix pvs_studio command 2
* show env before run pvs_studio
* try to debug pvs_studio
* try to strace pvs_studio..
* Add FBT_TOOLCHAIN_PATH, MacOS Rosseta check, and ignore non-x86_64 linux architectures
* prevent redownloading toolchain on github-runners
* fix toolchain download exitcode
* add strace to debug pvs_studio segfault
* disable strace to catch full code dump
* Add './fbt cli' target to access Flipper CLI via PySerial
* remove pvs_studio from this PR
* removing clang-format from toolchain due errors
* make source easy, and fix some mistakes found by @hedger
* Add check_submodules workflow, some fixes
* fixing mistakes
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-08-02 23:05:31 +09:00
Georgii Surkov
01afb289c0
[FL-2713] Buffered file streams fix ( #1515 )
...
* Fix incorrect buffered stream behaviour
* Add specific tests
* Make the test fail on wrong behaviour
* Better names
Co-authored-by: あく <alleteam@gmail.com>
2022-08-02 22:17:37 +09:00
MX
a74262cef2
update unirf / other fixes
2022-08-01 23:20:04 +03:00
MX
a5dd804d3e
Merge remote-tracking branch 'origin/dev' into dev
2022-08-01 17:36:16 +03:00
MX
c0f0ec3c95
Merge branch 'fz-dev' into dev
2022-08-01 17:30:50 +03:00
Skorpionm
4da6eba395
[FL-2706, FL-2709] SubGhz: checking saved key files for length ( #1485 )
...
* [FL-2706] SubGhz: checking saved key files for length
* SubGhz: fix RAW file upload error
* [FL-2709] GubGhz: RAW screen fix
Co-authored-by: あく <alleteam@gmail.com>
2022-08-01 21:24:21 +09:00
TQMatvey
a15954910e
SubGhz: Fix Sd: being inside the Send button
2022-08-01 15:29:48 +07:00
MX
712a48b5db
Fix typo in subghz ( #1467 )
...
* fix typo across subghz
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-31 08:34:38 +09:00
MX
79e7636507
fmt
2022-07-29 19:34:41 +03:00
MX
f4cc9e5de7
plugins & badusb
...
if author want their plugin to be removed - create issue, thanks
2022-07-29 17:48:51 +03:00
MX
05a1ef0e71
Merge branch 'fz-dev' into dev
2022-07-28 18:30:09 +03: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
Eng1n33r
b6ab686a34
fix typo
2022-07-27 15:58:32 +03:00
Eng1n33r
a79dea948b
Merge branch 'fz-dev' into dev
2022-07-26 21:11:03 +03:00
Eng1n33r
acd5430c21
Merge branch 'fz-dev' into dev
2022-07-26 21:09:31 +03:00
hedger
80a7de8078
updater: fixed dolphin level not being migrated ( #1458 )
2022-07-27 02:13:09 +09:00
gornekich
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
Skorpionm
ec19c11dbe
[FL-2669] SubGhz: add support for loading custom presets ( #1398 )
...
* SubGhz: load custom -preset
* SubGhz: fix error prt=0
* SubGhz: load custom preset
* SubGhz: code refactoring to support custom preset
* SubGhz: add custom presert refactoring
* SubGhz: fix alloc history alloc preset
* SubGhz: fix error load file
* SubGhz: fix start custom preset
* SubGhz: fix delete custom preset
* SubGhz: add description Custom_preset_data for CC1101
* SubGhz: debug logging and buffer size rounding
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-26 23:16:59 +09:00
Skorpionm
ed7db336c1
[FL-2684, FL-2685] bugfix subghz ( #1446 )
...
* [FL-2684] SubGhz: fix incorrect CAME TWICE protocol definition
* [FL-2685] SubGhz: fix the recorded RAW signal is deleted when trying to transmit on a prohibited frequency
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:58:07 +09:00
Eng1n33r
2c0dcc808d
Merge branch 'fz-dev' into dev
2022-07-26 15:52:19 +03:00
hedger
056446dfed
[FL-2675] /int space reservation ( #1448 )
...
* storage: added global #defines for /int, /ext & /any
* storage: introduced PATH_EXT, PATH_INT& PATH_ANY macros
* core apps: moved hardcoded config files names to separate headers; prefixed them with "."; updater: added file name migration to new naming convention on backup extraction
* storage: fixed storage_merge_recursive handling of complex directory structures; storage_move_to_sd: changed data migration logic to all non-dot files & all folders
* core: added macro aliases for core record names
* Bumped protobuf commit pointer
* storage: reserved 5 pages in /int; denying write&creation of non-dot files when running out of free space
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:21:51 +09:00
Eng1n33r
15d5a0c1f2
Merge branch 'fz-dev' into dev
2022-07-25 19:46:29 +03:00
Eric Betts
cd77b93f26
Picopass: dump full card, extract some details ( #1408 )
...
* Dump entire picopass card
* Capture more iClass details
* facility code bugfix
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 00:36:38 +09:00