Comparing version 0.0.28 to 0.0.29
/** | ||
* Copyright reelyActive 2015 | ||
* Copyright reelyActive 2015-2017 | ||
* We believe in an open Internet of Things | ||
@@ -8,3 +8,2 @@ */ | ||
var identifier = require('./common/util/identifier.js'); | ||
var address = require('./address/index.js'); | ||
@@ -15,2 +14,3 @@ var header = require('./header/index.js'); | ||
/** | ||
@@ -24,2 +24,4 @@ * Process a raw Bluetooth Low Energy radio payload into semantically | ||
function process(payload) { | ||
payload = payload.toLowerCase(); | ||
var advA48 = address.process(payload.substr(4,12)); | ||
@@ -31,2 +33,3 @@ advA48.advHeader = header.process(payload.substr(0,4)); | ||
module.exports.process = process; | ||
@@ -33,0 +36,0 @@ module.exports.header = header; |
/** | ||
* Copyright reelyActive 2015-2017 | ||
* We believe in an open Internet of Things | ||
*/ | ||
var identifier = require('./common/util/identifier.js'); | ||
var data = require('./data/index.js'); | ||
var flags = require('./flags/index.js'); | ||
/** | ||
* Process a raw reelyActive radio payload into semantically meaningful | ||
@@ -7,7 +18,5 @@ * information. | ||
*/ | ||
var identifier = require('./common/util/identifier.js'); | ||
var data = require('./data/index.js'); | ||
var flags = require('./flags/index.js'); | ||
function process(payload) { | ||
payload = payload.toLowerCase(); | ||
function process(payload) { | ||
var ra28 = new identifier(identifier.RA28, payload.substr(0, 7)); | ||
@@ -22,2 +31,3 @@ var eui64 = ra28.toType(identifier.EUI64); | ||
module.exports.process = process; | ||
module.exports.process = process; |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"engines": { | ||
@@ -16,0 +16,0 @@ "node": ">=0.10.0" |
@@ -5,8 +5,8 @@ advlib | ||
Library for wireless advertising packet decoding. Currently supports the following protocols: | ||
* [Bluetooth Smart (BLE)](#bluetooth-smart-ble-advertising-packet-library) | ||
* [Bluetooth Low Energy (BLE)](#bluetooth-smart-ble-advertising-packet-library) | ||
* [reelyActive RFID](#reelyactive-rfid-library) | ||
For a live, interactive version of advlib visit [reelyactive.github.io/advlib](http://reelyactive.github.io/advlib/). | ||
For a live, interactive version of advlib visit [reelyactive.github.io/advlib](https://reelyactive.github.io/advlib/). | ||
This project was published in a scientific paper entitled [Low-Power Wireless Advertising Software Library for Distributed M2M and Contextual IoT](http://reelyactive.com/science/reelyActive-IoT2015.pdf) presented at the [2nd IEEE World Forum on Internet of Things (WF-IoT)](http://wfiot2015.ieee-wf-iot.org/) in Milan, Italy on December 16th, 2015. | ||
This project was published in a scientific paper entitled [Low-Power Wireless Advertising Software Library for Distributed M2M and Contextual IoT](https://reelyactive.com/science/reelyActive-IoT2015.pdf) presented at the [2nd IEEE World Forum on Internet of Things (WF-IoT)](http://wfiot2015.ieee-wf-iot.org/) in Milan, Italy on December 16th, 2015. See also our presentation [BLE as Active RFID](https://www.slideshare.net/reelyActive/ble-as-active-rfid) from IEEE RFID 2017 for a friendly overview of BLE advertising. | ||
@@ -52,4 +52,4 @@ ![advlib black box](https://reelyactive.github.io/advlib/web/images/advlib-blackbox.png) | ||
Bluetooth Smart (BLE) Advertising Packet Library | ||
------------------------------------------------ | ||
Bluetooth Low Energy (BLE) Advertising Packet Library | ||
----------------------------------------------------- | ||
@@ -1277,3 +1277,3 @@ Process a raw packet (as a hexadecimal string) with the following command: | ||
This is an active work in progress. Expect regular changes and updates, as well as improved documentation! If you'd like to contribute, kindly read our [Node.js style guide](https://github.com/reelyactive/node-style-guide) and [contact us](http://www.reelyactive.com/contact/) or make a pull request. | ||
This is an active work in progress. Expect regular changes and updates, as well as improved documentation! If you'd like to contribute, kindly read our [Node.js style guide](https://github.com/reelyactive/node-style-guide) and [contact us](https://www.reelyactive.com/contact/) or make a pull request. | ||
@@ -1280,0 +1280,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
286917
5850