Commit Graph

1422 Commits

Author SHA1 Message Date
Sergey Gavrilov
eb3a8734fb Fix crash in iButton notifications routine (#2074)
* iButton: send notifications less strictly
* iButton: set notification callback earlier
2022-12-02 03:28:46 +09:00
g3gg0
8c34f28992 added send_time option to start a signal at a specific DWT->CYCCNT value 2022-12-01 18:43:22 +01:00
g3gg0
38eef0703b added DigitalSequence to chain multiple DigitalSignals
added PulseReader for hardware assisted digital signal sampling
2022-12-01 01:37:50 +01:00
RogueMaster
aa78d8c124 Merge branch 'flipperdevices:dev' into 420 2022-11-30 14:27:57 -05:00
MX
a66f94d22e Merge branch 'fz-dev' into dev 2022-11-30 15:27:55 +03:00
Skorpionm
2a6a3a1bf7 [FL-2955], [FL-2953] SubGhz: fix RAW "Send never ends" (#1979)
* SubGhz: fix RAW "Send never ends"
* SubGhz: delete comments
* SubGhz: RAW file parsing speed increase
* SubGhz: fix level_duration_is_wait
* SubGhz: modification furi_hal_subghz_async_tx_refill
* SubGhz: furi_hal_subghz_stop_async_rx
* SubGhz: hal unit test and better async tx yield handling
* FuriHal: proper async tx end in subghz, vibro on power off
* FuriHal: variable naming in subghz
* SubGhz,FuriHal: extreme timings in subghz hal unit tests, remove memset in async tx buffer fill routine
* FuriHal: small refinements in subghz

Co-authored-by: あく <alleteam@gmail.com>
2022-11-30 20:41:23 +09:00
RogueMaster
b4656d801b Merge branch 'UNLEASHED' into 420 2022-11-29 12:38:01 -05:00
MX
eec21b073b Merge branch 'fz-dev' into dev 2022-11-29 16:11:13 +03:00
Sergey Gavrilov
297f185ef4 Blocking USB driver API (#2009)
* invalidate memmgt thread dict
* Core: rollback memmgt thread dict invalidation
* Dialogs: move api lock to toolbox
* HAL: blocking usb API
* HAL usb: fix api return data
* HAL usb: api optimization
* api lock: test results
* Fix build errors
* DAP Link: fix imports
* Crash when malloc in ISR
* Fix dap-link copypaste error
* Moar memory management crashes.
* Crash when malloc in IRQ, not ISR
* USB-UART: Blocking VCP mode switch

Co-authored-by: nminaylov <nm29719@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-11-29 21:50:55 +09:00
Georgii Surkov
0261dc3075 [FL-2957] Unified Info API, App Error, Data Xchange (#1998)
* Update protobuf definitions
* Add Property subsystem entry point function
* Key-based system info and power info function stubs
* Remove unneeded functions
* Working power info
* Working system info
* Replace #defines with string literals
* Remove unneeded field
* Simplify system info formatting
* Refactor output callback handling
* Handle the last info element correctly
* Optimise power info, rename methods
* Add comments
* Add power debug
* Remove unneeded definitions
* Rename some files and functions
* Update protobuf definitions
* Implement App GetError and DataExchange APIs
* Send GetErrorReply with correct command_id
* Add RPC debug app stub
* Add more scenes
* Add warning, increase stack size
* Add receive data exchange scene
* Improve data exchange
* Add notifications
* Update application requirements
* Bump format version for property-based infos
* Correctly reset error text
* RCP: sync protobuf repo to latest release tag

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-11-29 18:08:08 +09:00
RogueMaster
d0a29e2544 fmt 2022-11-29 01:01:12 -05:00
RogueMaster
557ed1ca8c Update nfcv.c 2022-11-29 00:59:25 -05:00
RogueMaster
aa8e7d93ff Merge branch 'pr/456' into 420 2022-11-29 00:56:39 -05:00
g3gg0
1489e3e676 better layer separation for ISO15693 2022-11-29 02:15:20 +01:00
g3gg0
1b6b4b6522 cleaned up SLIX code
added callbacks for card-specific ISO15693-3 handling
2022-11-29 01:00:41 +01:00
MX
3d36105142 Merge branch 'fz-dev' into dev 2022-11-28 23:12:17 +03:00
Georgii Surkov
c535ce9b76 [FL-2997] Improve file name filtering #2047
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 04:28:51 +09:00
Skorpionm
84f9af3e7e SubGhz: fix duration pricenton protocol (#2054)
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 04:17:57 +09:00
RogueMaster
72bd6bc865 Merge branch 'ofwdev' into 420 2022-11-28 13:26:36 -05: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
RogueMaster
c161fbc0df Merge branch 'UNLEASHED' into 420 2022-11-27 01:44:26 -05:00
RogueMaster
ce26d9eae5 Update mifare_ultralight.h 2022-11-26 22:15:53 -05:00
RogueMaster
69c851b888 Merge pull request #453 from Shmuma/pocsag
Pocsag
2022-11-26 18:41:43 -05:00
RogueMaster
2c8555c6a4 Merge pull request #452 from flipperdevices/skorp/subghz_fix_pricenton
SubGhz: fix duration pricenton protocol
2022-11-26 18:37:18 -05:00
RogueMaster
569a6fe6c3 fmt 2022-11-26 17:11:53 -05:00
RogueMaster
eb5ad7fb49 Update nfcv.c 2022-11-26 17:10:16 -05:00
RogueMaster
16a037fc4e Revert "Revert "Merge branch 'pr/450' into 420""
This reverts commit 076b11e872.
2022-11-26 17:05:26 -05:00
RogueMaster
076b11e872 Revert "Merge branch 'pr/450' into 420"
This reverts commit 17ba83f20e, reversing
changes made to 7484e573d0.
2022-11-26 17:02:32 -05:00
RogueMaster
17ba83f20e Merge branch 'pr/450' into 420 2022-11-26 17:00:36 -05:00
Max Lapan
dd578eb91c Make linter happy 2022-11-26 17:47:56 +01:00
Max Lapan
07eff384a2 Merge branch 'dev' into pocsag 2022-11-26 17:22:29 +01:00
Max Lapan
12132fbbe7 Unit tests 2022-11-26 17:05:37 +01:00
g3gg0
67f8f5a014 added NfcVSendFlags to choose fields to send 2022-11-26 16:54:32 +01:00
Max Lapan
6734659e0d Drop logging 2022-11-26 16:33:17 +01:00
Max Lapan
2609e982a8 Decoding of alert messages 2022-11-26 16:32:08 +01:00
g3gg0
4b18370dfa fix SLIX/SLIX2 type indicator bits 2022-11-26 16:31:32 +01: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
SkorP
215c9b0eed SubGhz: fix duration pricenton protocol 2022-11-26 12:54:14 +04:00
RogueMaster
68f51411a1 fmt 2022-11-26 02:23:03 -05:00
RogueMaster
41e9c09fba Merge branch 'pr/448' into 420 2022-11-25 21:43:35 -05:00
RogueMaster
a15ee2ea7d Revert "Revert "Merge branch 'pr/446' into 420""
This reverts commit 28cc99ad2d.
2022-11-25 21:41:55 -05:00
Max Lapan
7d3a39be65 Bring back protocol name 2022-11-25 21:00:33 +01:00
Max Lapan
e294e03618 Decoding of BCD messages 2022-11-25 19:46:02 +01:00
g3gg0
0cb784aadd undo NfcA changes which might have looked better, but brought no reliability improvement 2022-11-25 12:08:36 +01:00
g3gg0
c1b5394b0f further mergability updates 2022-11-25 11:42:29 +01:00
g3gg0
27b99e15a4 further cleanups towards a proper merge
SLIX-L accepts all passwords when password is zero
2022-11-25 11:31:19 +01:00
g3gg0
4b554c5f9e code cleanup for ISO15693
added logging code for ISO15693
2022-11-25 10:31:17 +01:00
RogueMaster
28cc99ad2d Revert "Merge branch 'pr/446' into 420"
This reverts commit 761dc48b3e, reversing
changes made to 91f037c63f.
2022-11-25 03:08:53 -05:00
RogueMaster
761dc48b3e Merge branch 'pr/446' into 420 2022-11-25 01:40:03 -05:00