node-beacon-scanner
Advanced tools
Comparing version 0.0.3 to 0.1.0
/* ------------------------------------------------------------------ | ||
* node-beacon-scanner - parser-eddystone.js | ||
* | ||
* Copyright (c) 2017, Futomi Hatano, All rights reserved. | ||
* Copyright (c) 2017-2018, Futomi Hatano, All rights reserved. | ||
* Released under the MIT license | ||
* Date: 2017-09-06 | ||
* Date: 2018-07-14 | ||
* ---------------------------------------------------------------- */ | ||
@@ -82,3 +82,3 @@ 'use strict'; | ||
} | ||
if(data.length !== 20) { | ||
if(data.length !== 20 && data.length !== 18) { | ||
return null; | ||
@@ -85,0 +85,0 @@ } |
{ | ||
"name": "node-beacon-scanner", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "The node-beacon-scanner is a Node.js module which allows you to scan BLE beacon packets and parse the packet data. This module supports iBeacon, Eddystone, and Estimote.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/scanner.js", |
@@ -404,2 +404,4 @@ node-beacon-scanner | ||
* v0.1.0 (2018-07-14) | ||
* Supported the Eddystone-UID of [Kontakt](https://kontakt.io/). The [spec of the Eddystone-UID](https://github.com/google/eddystone/tree/master/eddystone-uid) defines that the packet size is 20 bytes (the last 2 bytes are RFU). But the size of the packet form Kontakt device is 18 bytes. | ||
* v0.0.3 (2018-06-24) | ||
@@ -428,3 +430,3 @@ * Fixed a bug that an exception was thrown when an unknown packet came. | ||
Copyright (c) 2017 Futomi Hatano | ||
Copyright (c) 2017-2018 Futomi Hatano | ||
@@ -431,0 +433,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is not supported yet
42583
448