WillyJL
5d5fa5e9aa
Merge branch 'feat/nfc-type-4-final' into mntm-dev
2025-10-06 01:32:15 +02:00
hedger
0d5beedb01
BLE: improved pairing security ( #4240 )
...
* ble: use unique root security keys for new pairings after pairing reset; added migrations for existing pairing data; unit_tests: added migration tests
* bt: lower logging level
* hal: bt: updated doxygen strings
* hal: ble: Added checks for root_keys ptr
* service: ble: bt_keys_storage minor cleanup
2025-09-24 22:36:45 +04:00
WillyJL
7f0e8f39d3
FuriHalSerial: Fix RXFNE interrupt hang ( #4246 )
...
* Expansion: Wake thread on UART error flag
* Expansion: Stop UART async rx early
* FuriHalSerial: Fix RXFNE interrupt hang
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
2025-09-24 14:24:09 +04:00
dogtopus
dfd753703a
FeliCa Emulation: Handle certain Polling commands in firmware ( #4204 )
...
* FeliCa: Handle non-hardware Polling commands
NFC TagInfo and possibly other readers rely on Polling commands with Request Code of 1 (default System Code request) or non-FFFF System Code to detect card type. Since the NFC controller doesn't seem to handle them in hardware and simply bubbles them up, and then the Flipper firmware will just ignore them and refuse to respond afterwards, this causes the reading operation to fail.
This commit adds a simple handler for such Polling commands so that readers behaving like NFC TagInfo could read the emulated card without failing.
* Only handle cases when System Code is not FFFF
The NFC controller should handle Polling commands with the System Code set to FFFF, so it's not necessary for the firmware to handle it.
* Remove system code logging
* More cleanups
* Remove the claim that we need a poller change
We already have enough information to determine whether or not the card supports NDEF since SYS_OP register value is included in all current Lite-S card dumps.
* Respond to 12FC polling command when needed
* Handle Polling with NDEF and Lite-S Service Code
This allows the reader to specifically select the service by naming the Service Code.
* Introduce API for manual handling of Polling commands
Introduce nfc_felica_listener_timer_anticol_start() and nfc_felica_listener_timer_anticol_stop(). These are for now just wrappers around the block_tx timer that can be used to delay the response until the desired Time Slot. Thanks to the loose timing constraints of FeliCa collision resolution protocol, no compensation seems to be necessary. Also enabled the block_tx timer for FeliCa listener, but with both compensation and fdt set to 0 to keep the original behavior of not using the timer during normal data exchange.
This API is now being used for handling Polling commands that are not handled by the NFC controller on the hardware side.
* Document target_time_slot
* Implement changes suggested by @RebornedBrain
* api: f18 version sync
* nfc: added stubs for `nfc_felica_listener_timer_anticol` for unit tests
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-09-24 14:08:40 +04:00
WillyJL
d38a3635f4
Merge remote-tracking branch 'fork-ofw/fix/noisy-uart-hang' into mntm-dev --nobuild
2025-07-02 08:38:04 +01:00
WillyJL
222c159211
FuriHalSerial: Fix RXFNE interrupt hang
2025-07-02 07:20:04 +01:00
Willy-JL
bc4bf99f77
Merge remote-tracking branch 'ul/dev' into mntm-dev
2025-04-23 04:21:50 +01:00
Dmitry422
5eacafa16d
Start moving RGB backlight back to Notification service
2025-04-10 18:01:47 +07:00
MX
3745ae2241
merge ofw pr 4136 [ci skip]
...
BadUSB: Full USB/BLE parameter customization, UI improvements, and more
by Willy-JL
2025-04-06 04:57:58 +03:00
MX
324b8ddb95
oops
2025-04-06 04:44:09 +03:00
MX
1385ea0ea0
some code cleanup
...
by Willy-JL
2025-04-06 03:00:37 +03:00
MX
c8fc2fa7b3
Merge remote-tracking branch 'OFW/dev' into dev
2025-04-06 01:54:22 +03:00
MX
4f5cba4cd1
Revert "Merge remote-tracking branch 'OFW/gsurkov/vcp_break_support' into dev [ci skip]"
...
This reverts commit fc25c9fba0 , reversing
changes made to 41ae5d8981 .
2025-04-05 23:41:23 +03:00
Willy-JL
81581c79b5
Spring cleaning
2025-04-04 13:18:36 +01:00
Willy-JL
32ad9ea25b
Revert "Merge remote-tracking branch 'OFW/gsurkov/vcp_break_support' into dev" --nobuild
...
This reverts commit fc25c9fba0 , reversing
changes made to 41ae5d8981 .
2025-04-04 12:09:48 +01:00
Willy-JL
7f46fe5d5c
Merge remote-tracking branch 'ofw/dev' into mntm-dev --nobuild
2025-04-03 06:19:15 +01:00
Anna Antonenko
13333edd30
[FL-3954, FL-3955] New CLI architecture ( #4111 )
...
* feat: FuriThread stdin
* ci: fix f18
* feat: stdio callback context
* feat: FuriPipe
* POTENTIALLY EXPLOSIVE pipe welding
* fix: non-explosive welding
* Revert welding
* docs: furi_pipe
* feat: pipe event loop integration
* update f18 sdk
* f18
* docs: make doxygen happy
* fix: event loop not triggering when pipe attached to stdio
* fix: partial stdout in pipe
* allow simultaneous in and out subscription in event loop
* feat: vcp i/o
* feat: cli ansi stuffs and history
* feat: more line editing
* working but slow cli rewrite
* restore previous speed after 4 days of debugging 🥲
* fix: cli_app_should_stop
* fix: cli and event_loop memory leaks
* style: remove commented out code
* ci: fix pvs warnings
* fix: unit tests, event_loop crash
* ci: fix build
* ci: silence pvs warning
* feat: cli gpio
* ci: fix formatting
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* feat: cli completions
* Merge remote-tracking branch 'origin/dev' into portasynthinca3/3928-cli-threads
* merge fixups
* temporarily exclude speaker_debug app
* pvs and unit tests fixups
* feat: commands in fals
* move commands out of flash, code cleanup
* ci: fix errors
* fix: run commands in buffer when stopping session
* speedup cli file transfer
* fix f18
* separate cli_shell into modules
* fix pvs warning
* fix qflipper refusing to connect
* remove temp debug logs
* remove erroneous conclusion
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* unit test for the fix
* improve thread stdio callback signatures
* pipe stdout timeout
* update api symbols
* fix f18, formatting
* fix pvs warnings
* increase stack size, hope to fix unit tests
* cli: revert flag changes
* cli: fix formatting
* cli, fbt: loopback perf benchmark
* thread, event_loop: subscribing to thread flags
* cli: signal internal events using thread flags, improve performance
* fix f18, formatting
* event_loop: fix crash
* storage_cli: increase write_chunk buffer size again
* cli: explanation for order=0
* thread, event_loop: thread flags callback refactor
* cli: increase stack size
* cli: rename cli_app_should_stop -> cli_is_pipe_broken_or_is_etx_next_char
* cli: use plain array instead of mlib for history
* cli: prepend file name to static fns
* cli: fix formatting
* cli_shell: increase stack size
* cli: fix rpc lockup
* cli: better lockup fix
* cli: fix f18
* fix merge
---------
Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com >
Co-authored-by: あく <alleteam@gmail.com >
2025-04-02 22:10:10 +04:00
hedger
5fcaef25b0
Stricter constness for const data ( #4126 )
...
* libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params
* hal: additional fixes for constness in USB subsystem
* debug apps: additional usb-related fixes
* mjs: more consts for token parser
* fatfs: const driver struct
* hal: more consts for ble & nfc vars
* hal: made FuriHalSpiBusHandle static
* hal: made FuriHalI2cBusHandle static
* usb: restored previous api
* linter fixes
* API fixes
2025-03-31 19:23:32 +04:00
MMX
b5fd8953f9
Merge pull request #877 from Dmitry422/dev
...
Сombining rgb_backlight (by @quen0n) and original_backlight in one firmware
2025-03-15 07:59:51 +03:00
MX
8ca3581fb0
subghz bugfixes and experimental options
2025-03-15 07:23:23 +03:00
Dmitry422
9b3d737693
Moving RGB Backlight setings and effect to rgb service finished.
2025-03-14 02:18:14 +07:00
Dmitry422
7a19c9e549
Still in progress
2025-03-12 18:15:38 +07:00
Dmitry422
3c7d9e63fb
Start working on combining rgb_backlight and original_backlight.
2025-02-28 23:14:18 +07:00
Willy-JL
2f376edd7d
Merge remote-tracking branch 'ul/dev' into mntm-dev
2025-02-28 05:04:24 +00:00
Willy-JL
bd2ee18e48
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2025-02-28 02:03:45 +00:00
MX
b38d239eb8
Merge remote-tracking branch 'OFW/hedger/more-constness' into dev [ci skip]
2025-02-24 21:18:11 +03:00
hedger
acc90d0ac3
linter fixes
2025-02-22 20:43:11 +00:00
hedger
15a5e652e0
usb: restored previous api
2025-02-22 20:40:52 +00:00
hedger
6c17b785ec
hal: made FuriHalI2cBusHandle static
2025-02-22 19:23:30 +00:00
hedger
251565e9d3
hal: made FuriHalSpiBusHandle static
2025-02-22 19:12:12 +00:00
hedger
d7221f1b0d
hal: more consts for ble & nfc vars
2025-02-22 18:39:52 +00:00
hedger
b99f65dd9a
hal: additional fixes for constness in USB subsystem
2025-02-22 16:32:24 +00:00
hedger
b0835220ac
libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params
2025-02-22 16:05:56 +00:00
MX
f242eef26f
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-21 03:08:00 +03:00
Anna Antonenko
7c5c5d4749
[FL-3734] UART framing mode selection ( #4121 )
...
* HAL: feat: uart framing
* JS: feat: uart framing
* fix formatting
* fix pvs warning
* HAL: flash impact reduction attempt 1
* HAL: flash impact reduction attempt 2
* fix compile error
* HAL: finalize flash impact reduction
* HAL: remove user-facing magic numbers
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-21 04:54:38 +09:00
Nathan Perry
290a6dc1eb
gpio: clear irq status before calling user handler ( #4118 )
...
* gpio: clear irq status before calling user handler
* Format sources
Co-authored-by: あく <alleteam@gmail.com >
2025-02-21 03:42:31 +09:00
Willy-JL
72281d9666
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2025-02-18 16:25:29 +00:00
MX
0849aec661
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-18 00:50:48 +03:00
あく
3a42bf812d
Furi, USB, BLE, Debug: various bug fixes and improvements ( #4114 )
...
* Furi, USB, BLE: extra stack space for some threads, small code cleanup.
* Furi: thread watermark check on exit, explicitly crash if built with LIB_DEBUG=1
* Debug: color logging in apps/furi gdb helper, check and show crash message in gdb console.
2025-02-17 22:16:14 +04:00
MX
85cba9fd8d
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-13 19:58:15 +03:00
Anna Antonenko
e27f82f041
[FL-3925, FL-3942, FL-3944] JS features & bugfixes (SDK 0.2) ( #4075 )
...
* feat: JS GPIO PWM, JS GUI Widget view; fix: JS EvtLoop stop on request, JS EvtLoop stop on error
* fix: f18 build
* docs: widget
* fix: js unit test
* change feature naming
Co-authored-by: あく <alleteam@gmail.com >
2025-02-13 17:50:38 +09:00
Willy-JL
69754a8da3
Revert "NFC: Add API to enforce ISO15693 mode ( #225 )"
...
This reverts commit 5afc01a4c3 .
2025-01-11 03:50:22 +00:00
Willy-JL
1373f91de2
Merge remote-tracking branch 'ul/dev' into mntm-dev
2024-11-27 11:23:46 +00:00
MX
fc25c9fba0
Merge remote-tracking branch 'OFW/gsurkov/vcp_break_support' into dev [ci skip]
2024-11-26 05:19:11 +03:00
Georgii Surkov
e3c3edcc7e
Add send break support
2024-11-17 21:01:15 +00:00
Willy-JL
aee7c2c5bb
API: Move furi_hal_bt_reverse_mac_addr() out of API
2024-11-08 04:47:54 +00:00
Willy-JL
6f5ef19172
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-10-31 18:20:25 +00:00
MX
04c8093672
Merge remote-tracking branch 'OFW/dev' into dev
2024-10-31 21:17:01 +03:00
あく
561b4e947a
目覚め時計 ( #3906 )
...
* FuriHal: add RTC alarm support
* FuriHal: RTC alarm API. Alarm settings app. Alarm app.
* FuriHal: remove unnecessery init mode enters in RTC
* Update targets/f7/furi_hal/furi_hal_rtc.h
Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com >
* Update targets/f7/furi_hal/furi_hal_rtc.c
Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com >
* Update targets/f7/furi_hal/furi_hal_rtc.h
Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com >
* FuriHal: add seconds in rtc alarm getter
* Alarm & Clock: redesign and cleanup setting and alarm apps, cleanup API
* Spelling and time separator in alarm
* Api Symbols: hide rtc alarm related methods
* Clock alarm: new thread cleanup routine, hour/minute separator in alarm
* Clock: move clock_settings_start into clock_settings fam
* Seettings: update clock and alarm UI according to figma
* Format icons
---------
Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com >
2024-10-31 15:42:03 +04:00
Willy-JL
88dfe97a89
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-10-15 23:43:33 +01:00