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

Added examples on how to write or read NDEF messages using nfccard-tool #31

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated package name
  • Loading branch information
somq committed Jan 8, 2018
commit 301d98eaf0ba09d4d07dfe2371d1c23b3d6849fb
4 changes: 2 additions & 2 deletions examples/ndef.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ nfc.on('reader', reader => {
*/
const message = [
{ type: 'text', text: 'I\'m a text message', language: 'en' },
{ type: 'uri', uri: 'https://github.com/somq' },
{ type: 'aar', packageName: 'https://github.com/somq' },
{ type: 'uri', uri: 'https://github.com/somq/nfccard-tool' },
{ type: 'aar', packageName: 'com.github.nfccardtool' },
]

// Prepare the buffer to write on the card
Expand Down