Commit Graph

13619 Commits

Author SHA1 Message Date
Willy-JL
56332919de Format 2024-10-25 03:32:34 +01:00
Willy-JL
907a8403ae Update apps
- TOTP: Added polyfill for cli/cli_ansi.h (by akopachov)
2024-10-25 03:28:14 +01:00
WillyJL
e1fdc5e984 NFC: NDEF SmartPoster support (#275)
* NFC: NDEF SmartPoster support

* Consistent naming

* Nicer result output

* Update changelog
2024-10-25 04:20:53 +02:00
Luu
8174ffa5b3 NFC: NDEF parser Mifare Classic support, protocol-agnostic refactor and more improvements (#265)
* Update ndef.c

included mifare classic support

* Update application.fam

* Update ndef.c

* Update ndef.c

* Update ndef.c

* Update ndef.c

* Update ndef.c for better parsing

Because mifare classic 1k has a sector trailer, the ndef parser might conflict with it if the payload is long enough or if there's too many payloads. This code removes all sector trailer in a new buffer and uses that for parsing without any problems.

* Rewrite NDEF as protocol agnostic

* Move type name buffer to stack when possible

* Parse URI without heap buffer

* Reduce binary sizes by using preprocessor defines

* Parse MFC without clone buffer and support MAD2

* Keep message count between different TLVs

* Simplify macro check

* Simplify length conversion

* Improve output of unparsed types

* Add some more logging

* Fix WiFi parsing

* Check MAD key before reading

* Rename ndef_read() to ndef_get()

* Update changelog

* Wording

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-24 07:55:47 +02:00
Willy-JL
1d65d3171e Merge remote-tracking branch 'xero/dev' into mntm-dev 2024-10-24 06:45:16 +01:00
noproto
68438e2c5b Merge remote-tracking branch 'pr3822/nestednonces' into dev 2024-10-23 04:01:42 -04:00
Derek Jamison
6b9ae090f8 JavaScript: SPI implementation (#272)
* JavaScript: SPI implementation

* Fix build

* Add typedefs

* Port example script to newJS

* Push new manifest to bottom

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-23 00:33:34 +02:00
Willy-JL
218d6adbc0 Merge remote-tracking branch 'ul/dev' into mntm-dev 2024-10-22 23:21:30 +01:00
MX
cf0a6ae2d0 Merge remote-tracking branch noproto-nestednonces into dev 2024-10-22 17:10:08 +03:00
Nathan N
47637621a7 Merge branch 'dev' into nestednonces 2024-10-22 09:52:25 -04:00
noproto
92aa70ba9d Larger data type for 4K support 2024-10-22 09:54:46 -04:00
Willy-JL
7644e39614 Update changelog --nobuild 2024-10-22 04:29:09 +01:00
Willy-JL
b60a420d32 Update apps
- Seader: Fix crash scanning NTAG215 with MFC option (by bettse)
- Solitaire: Fix memory leak (by doofy-dev)
2024-10-22 04:22:06 +01:00
Willy-JL
ccc4c682e8 Update changelog 2024-10-22 03:39:06 +01:00
Willy-JL
ffd1ceaab4 Merge remote-tracking branch 'ul/dev' into mntm-dev 2024-10-22 03:37:49 +01:00
Willy-JL
0afbbf2e61 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-10-22 03:33:47 +01:00
Willy-JL
bbb85a4df9 JS: Third batch of OFW PR changes 2024-10-22 02:38:21 +01:00
MX
3374ed1dad upd changelog 2024-10-22 03:49:34 +03:00
MX
b0e591601c upd ndef parser
by jaylikesbunda and Willy-JL
2024-10-22 02:37:04 +03:00
MX
fc16978be5 Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2024-10-22 02:28:24 +03:00
Zinong Li
f8fa71c575 NFC TRT Parser: Additional checks to prevent false positives (#3966)
* additional checks to prevent false positives
* Update trt.c

Co-authored-by: あく <alleteam@gmail.com>
2024-10-20 16:58:33 +01:00
Ruslan Nadyrshin
1822221c69 Minor change in the dev docs (#3962)
- The main page title of the Dev docs has been changed

Co-authored-by: あく <alleteam@gmail.com>
2024-10-20 16:40:20 +01:00
Kris Bahnsen
ea2757908b lib: digital_signal: digital_sequence: add furi_hal.h wrapped in ifdefs (#3964)
Per the comment at the top of the file, defining DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN
to be a GpioPin variable name should allow additional debug output on
that pin. However, this would not work without modifying the file as
well to add the furi_hal.h header. Wrap including that header in the
same macro define to automatically include it when used.

Fixes: d92b0a82cc ("NFC refactoring (#3050)")

Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2024-10-20 16:31:40 +01:00
MX
75625ffd5e merge mjs 2024-10-20 16:02:15 +03:00
MX
48acd9f075 merge examples 2024-10-20 16:01:21 +03:00
MX
8c960a990c merge js upds
by jamisonderek & Willy-JL
2024-10-20 16:00:10 +03:00
jay candel
7ebbadfbf8 NFC: Improve URI decoding in NDEF parser (#267)
* add decode_char

* Skip double malloc(), can just tell printf() how long the string is

* Decode URI within the same buffer

* Only decode if next 2 chars are valid hex

* Update changelog

* Clearer code for hex decode

Co-authored-by: jaylikesbunda <jaylikesbunda@users.noreply.github.com>

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
Co-authored-by: jaylikesbunda <jaylikesbunda@users.noreply.github.com>
2024-10-20 07:28:10 +02:00
jay candel
3e17d6588a IR: Update universal bluray remote (#264)
* update universal bluray remote

* Add files via upload

* 2 new of each button

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-20 07:27:48 +02:00
Aholicknight
815211fc54 Update ReadMe.md (#263)
* Update ReadMe.md

Add additional protocol information

* Fix typo

---------

Co-authored-by: WillyJL <49810075+Willy-JL@users.noreply.github.com>
2024-10-20 07:27:26 +02:00
m7i-org
7e09f4b774 Sub-GHz: Added Vauno-EN8822 weather station (#262)
* feat(subghz): Added Vauno-EN8822 weather station

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-20 07:27:03 +02:00
Derek Jamison
e682b6b19e JavaScript: Add I2C support (#259)
* JavaScript: Add I2C support

* Format

* Check input bytes, allow arraybuf write input

* Add comment

* Return arraybuf, remove unnecessary malloc and memset

* More meaningful var names for code readability, fix some bugs

* Remove unnecessary state

* Fix build

* Update changelog

* Add typedefs

* toString() updates in example script

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-20 07:24:44 +02:00
Willy-JL
abd3add64e Suppress plugin warn for NFC plugin symbols --nobuild 2024-10-20 05:42:44 +01:00
MX
2441643ac6 subghz monarch add manually 2024-10-19 15:40:35 +03:00
MX
8cdb5619f5 keeloq add key 2024-10-19 15:19:57 +03:00
MX
0b7f174162 fix icon 2024-10-19 12:33:57 +03:00
Willy-JL
2e3c6d32cf Sync apps and hopefully wake github up
PR 270 merged, but no github actions ran?
2024-10-19 02:09:24 +01:00
WillyJL
9e3a9079ee Merge pull request #270 from Next-Flip/js-backport-of-backport
* Xero initial commit

* Xero initial commit

* Update README.md with feature goals

* Add MFKey to firmware

* Update ReadMe.md

* remove serial check ui in gangqi [ci skip]

* Furi: A Lot of Fixes (#3942)

- BT Service: cleanup code
- Dialog: correct release order in file browser
- Rpc: rollback to pre #3881 state
- Kernel: fix inverted behavior in furi_kernel_is_running
- Log: properly take mutex when kernel is not running
- Thread: rework tread control block scrubbing procedure, ensure that we don't do stupid things in idle task, add new priority for init task
- Timer: add control queue flush method, force flush on stop
- Furi: system init task now performs thread scrubbing
- BleGlue: add some extra checks
- FreeRTOSConfig: fix bunch of issues that were preventing configuration from being properly applied and cleanup

* Wi-Fi Devboard documentation rework (#3944)

* New step-by-step documentation structure for Wi-Fi Devboard
* Added a description of working under Windows
* Added a description of switching Devboard operation mode (Black Magic, DAPLink)
* The images for the documentation are uploaded to the CDN
* The text in the sidebar, near the dolphin logo, changed from blue to black/white

Co-authored-by: knrn64 <25254561+knrn64@users.noreply.github.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>

* Fixes Mouse Clicker Should have a "0" value setting for "as fast as possible" #3876 (#3894)

* fixes mouse clicking rate
* Hid: limit max clicks to 100/s, rewrite code to make it more robust

Co-authored-by: あく <alleteam@gmail.com>

* [FL-3909] CLI improvements, part I (#3928)

* fix: cli top blinking
* feat: clear prompt on down key
* feat: proper-er ansi escape sequence handling
* ci: fix compact build error
* Make PVS happy
* style: remove magic numbers
* style: review suggestions

Co-authored-by: あく <alleteam@gmail.com>

* Rename #2

* Api adjustements

* NFC: iso14443_4a improvements. Canvas: extended icon draw. (#3918)

* Now 4a listener invokes upper level callback on Halt and FieldOff
* Added new method for drawing mirrored XBM bitmaps
* iso14443_4a poller logic enhanced
* Function renamed accroding to review suggestions
* Rename #2
* Api adjustements
* Correct API bump

Co-authored-by: あく <alleteam@gmail.com>

* heap: increased size (#3924)

* reduced reserved memory size for system stack; added temporary markup to monitor usage
* fbt: relink elf file on linker script change; removed debug memory fill
* Make PVS Happy
* Make doxygen happy

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>

* [FL-3893] JS modules (#3841)

* feat: backport js_gpio from unleashed
* feat: backport js_keyboard, TextInputModel::minimum_length from unleashed
* fix: api version inconsistency
* style: js_gpio
* build: fix submodule ._ .
* refactor: js_gpio
* docs: type declarations for gpio
* feat: gpio interrupts
* fix: js_gpio freeing, resetting and minor stylistic changes
* style: js_gpio
* style: mlib array, fixme's
* feat: js_gpio adc
* feat: js_event_loop
* docs: js_event_loop
* feat: js_event_loop subscription cancellation
* feat: js_event_loop + js_gpio integration
* fix: js_event_loop memory leak
* feat: stop event loop on back button
* test: js: basic, math, event_loop
* feat: js_event_loop queue
* feat: js linkage to previously loaded plugins
* build: fix ci errors
* feat: js module ordered teardown
* feat: js_gui_defer_free
* feat: basic hourglass view
* style: JS ASS (Argument Schema for Scripts)
* fix: js_event_loop mem leaks and lifetime problems
* fix: crashing test and pvs false positives
* feat: mjs custom obj destructors, gui submenu view
* refactor: yank js_gui_defer_free (yuck)
* refactor: maybe_unsubscribe
* empty_screen, docs, typing fix-ups
* docs: navigation event & demo
* feat: submenu setHeader
* feat: text_input
* feat: text_box
* docs: text_box availability
* ci: silence irrelevant pvs low priority warning
* style: use furistring
* style: _get_at -> _safe_get
* fix: built-in module name assignment
* feat: js_dialog; refactor, optimize: js_gui
* docs: js_gui
* ci: silence pvs warning: Memory allocation is infallible
* style: fix storage spelling
* feat: foreign pointer signature checks
* feat: js_storage
* docs: js_storage
* fix: my unit test was breaking other tests ;_;
* ci: fix ci?
* Make doxygen happy
* docs: flipper, math, notification, global
* style: review suggestions
* style: review fixups
* fix: badusb demo script
* docs: badusb
* ci: add nofl
* ci: make linter happy
* Bump api version

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>

* NFC: H World Hotel Chain Room Key Parser (#3946)

* quick and easy implementation
* delete debug artifacts
* log level correction (warning -> info)

* Merge remote-tracking branch 'OFW/dev' into dev

* after merge fix p1

* merge p2

* merge p3

* Small JS fixes (#3950)

* [FL-3914] BackUSB (#3951)

* Revert "[FL-3896] Split BadUSB into BadUSB and BadBLE (#3931)"
  This reverts commit 0eaad8bf64.
* Better USB-BLE switch UX
* Format sources
* Format images

Co-authored-by: あく <alleteam@gmail.com>

* New Static Keys for Mifare Classic Dictionary (#3947)

Co-authored-by: あく <alleteam@gmail.com>

* [BadUSB] Improve ChromeOS and GNOME demo scripts (#3948)

* [BadUSB] Gnome Demo: Support most terminals and force sh shell when not using Bash as default
* [BadUSB] ChromeOS Demo: Minor improvements, such as exit overview, select omnibox and add a page title

Signed-off-by: Kowalski Dragon (kowalski7cc) <5065094+kowalski7cc@users.noreply.github.com>
Co-authored-by: Kowalski Dragon (kowalski7cc) <5065094+kowalski7cc@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>

* Remove out of date screenshot

* implement byte input, add missing args in text input

TODO: add missing filebrowser dialog

* move examples

* badusb js paritally fix

* add new nfc key [ci skip]

* Read Ultralight block by block

* JS: Merge fixes

* JS: camelCase changes

* Update changelog, JS changes still missing

* JS: Docs and types for additions on top of OFW modules

* JS: Port byte input example (WIP, has some bugs in C code, JS is fine)

* fix zero issues in princeton

* merge missing js backports of backports by Willy-JL

p1

* JS: Update storage example

* JS: Disclaimer about documentation

* JS: Types for chr(), .indexOf(), .slice()

* JS: More fixes

* merge examples fixes [ci skip]

by Willy-JL
p2

* more js stuff

https://github.com/Next-Flip/Momentum-Firmware/commits/js-backport-of-backport/

* JS: Fix load.js example path

* JS: Byte/Text Input fixes, gui example improvements

* JS: Expose currentView in gui.viewDispatcher

* JS: Update interactive.js REPL example

* JS: Add byte input example image for docs

* JS: Fix toString() with negative numbers

* Small fixes in the wifi devboard docs (#3953)

* Small fixes in the wifi devboard docs

- Several broken numbered lists fixed
- Added a skipped link to the uFBT
- The Devboard naming fixed

* JS: Silence plugin functions warning

* merge js upds 1

* merge js 2

* [FL-3916] Require PIN on boot (#3952)

Co-authored-by: hedger <hedger@users.noreply.github.com>

* upd changelog

* NFC Parser for Tianjin Railway Transit (#3954)

* fix cli breaking web flipper lab, remove color tags

* upd changelog

* JS: Backport virtualMount storage API

* JS: Backport file picker as new module

* Workflows: Upload more build artifacts

* Fixed bug with UL reading

* upd changelog

* Add warning about stealth mode in vibro CLI (#3957)

* JS: Add way to check if view has prop

* JS: Add numpad keys to badusb typedefs

* Revert "[FL-3909] CLI improvements, part I (#3928)" (#3955)

This reverts commit 0f831412fa.

Co-authored-by: あく <alleteam@gmail.com>

* JS: Improve REPL script

* JS: Custom scope param in load() typedef

* Update API versions for OFW RC

* JS: Sync small differences from OFW PR

* Fix multiple crashes and state machine logic

* Update changelog (not final)

* JS: C define to move JS runner to flash (still external for now)

* JS: First batch of OFW PR review changes

* Update apps

- Seader: Show error for timeout, fix wrong LRC logging (by bettse)

* Fix inconsistent assignment of known key and known key type/sector

* Revert api bump

* Backdoor known key logic still needs the current key

* JS: Second batch of OFW PR changes

* IR: Basic script to remove dupes

had this lying around from last week PRs and could come useful again,
code is meh but works

* Fix changelog

---------

Signed-off-by: Kowalski Dragon (kowalski7cc) <5065094+kowalski7cc@users.noreply.github.com>
Co-authored-by: noproto <noproto@zeroday.engineering>
Co-authored-by: Nathan N <noproto@users.noreply.github.com>
Co-authored-by: MX <10697207+xMasterX@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Ruslan Nadyrshin <110516632+rnadyrshin@users.noreply.github.com>
Co-authored-by: knrn64 <25254561+knrn64@users.noreply.github.com>
Co-authored-by: SUMUKH <130692934+sumukhj1219@users.noreply.github.com>
Co-authored-by: porta <portasynthinca3@gmail.com>
Co-authored-by: RebornedBrain <RebornedBrain@gmail.com>
Co-authored-by: RebornedBrain <138568282+RebornedBrain@users.noreply.github.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: Zinong Li <131403964+zinongli@users.noreply.github.com>
Co-authored-by: Astra <93453568+Astrrra@users.noreply.github.com>
Co-authored-by: Kowalski Dragon <kowalski7cc@users.noreply.github.com>
Co-authored-by: Kowalski Dragon (kowalski7cc) <5065094+kowalski7cc@users.noreply.github.com>
Co-authored-by: Mykhailo Shevchuk <myte@ukr.net>
Co-authored-by: Ivan Barsukov <ivan.barsukow@gmail.com>
2024-10-19 01:55:03 +01:00
Willy-JL
b171470536 Fix changelog 2024-10-19 01:43:45 +01:00
Willy-JL
9865a9367f IR: Basic script to remove dupes
had this lying around from last week PRs and could come useful again,
code is meh but works
2024-10-19 01:43:45 +01:00
Willy-JL
060a92fefb Merge remote-tracking branch 'xero/dev' into js-backport-of-backport
# Conflicts:
#	applications/system/application.fam
2024-10-19 01:18:08 +01:00
Willy-JL
bb6c015235 JS: Second batch of OFW PR changes 2024-10-19 01:17:22 +01:00
MX
8ed1dc2289 merge p3 2024-10-18 20:23:05 +03:00
MX
fe3228b63e merge p2 2024-10-18 20:22:21 +03:00
MX
bc73b13b1b merge js stuff
https://github.com/Next-Flip/Momentum-Firmware/commits/js-backport-of-backport/
2024-10-18 20:21:09 +03:00
MX
3ba530555d Merge remote-tracking branch 'noproto/nestednonces' into dev 2024-10-18 14:30:43 +03:00
MX
37f76374a2 Merge remote-tracking branch 'OFW/dev' into dev 2024-10-18 14:30:37 +03:00
noproto
1f6f39c514 Merge remote-tracking branch 'pr3822/nestednonces' into dev 2024-10-18 02:13:52 -04:00
noproto
db26c85b23 Backdoor known key logic still needs the current key 2024-10-18 00:46:24 -04:00
Willy-JL
2353871ab7 Merge branch 'ofw-pr-3822' into js-backport-of-backport 2024-10-18 05:45:43 +01:00
Willy-JL
fd331b1d3c Revert api bump 2024-10-18 05:37:35 +01:00