Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TNEP: Tag Device (an alternative to deprecated push/SNEP) #563

Open
kenchris opened this issue Apr 22, 2020 · 7 comments
Open

Support TNEP: Tag Device (an alternative to deprecated push/SNEP) #563

kenchris opened this issue Apr 22, 2020 · 7 comments

Comments

@kenchris
Copy link
Contributor

kenchris commented Apr 22, 2020

When SNEP (simple NDEF Exchange Protocol) was deprecated we researched how to support sending NDEF to other active devices.

The conclusion was that we could implement it using Android HCE (Host Card Emulation) a non-standard for emulating Type 4 Tags with ISO-DEP/APDU. On top of that you could implement NDEF and basically emulate a Type 4 tag with NDEF. Pretty smart, but also a bit non standard.

Now with TNEP this seems to have become a more official way. TNEP allows to create a TNEP (Tag NDEF Exchange Protocol) Tag Device, which is like an emulated tag - thus basically HCE.

It is exactly how it is accomplished on the Nordic devices, if you check the Tag Device demo, which emulates a Type 4 Tag and uses the TNEP records on top.

https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/ebd04e6d00be9b99e0e86f7af00a940f948e9b39/samples/nfc/tnep_tag/src/main.c

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fgroup__nfc__t4t__lib.html

@eklem
Copy link

eklem commented Jun 29, 2022

Would this make phone to phone possible?

@kenchris
Copy link
Contributor Author

Yes, this should work with active devices

@getify
Copy link

getify commented Oct 16, 2022

Would very much like this, for use cases as explained here.

@akbertram
Copy link

Came here looking for the peer-to-peer use case. Very interested in this for our PWA case management and survey app, which works well offline, but requires an internet connection to sync with a central server.

One use case that comes up periodically is teams working in remote areas with no network connection for extended period of time, particularly in humanitarian relief contexts. Typically one team member might register the househould, but another would conduct an assessment. With peer to peer NFC the caseworkers could exchange unsychronized drafts to build on each others drafts.

@anssiko
Copy link
Member

anssiko commented Jun 21, 2023

@getify @akbertram you may be interested in the new Local Peer-to-Peer API proposal we just submitted for consideration: WICG/proposals#103

At this stage we’re looking for support signals and use cases to prioritize this exploration appropriately to ensure it meets the needs of web developers. Your use cases discussed in this issue would be much appreciated contributions to help that proposal move forward.

@getify where can we track your latest for the zero-server sharing exploration?

cc @ibelem

@eklem
Copy link

eklem commented Jun 21, 2023

I got a couple of user stories. The small and generic one that will be part of other user stories is to transfer JSON from one phone to another, not going through online services. The bigger and more specific one is to transfer one time pads for encryption/decryption of messages. It can solve one of the big problems with one time pad encryption/decryption.

@anssiko
Copy link
Member

anssiko commented Jun 21, 2023

@eklem, those are great user stories! Please provide your support and user story input in WICG/proposals#103 directly so the rest of the web community interested in new incubations can chime in. Thanks for your contributions! We'll then integrate your input to the explainer document in its next revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants