Socket
Socket
Sign inDemoInstall

js-nfc-wifi-parser

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    js-nfc-wifi-parser

parsing library for NFC WiFi application/vnd.wfa.wsc Mimetype Tags according to WiFi Alliance


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

js-nfc-wifi-parser

parsing library for NFC WiFi application/vnd.wfa.wsc Mimetype Tags according to WiFi Alliance

The library is based on the Google Android Implementaiton according to WIFi Alliance Wi-Fi Protected Setup Specification

Usage

Simply inlude via

<script src="bower_components/js-nfc-wifi-parser/dist/nfc-wifi-parser.js"></script>

or via

var nfcWifiParser = require('js-nfc-wifi-parser');

and use with

var nfcPayload = [16, 14, 0, 62, 16, 38, 0, 1, 1, 16, 69, 0, 11, 87, 76, 65, 78, 45, 56, 50, 67, 81, 90, 54, 16, 3, 0, 2, 0, 34, 16, 15, 0, 2, 0, 12, 16, 39, 0, 16, 52, 57, 53, 54, 52, 52, 53, 54, 56, 48, 51, 57, 48, 50, 54, 51, 16, 32, 0, 6, -1, -1, -1, -1, -1, -1];

nfcWifiParser.parseBytes(nfcPayload, function (err, result) {
        console.log(result);
        done();
      })

FAQs

Last updated on 01 Dec 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc