Commit Graph

144 Commits

Author SHA1 Message Date
Willy-JL 118e745368 NFC: Refactor common NXP Native command handling 2025-03-22 11:36:34 +00:00
Willy-JL 1f8cfcc669 NFC: Detect NTAG4xx in Type 4 Tag poller 2025-03-22 09:38:43 +00:00
Willy-JL 49127b199b Check HWMajorVersion like NXP commands \o/
See: https://www.nxp.com/docs/en/application-note/AN10833.pdf
2025-03-22 09:30:26 +00:00
Willy-JL 11af323f4f Small cleanup 2025-03-22 09:25:12 +00:00
Willy-JL ff340ea256 NFC: Implement basic NTAG4xx detection 2025-03-22 09:17:54 +00:00
Willy-JL f01972ea71 NFC: Support creating CC and NDEF files on DESFire 2025-03-20 07:21:36 +00:00
Willy-JL c4f220625c Fix some edge cases with max NDEF size 2025-03-20 07:19:54 +00:00
Willy-JL e2b7cd2d2c Simplify return here 2025-03-20 05:01:50 +00:00
Willy-JL 3c977b7468 Static define T4T DESFire app ids 2025-03-20 04:24:53 +00:00
Willy-JL 3cffc69cb5 Fix some message strings 2025-03-20 04:23:33 +00:00
Willy-JL da36d40bd7 NFC: T4T interact with DESFire without state reset 2025-03-20 04:11:11 +00:00
Willy-JL cc789115dd NFC: Implement DESFire ISO 7816 command wrapping 2025-03-20 04:10:19 +00:00
Willy-JL 19ee0f4598 Rename mf_desfire_send_chunks() to mf_desfire_poller_send_chunks() 2025-03-20 02:50:17 +00:00
Willy-JL f7198c6105 NFC: Support creating NDEF AID on DESFire 2025-03-19 06:57:05 +00:00
Willy-JL 27c977b7c2 Fix writing with platform detect 2025-03-19 06:05:19 +00:00
Willy-JL 121ce315c1 NFC: Detect Type 4 Tag platform (eg DESFire) 2025-03-18 06:28:04 +00:00
Willy-JL 0af703d5ee NFC: Implement Type 4 Tag writing to initialized tags 2025-03-18 03:56:38 +00:00
Willy-JL 106d72a332 Better handling of read/write failure 2025-03-18 03:46:00 +00:00
Willy-JL b1346bc9bb Make APDU arrays static 2025-03-18 03:03:31 +00:00
Willy-JL ca30673238 Improve ISO SELECT naming and handling 2025-03-18 03:01:34 +00:00
Willy-JL b503020f6d NFC: Implement Type 4 Tag writing biolerplate and structure 2025-03-17 06:46:13 +00:00
Willy-JL 0df5a66b19 Keep prev selection when new selection fails 2025-03-17 06:17:25 +00:00
Willy-JL 22a6c37e20 Refactor ISO APDUs in T4T poller 2025-03-17 06:16:31 +00:00
Willy-JL 967eb06082 NFC: Handle writes to Type 4 Tag while emulating 2025-03-15 05:49:44 +00:00
Willy-JL 7689efa129 Use flags for ISO14443-4 layer decode result 2025-03-15 05:42:57 +00:00
Willy-JL 384f365cff Refactor CC parsing and dumping 2025-03-15 03:08:24 +00:00
Willy-JL b05a735e8f Allow selecting PICC level too 2025-03-15 03:05:20 +00:00
Willy-JL 799ed9fcaf Fix emulate after save 2025-03-15 02:01:51 +00:00
Willy-JL 084774d9d7 Fix ISO READ BINARY params definitions 2025-03-15 02:00:40 +00:00
Willy-JL 01b113f508 Fix chunk sizes 2025-03-14 23:00:59 +00:00
Willy-JL e64292d478 NFC: Initial ISO14443-4 PCB listener handling 2025-03-11 08:58:57 +00:00
Willy-JL 99b2762cd9 Fix sending error responses 2025-03-11 03:43:33 +00:00
Willy-JL 2e77e878de Support larger NDEF messages 2025-03-10 11:01:46 +00:00
Willy-JL d174fa9505 NFC: Implement Type 4 Tag rudimentary emulation 2025-03-10 11:00:15 +00:00
Willy-JL fbc176eb84 NFC: Rudimentary iso14443_4a_listener_send_block() (no PCB handling) (OFW issue 4059) 2025-03-10 09:13:31 +00:00
Willy-JL b0690de06a NFC: Expose iso14443_3a_listener functions (OFW issue 4059) 2025-03-10 09:05:05 +00:00
Willy-JL 4dce8790cc Cleanup includes 2025-03-10 04:15:14 +00:00
Willy-JL 385e8b3b1c Add more specific error types 2025-03-10 02:57:01 +00:00
Willy-JL 730f1b6ecf Fix event struct passed to callbacks 2025-03-10 02:23:06 +00:00
Willy-JL f760d97e62 Sort and add missing protocol mentions 2025-03-09 06:10:36 +00:00
Willy-JL 0beee0c6a7 Fix reading NLEN header in NDEF message 2025-03-06 02:52:02 +00:00
Willy-JL aa38025977 NFC: Implement Type 4 Tag saving 2025-03-06 02:21:47 +00:00
Willy-JL d5161f0806 Fix reading empty NDEF message 2025-03-06 01:40:46 +00:00
Willy-JL 358631ec86 NFC: Implement Type 4 Tag reading 2025-03-05 08:10:03 +00:00
Zinong Li 145184f0f2 NFC: FeliCa Protocol Expose Read Block API and Allow Specifying Service (#4074)
* add one parameter to the rdbl and expose
* Bump api version and format sources

Co-authored-by: あく <alleteam@gmail.com>
2025-02-25 06:07:45 +09:00
Demae 429c0dd387 Added naming for DESFire cards + fix MF3ICD40 cards unable to be read (#4058)
* Fixed MF3ICD40 DESFire cards soft-locking NFC application due to read free memory being an unsupported function, added naming for DESFire cards
* NFC: slightly more granular desfire card type resolution

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:49:53 +09:00
Yukai Li 59fe896ce8 nfc: Enable MFUL sync poller to be provided with passwords (#4050)
* nfc: Enable MFUL sync poller to be provided with passwords
* Sync targret api versions

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:31:56 +09:00
RebornedBrain de85cc7a8e ST25TB poller mode check (#4084)
Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:07:03 +09:00
Yukai Li a0d1d3fa0f nfc: Fix MIFARE Plus detection (#4049)
* nfc: Fix MIFARE Plus detection
  MIFARE Plus original doesn't have GetVersion support, so detection for SL2 has been moved. Also, SL2 only exists in MIFARE Plus X, so despite it not being specified in the type identification procedure chart, it's safe to call it for what it is.
* Fix spelling
* TODO: mark as non flipper one

Co-authored-by: あく <alleteam@gmail.com>
2025-01-13 03:15:52 +09:00
Yukai Li 668500e985 nfc: Fix MFUL PWD_AUTH command creation (#4051) 2025-01-10 17:20:34 +09:00