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

Forward the raw data to a port on the phone #7

Closed
sandys opened this issue Nov 14, 2013 · 4 comments
Closed

Forward the raw data to a port on the phone #7

sandys opened this issue Nov 14, 2013 · 4 comments

Comments

@sandys
Copy link

sandys commented Nov 14, 2013

hi,
There is a very good usecase for using the phone's NFC reader on the desktop by connecting it with ADB and running a portforward.

For example, on the phone you could do

echo Just testing' | nc -l -p 1112 #putting it on port 1112

on the desktop,
do a port forward "adb tcp:1111 tcp:1112"
read the data from port 1111 - nc 127.0.0.1 1111

Not only this, you could now get desktop apps to read from the forwarded port and have access to the NFC scan data.

Could you add a feature to push NFC scan raw data to a port on android - you can hardcode this.

thanks!

@nadam
Copy link
Owner

nadam commented Nov 14, 2013

Cool idea. I might add it in the future if there is someone willing to write a desktop app for the server side. Currently I'm too busy, so it's not something I would add unless I'm sure someone would use it. It's open source though so anyone can add it and send a pull request.

@ashish447
Copy link

sandys
u mean that if i scan data from nfc tag then it data pass to our localhost url
something this or another idea?

@giovannidalloglio
Copy link

So, basically, you are suggesting to transform a standard phone in a NFC reader, plugged with a workstation via network...

Seems a good idea (why should a merchant buy a NFC reader, having a standard phone? A lot of peole should love it).

BTW, I suggest:

  • don't forward the raw data, but let some logic in the phone
    • your end-user desktop application will interact with more friendly APIs
    • more desktop applications will use the phone NFC (due the easyness to use)
  • a strong authentication, registration & encryption architecture

@nadam
Copy link
Owner

nadam commented Mar 8, 2017

Closing this issue since it's not likely to be implemented. There might be other apps out there doing this already.

@nadam nadam closed this as completed Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants