Skip to content

Make a NFC proxy #9

@Benjamin-Loison

Description

@Benjamin-Loison

Note that Xiaomi Mi A3 does not support NFC, while Samsung Galaxy A53 supports it, it does not allow Termux install (from UI with universal APK, as the Play Store does not propose Termux on this Android version, what about adb?).

We can install Termux on A53:

adb install termux-app_v0.118.0+github-debug_universal.apk
Output:
Performing Streamed Install
Success

termux-nfc only seems to act as tag reader/writer but not the tag itself.

I tried playing termux-nfc -r full (also short but unsure) with my Navigo Easy and credit cards and another NFC enabled phone (what other NFC devices do I have? See below for at least some) without meaningful results except vibrating which is already the case without Termux when the tag is near the phone. I also tried termux-nfc -w -t test (cf Benjamin-Loison/termux-api-package#5) on one phone and termux-nfc -r full (also short but unsure) without any result except the usual vibrations.

Get for both white card and blue tag (Rc522):

image

Source: https://seputartekniinformatika.blogspot.com/2016/10/tutorial-rfid-reader-mifare-rc522.html

termux-nfc -r full
Output:
{
  "error": "Wrong Technology",
  "description": "termux API support only NFEF Tag"
}

"termux-nfc" on DuckDuckGo and Google interesting results were studied or written below:

Related to Benjamin_Loison/fdroidclient#3.

Could also consider identity card (related to Benjamin_Loison/franceidentite/issues/7), accommodation badge, school card, hotel badge and ski pass. Are all RFID NFC compatible? More details about the ski pass can be found at Improve_websites_thanks_to_open_source/issues/558. Can leverage pools of such badges? For instance Navigo yearly pass could be interesting, as can use the public transport normally and only if get caught have to pay a fine but can it be paid without consent to Navigo owner or can the Navigo card be disabled for this reason?

Sans titre de transport : 50 €

Source: https://www.transilien.com/fr/page-deplacements/voyager-en-regle

+432

Feature description

Reference implementation

Have you checked if the feature is accessible through the Android API?
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions