Skip to content

Commit bbe9f88

Browse files
committed
Merge branch 'dev' into release
2 parents 9188bf0 + f73d286 commit bbe9f88

File tree

61 files changed

+3061
-282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3061
-282
lines changed

CHANGELOG.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
### New changes
2-
* API: Version was changed due to breaking changes - from 8.x to 10.x - Extra pack was updated, download it by using link below ([- Download latest extra apps pack](https://download-directory.github.io/?url=https://github.com/xMasterX/unleashed-extra-pack/tree/main/apps))
3-
* SubGHz: Improve signals visibility in history
4-
* Infrared: Update universal remote assets **(TV universal remote now works much faster)** (by @Amec0e)
5-
* Plugins: Weather Station -> Improved signal info dashboard, added signal age counter. (PR by @LY2NEO | #197) (Modified and improved by @xMasterX, new icons and UI changes recommendations by @Karator in OFW PR 2087)
6-
* Plugins: Weather Station -> Oregon2 - add support for RTHN129
7-
* Plugins: iButton Fuzzer -> change minimal delay (after @Tobirg successfully verified stability with lower delay)
8-
* Plugins: iButton Fuzzer + RFID Fuzzer -> Attempt to fix crash when exiting from uids from file attack
9-
* OFW: NFC bug fixes **(breaking change, affects API version)**
10-
* OFW: UART echo: fix race conditions causing null pointer dereference
11-
* OFW: File browser base folder **(breaking change, affects API version)**
12-
* OFW: Change NFC emulation screens
13-
* OFW: SubGhz: add RPC error
14-
* OFW: FuriHal, Power, UnitTests: battery charging voltage limit API
15-
* OFW: Fix logical error in storage script
16-
* OFW: VCP session close fix
17-
* OFW: Dolphin: new animation L2_Wake_up_128x64
18-
* OFW: FuriHal: add i2c unit tests
2+
* SubGHz: app launch times improved significantly, also setting_user file no longer overwritten by firmware updates, this update will remove this file (only this version, next ones will not touch it (if you skip this version file will be removed in any case on next update)), be sure to backup if you have custom changes in it!
3+
Now this file is actually should be created by user and will be not removed every update!
4+
* Plugins: Add POCSAG Pager [(by xMasterX & Shmuma)](https://github.com/xMasterX/flipper-pager)
5+
* Misc fixes
6+
* OFW: IR button overflow fix
7+
* OFW: Weather Station: proper event flow for view redraw.
8+
* OFW: Untangle NFC from Unit Tests
199

2010
#### [🎲 Download latest extra apps pack](https://download-directory.github.io/?url=https://github.com/xMasterX/unleashed-extra-pack/tree/main/apps)
2111

@@ -24,6 +14,7 @@
2414
[-> Download qFlipper (official link)](https://flipperzero.one/update)
2515

2616
## Please support development of the project
17+
* Boosty: https://boosty.to/mmxdev
2718
* destream (100 EUR min): https://destream.net/live/MMX/donate
2819
* cloudtips (only RU payments accepted): https://pay.cloudtips.ru/p/7b3e9d65
2920
* YooMoney (only RU payments accepted): https://yoomoney.ru/fundraise/XA49mgQLPA0.221209
@@ -40,6 +31,8 @@
4031

4132
**Recommended option - Web Updater**
4233

34+
What means `n` in - `flipper-z-f7-update-(version)n.tgz` ? - that means this build comes without our custom animations, only official flipper animations
35+
4336
Self-update package (update from microSD) - `flipper-z-f7-update-(version).zip` or download `.tgz` for mobile app / qFlipper
4437

4538

ReadMe.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Also check changelog in releases for latest updates!
6767
- Star Line
6868

6969
## Please support development of the project
70+
* Boosty: https://boosty.to/mmxdev
7071
* destream (100 EUR min): https://destream.net/live/MMX/donate
7172
* cloudtips (only RU payments accepted): https://pay.cloudtips.ru/p/7b3e9d65
7273
* YooMoney (only RU payments accepted): https://yoomoney.ru/fundraise/XA49mgQLPA0.221209
@@ -109,6 +110,7 @@ Also check changelog in releases for latest updates!
109110
- BH1750 - Lightmeter [(by oleksiikutuzov)](https://github.com/oleksiikutuzov/flipperzero-lightmeter)
110111
- iButton Fuzzer [(by xMasterX)](https://github.com/xMasterX/ibutton-fuzzer)
111112
- HEX Viewer [(by QtRoS)](https://github.com/QtRoS/flipper-zero-hex-viewer)
113+
- POCSAG Pager [(by xMasterX & Shmuma)](https://github.com/xMasterX/flipper-pager)
112114

113115
Games:
114116
- DOOM (fixed) [(by p4nic4ttack)](https://github.com/p4nic4ttack/doom-flipper-zero/)

applications/debug/unit_tests/nfc/nfc_test.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <lib/nfc/helpers/mf_classic_dict.h>
77
#include <lib/digital_signal/digital_signal.h>
88
#include <lib/nfc/nfc_device.h>
9-
#include <applications/main/nfc/helpers/nfc_generators.h>
9+
#include <lib/nfc/helpers/nfc_generators.h>
1010

1111
#include <lib/flipper_format/flipper_format_i.h>
1212
#include <lib/toolbox/stream/file_stream.h>
@@ -102,7 +102,10 @@ static bool nfc_test_digital_signal_test_encode(
102102

103103
do {
104104
// Read test data
105-
if(!nfc_test_read_signal_from_file(file_name)) break;
105+
if(!nfc_test_read_signal_from_file(file_name)) {
106+
FURI_LOG_E(TAG, "Failed to read signal from file");
107+
break;
108+
}
106109

107110
// Encode signal
108111
FURI_CRITICAL_ENTER();

applications/main/infrared/infrared_brute_force.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ InfraredBruteForce* infrared_brute_force_alloc() {
3838
return brute_force;
3939
}
4040

41-
void infrared_brute_force_clear_records(InfraredBruteForce* brute_force) {
42-
furi_assert(!brute_force->is_started);
43-
InfraredBruteForceRecordDict_reset(brute_force->records);
44-
}
45-
4641
void infrared_brute_force_free(InfraredBruteForce* brute_force) {
4742
furi_assert(!brute_force->is_started);
4843
InfraredBruteForceRecordDict_clear(brute_force->records);
@@ -151,3 +146,8 @@ void infrared_brute_force_add_record(
151146
InfraredBruteForceRecordDict_set_at(brute_force->records, key, value);
152147
furi_string_free(key);
153148
}
149+
150+
void infrared_brute_force_reset(InfraredBruteForce* brute_force) {
151+
furi_assert(!brute_force->is_started);
152+
InfraredBruteForceRecordDict_reset(brute_force->records);
153+
}

applications/main/infrared/infrared_brute_force.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bool infrared_brute_force_start(
1616
bool infrared_brute_force_is_started(InfraredBruteForce* brute_force);
1717
void infrared_brute_force_stop(InfraredBruteForce* brute_force);
1818
bool infrared_brute_force_send_next(InfraredBruteForce* brute_force);
19-
void infrared_brute_force_clear_records(InfraredBruteForce* brute_force);
19+
void infrared_brute_force_reset(InfraredBruteForce* brute_force);
2020
void infrared_brute_force_add_record(
2121
InfraredBruteForce* brute_force,
2222
uint32_t index,

applications/main/infrared/infrared_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static void
453453
} while(false);
454454

455455
furi_string_free(remote_path);
456-
infrared_brute_force_clear_records(brute_force);
456+
infrared_brute_force_reset(brute_force);
457457
infrared_brute_force_free(brute_force);
458458
}
459459

applications/main/infrared/scenes/common/infrared_scene_universal_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ void infrared_scene_universal_common_on_exit(void* context) {
8787
Infrared* infrared = context;
8888
ButtonPanel* button_panel = infrared->button_panel;
8989
view_stack_remove_view(infrared->view_stack, button_panel_get_view(button_panel));
90-
infrared_brute_force_clear_records(infrared->brute_force);
90+
infrared_brute_force_reset(infrared->brute_force);
9191
button_panel_reset(button_panel);
9292
}

applications/main/nfc/nfc_i.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <lib/nfc/nfc_device.h>
2828
#include <lib/nfc/helpers/mf_classic_dict.h>
2929
#include <lib/nfc/parsers/nfc_supported_card.h>
30+
#include <lib/nfc/helpers/nfc_generators.h>
3031

3132
#include "views/dict_attack.h"
3233
#include "views/detect_reader.h"
@@ -50,9 +51,6 @@ typedef enum {
5051
NfcRpcStateEmulated,
5152
} NfcRpcState;
5253

53-
// Forward declaration due to circular dependency
54-
typedef struct NfcGenerator NfcGenerator;
55-
5654
struct Nfc {
5755
NfcWorker* worker;
5856
ViewDispatcher* view_dispatcher;

applications/main/nfc/scenes/nfc_scene_generate_info.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "../nfc_i.h"
2-
#include "../helpers/nfc_generators.h"
2+
#include "lib/nfc/helpers/nfc_generators.h"
33

44
void nfc_scene_generate_info_dialog_callback(DialogExResult result, void* context) {
55
Nfc* nfc = context;
@@ -39,7 +39,12 @@ bool nfc_scene_generate_info_on_event(void* context, SceneManagerEvent event) {
3939

4040
if(event.type == SceneManagerEventTypeCustom) {
4141
if(event.event == DialogExResultRight) {
42-
scene_manager_next_scene(nfc->scene_manager, nfc->generator->next_scene);
42+
// Switch either to NfcSceneMfClassicMenu or NfcSceneMfUltralightMenu
43+
if(nfc->dev->dev_data.protocol == NfcDeviceProtocolMifareClassic) {
44+
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfClassicMenu);
45+
} else if(nfc->dev->dev_data.protocol == NfcDeviceProtocolMifareUl) {
46+
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfUltralightMenu);
47+
}
4348
consumed = true;
4449
}
4550
}

applications/main/nfc/scenes/nfc_scene_set_type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "../nfc_i.h"
2-
#include "../helpers/nfc_generators.h"
2+
#include "lib/nfc/helpers/nfc_generators.h"
33

44
enum SubmenuIndex {
55
SubmenuIndexNFCA4,

0 commit comments

Comments
 (0)