Commit graph

888 commits

Author SHA1 Message Date
r3df0xx
4d251ebeb9 Update subghz_scene_set_type.c 2022-05-26 22:24:17 +03:00
r3df0xx
c9b1168db9 new subghz fixes 2022-05-26 22:15:53 +03:00
Eng1n33r
74cf6b3e2f
Merge branch 'flipperdevices:dev' into dev 2022-05-26 21:54:26 +03:00
Yukai Li
0d5d4c8688
RFC: NTAG I2C support (#1227)
* nfc: Add NTAG I2C (Plus) 1K/2K read support
* nfc: Add rudimentary NTAG I2C emulation
* nfc: Closer NTAG I2C emulation plus debug logging
* nfc: Fix NTAG I2C sector select emulation
* nfc: Add security for NTAG I2C
* nfc: Send NAK correctly for MFUL reads
* nfc: Better emulate NTAG I2C SECTOR_SELECT behavior
* nfc: Fix non-I2C Ultralight read
  Per datasheet, max sector for SECTOR_SELECT is 0xfe, so 0xff is OK
  as uninit value
* nfc: Only read sig for NTAG if supported
  Attempting to read signature breaks immediate call to sector select on
  NTAG I2C original for some reason, so don't read signature if the
  command is not supported

Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-05-26 15:55:29 +03:00
r3df0xx
23053b9f82 Add BFT creation 2022-05-24 23:43:23 +03:00
r3df0xx
dd2da164de New improvements
1) SubGhz: consciousness and transmission support Security+ 1.0 SAVE AND SEND! ;
2) SubGhz: fix incorrect shutdown of CC1101 if it was not turned on;
3) SubGhz: fix frequency reset on incomplete exit from the transmission menu
2022-05-24 20:56:37 +03:00
r3df0xx
17818f3c42 Merge remote-tracking branch 'upstream/dev' into dev 2022-05-24 20:29:48 +03:00
Kevin Wallace
4b45746b8e
Fix MiFare DESFire GetKeySettings response parsing (#1267)
Only the bottom nybble of buf[1] is the key ID; the top nybble contains flags.
Notably, the top bit is set for AES mode on EV1+ cards, and ORCA cards in the
Seattle area were just upgraded to include an app that uses AES.

Prior to this, cards with flags set could be read and saved just fine, but
loading them would fail due to missing keys.  After this, tags saved with the
old version will load fine, and when re-saved will have the flags separated
out into a new field.

Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:05:46 +03:00
gornekich
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
Yukai Li
f90c9320d9
bt: Fix race condition when disconnect during TX (#1260)
* bt: Fix race condition when disconnect during TX
* bt: Move flag clear to not be in middle of other logic
* bt: Bail out of send bytes a little bit earlier

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 00:43:39 +03:00
Samuel Yvon
eb83b0f02a
(Typo) Conrol=>Control (#1266)
* Fix typo (Conrol=>Control)

Co-authored-by: あく <alleteam@gmail.com>
2022-05-23 23:57:49 +03:00
r3df0xx
454e18252f SubGhz Improvements
fix start duration came_atomo protocol, fix freq. anal. scan speed, add 310mhz, deleting a TMP file using the "Erase" button in Read RAW,
2022-05-23 18:38:53 +03:00
Eng1n33r
bb62d96b3b
Merge branch 'flipperdevices:dev' into dev 2022-05-23 16:49:21 +03:00
Kate Temkin
522420ec70
RFID: add support for Kantech IOProx cards (#1261) 2022-05-23 23:21:34 +10:00
r3df0xx
2f667246db Remove broken \ unworking plugins
Remove unworking Flappy Bird, JukeBox and Universa_RF apps (didnt found way to use) and non-working Spectrum Analyzer.
2022-05-21 22:44:27 +03:00
Eng1n33r
6b9b7a2c6d
Merge branch 'flipperdevices:dev' into dev 2022-05-20 23:05:29 +03:00
あく
8a81b79e00
Infrared: fix RAW parsing in cli. Remove dead sources. (#1255)
* Infrared: fix RAW parsing in cli. Remove dead sources.
2022-05-21 06:03:09 +10:00
Eng1n33r
5b8017d2aa
Merge branch 'flipperdevices:dev' into dev 2022-05-20 22:20:49 +03:00
あく
8d737133fe
FL-2534: change button text in format dialog and fix incorrect dialog_ex behavior when text is not set (#1253) 2022-05-21 04:40:49 +10:00
r3df0xx
580081fc82 Merge branch 'dev' of https://github.com/Eng1n33r/flipperzero-firmware into dev 2022-05-19 23:19:31 +03:00
r3df0xx
2956f2e6f4 add wplugins updates without conficting NFC and BT/BLE changes
Nice FloR-S emulation now working
2022-05-19 23:19:04 +03:00
Eng1n33r
0838b06c2a
Merge branch 'flipperdevices:dev' into dev 2022-05-19 23:11:41 +03:00
あく
e8de94ca00
Drop libs rtc (#1248) 2022-05-20 05:53:33 +10:00
r3df0xx
b9d255d889 fetch upstream 2022-05-19 20:54:37 +03:00
r3df0xx
9708336367 Revert "fetch wplugins"
This reverts commit 4760c1c5ce.
2022-05-19 20:05:13 +03:00
r3df0xx
016f0f3493 Revert "upd wplugins"
This reverts commit fec7523311.
2022-05-19 20:05:01 +03:00
r3df0xx
ad182e7d33 Revert "fetch upstream"
This reverts commit 911404e881, reversing
changes made to fec7523311.
2022-05-19 20:04:52 +03:00
r3df0xx
1c0f8aa1e8 Revert "fetch upstream"
This reverts commit c12fc57997.
2022-05-19 20:04:39 +03:00
r3df0xx
a3e595575d Revert "Merge branch 'flipperdevices:dev' into dev"
This reverts commit 692f180f2e, reversing
changes made to c12fc57997.
2022-05-19 20:04:33 +03:00
r3df0xx
9fe7fe5dc2 Revert "upd"
This reverts commit 4d4189f3c4.
2022-05-19 20:04:28 +03:00
r3df0xx
64073bd905 Revert "try rollback subghz fix"
This reverts commit 793f64f8d7.
2022-05-19 20:04:23 +03:00
r3df0xx
7cf4f0ca28 Revert "Update pin_lock.c"
This reverts commit 524b602700.
2022-05-19 20:04:07 +03:00
r3df0xx
7724bac58a Revert "Merge branch 'flipperdevices:dev' into dev"
This reverts commit 935c2df029, reversing
changes made to 524b602700.
2022-05-19 20:03:57 +03:00
Eng1n33r
935c2df029
Merge branch 'flipperdevices:dev' into dev 2022-05-19 19:37:41 +03:00
あく
9c3f465afd
[FL-2537, FL-2539, FL-2534, FL-2534, FL-2525]: UI and UX improvements (#1246)
* FL-2537: ON/OFF buttons
* FL-2539: cancelable lowbatt shutdown
* FL-2534: update storage format results screen, cleanup dialog_ex usage.
* FL-2534: storage setting UX rework
* FL-2525: unify arrows icons
* Remove unused icons
* UI: Rename Ok to OK
2022-05-20 02:07:45 +10:00
r3df0xx
524b602700 Update pin_lock.c 2022-05-19 17:59:19 +03:00
r3df0xx
793f64f8d7 try rollback subghz fix 2022-05-19 16:34:36 +03:00
r3df0xx
4d4189f3c4 upd 2022-05-19 15:03:44 +03:00
Eng1n33r
692f180f2e
Merge branch 'flipperdevices:dev' into dev 2022-05-19 14:54:57 +03:00
Nikolay Minaylov
513d098051
Fix cli session open on pin unlock (#1245) 2022-05-19 14:24:58 +03:00
r3df0xx
c12fc57997 fetch upstream 2022-05-19 01:35:30 +03:00
r3df0xx
911404e881 fetch upstream 2022-05-19 01:33:17 +03:00
Skorpionm
d38dba4a26
SubGhz: refactoring frequency analyzer and MegaCode display changes (#1221)
* SubGhz: MegaCode display changes
* SubGhz: refactoring frequency analyzer
* SubGhz: use one stage detection in frequency analyzer, tune bw, datarate and etc
* SubGhz: tune analyzer threshold
* SubGhz: raise frequency analyzer threshold and rssi sampling config
* SubGhz: fix frequency analyzer, small step frequency analysis
* SubGhz: subghz_frequency_analyzer_worker
* SubGhz: fix SUBGHZ_FREQUENCY_ANALYZER_THRESHOLD
* SubGhz: debug logging in frequency analyzer, increase MAGN_TARGET to max value
* SubGhz: reduce RSSI delay in frequency scanner
* SubGhz: fix delays, remove trace logging from frequency analyzer
* SubGhz: cleanup variable names and add comments

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-18 23:38:06 +03:00
r3df0xx
fec7523311 upd wplugins 2022-05-18 19:17:59 +03:00
r3df0xx
4760c1c5ce fetch wplugins 2022-05-18 17:23:59 +03:00
r3df0xx
1ffe4bd582 Update clock_app.c 2022-05-18 01:33:40 +03:00
r3df0xx
7fbf49d377 plugins 2022-05-17 15:54:09 +03:00
Eng1n33r
7ca5cd4876
Merge branch 'flipperdevices:dev' into dev 2022-05-14 18:14:26 +03:00
Jeremy Stashewsky
e46af576fc
Preserve dotted timing on subseqent loops (#1231) 2022-05-14 11:25:05 +03:00