Skip to content

Commit

Permalink
NFC: NDEF Parser SLIX support (#278)
Browse files Browse the repository at this point in the history
* Simpler protocol check

* Simplify header code

* Minor code fixes

* NFC: NDEF Parser SLIX support

* Parse success even without TLV terminator

* Also parse empty NDEF TLVs

* Add NDEF_PROTO_RAW to feed data manually

* Update changelog

* Ordering

* Comment changes

* Fix inefficiency in MAD checking
  • Loading branch information
Willy-JL authored Oct 26, 2024
1 parent 7cc71b3 commit a50ae0a
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 47 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
- NFC:
- NDEF Parser:
- Mifare Classic support (#265 by @luu176), protocol-agnostic rewrite and more improvements (#265 by @Willy-JL)
- SLIX support, parse even with TLV terminator omitted, parse empty NDEF TLVs (#277 by @Willy-JL)
- Decoding of URL-encoded URI characters (#267 by @jaylikesbunda)
- SmartPoster record support (#275 by @Willy-JL)
- Enable parsing NTAG I2C Plus 1k and 2k chips too (#237 by @RocketGod-git)
Expand Down
10 changes: 10 additions & 0 deletions applications/main/nfc/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,16 @@ App(
sources=["plugins/supported_cards/ndef.c"],
)

App(
appid="ndef_slix_parser",
apptype=FlipperAppType.PLUGIN,
cdefines=[("NDEF_PROTO", "NDEF_PROTO_SLIX")],
entry_point="ndef_plugin_ep",
targets=["f7"],
requires=["nfc"],
sources=["plugins/supported_cards/ndef.c"],
)

App(
appid="itso_parser",
apptype=FlipperAppType.PLUGIN,
Expand Down
Loading

0 comments on commit a50ae0a

Please sign in to comment.