Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

advlib

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

advlib - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

lib/ble/address/index.js
/**
* Copyright reelyActive 2015
* Copyright reelyActive 2015-2019
* We believe in an open Internet of Things

@@ -14,2 +14,4 @@ */

function process(payload) {
payload = payload.toLowerCase();
var advAString = payload.substr(10,2);

@@ -24,2 +26,2 @@ advAString += payload.substr(8,2);

module.exports.process = process;
module.exports.process = process;

@@ -289,5 +289,89 @@ var companyNames = {

"fde1": "Fortin Electronic Systems",
"fde0": "John Deere"
"fde0": "John Deere",
"fddf": "Harman International",
"fdde": "Noodle Technology Inc.",
"fddd": "Arch Systems Inc",
"fddc": "4iiii Innovations Inc.",
"fddb": "Samsung Electronics Co., Ltd.",
"fdda": "MHCS",
"fdd9": "Jiangsu Teranovo Tech Co., Ltd.",
"fdd8": "Jiangsu Teranovo Tech Co., Ltd.",
"fdd7": "Emerson",
"fdd6": "Ministry of Supply",
"fdd5": "Brompton Bicycle Ltd",
"fdd4": "LX Solutions Pty Limited",
"fdd3": "FUBA Automotive Electronics GmbH",
"fdd2": "Bose Corporation",
"fdd1": "Huawei Technologies Co., Ltd",
"fdd0": "Huawei Technologies Co., Ltd",
"fdcf": "Nalu Medical, Inc",
"fdce": "SENNHEISER electronic GmbH & Co. KG",
"fdcd": "Qingping Technology (Beijing) Co., Ltd.",
"fdcc": "Shoof Technologies",
"fdcb": "Meggitt S",
"fdca": "Fortin Electronic Systems",
"fdc9": "Busch-Jaeger Elektro GmbH",
"fdc8": "Hach - Danaher",
"fdc7": "Eli Lilly and Company",
"fdc6": "Eli Lilly and Company",
"fdc5": "Automatic Labs",
"fdc4": "Simavita (Aust) Pty Ltd",
"fdc3": "Baidu Online Network Technology (Beijing) Co., Ltd",
"fdc2": "Baidu Online Network Technology (Beijing) Co., Ltd",
"fdc1": "Hunter Douglas",
"fdc0": "Hunter Douglas",
"fdbf": "California Things Inc.",
"fdbe": "California Things Inc.",
"fdbd": "Clover Network, Inc.",
"fdbc": "Emerson",
"fdbb": "Profoto",
"fdba": "Comcast Cable Corporation",
"fdb9": "Comcast Cable Corporation",
"fdb8": "LivaNova USA Inc.",
"fdb7": "LivaNova USA Inc.",
"fdb6": "GWA Hygiene GmbH",
"fdb5": "ECSG",
"fdb4": "HP Inc",
"fdb3": "Audiodo AB",
"fdb2": "Portable Multimedia Ltd",
"fdb1": "Proxy Technologies, Inc.",
"fdb0": "Proxy Technologies, Inc.",
"fdaf": "Wiliot LTD",
"fdae": "Houwa System Design, k.k.",
"fdad": "Houwa System Design, k.k.",
"fdac": "Tentacle Sync GmbH",
"fdab": "Xiaomi Inc.",
"fdaa": "Xiaomi Inc.",
"fda9": "Rhombus Systems, Inc.",
"fda8": "PSA Peugeot Citroen",
"fda7": "WWZN Information Technology Company Limited",
"fda6": "WWZN Information Technology Company Limited",
"fda5": "Neurostim OAB, Inc.",
"fda4": "Inseego Corp.",
"fda3": "Inseego Corp.",
"fda2": "Groove X, Inc",
"fda1": "Groove X, Inc",
"fda0": "Secugen Corporation",
"fd9f": "VitalTech Affiliates LLC",
"fd9e": "The Coca-Cola Company",
"fd9d": "Gastec Corporation",
"fd9c": "Huawei Technologies Co., Ltd.",
"fd9b": "Huawei Technologies Co., Ltd.",
"fd9a": "Huawei Technologies Co., Ltd.",
"fd99": "ABB Oy",
"fd98": "Disney Worldwide Services, Inc.",
"fd97": "June Life, Inc.",
"fd96": "Google LLC",
"fd95": "Rigado",
"fd94": "Hewlett Packard Enterprise",
"fd93": "Bayerische Motoren Werke AG",
"fd92": "Qualcomm Technologies International, Ltd. (QTIL)",
"fd91": "Groove X, Inc.",
"fd90": "Guangzhou SuperSound Information Technology Co., Ltd",
"fd8f": "Matrix ComSec Pvt. Ltd.",
"fd8e": "Motorola Solutions",
"fd8d": "quip NYC Inc.",
"fd8c": "Google LLC"
};
module.exports.companyNames = companyNames;
/**
* Copyright reelyActive 2018
* Copyright reelyActive 2018-2019
* We believe in an open Internet of Things

@@ -24,2 +24,4 @@ */

function process(payload) {
payload = payload.toLowerCase();
var advertiserDataLength = payload.length;

@@ -26,0 +28,0 @@ var cursor = 0;

/**
* Copyright reelyActive 2015-2018
* Copyright reelyActive 2015-2019
* We believe in an open Internet of Things

@@ -19,2 +19,4 @@ */

function process(payload) {
payload = payload.toLowerCase();
return gap.process(payload);

@@ -21,0 +23,0 @@ }

/**
* Copyright reelyActive 2015
* Copyright reelyActive 2015-2019
* We believe in an open Internet of Things

@@ -24,2 +24,4 @@ */

function process(payload) {
payload = payload.toLowerCase();
var addressType = parseInt(payload.substr(0,1),16);

@@ -26,0 +28,0 @@ var typeCode = payload.substr(1,1);

@@ -13,3 +13,3 @@ {

],
"version": "0.1.3",
"version": "0.1.4",
"engines": {

@@ -16,0 +16,0 @@ "node": ">=0.10.0"

@@ -10,3 +10,3 @@ advlib

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.
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 and our [BLE Identifier Reference](https://reelyactive.github.io/ble-identifier-reference.html) for a friendly overview of BLE advertising.

@@ -1355,3 +1355,3 @@ ![advlib black box](https://reelyactive.github.io/advlib/web/images/advlib-blackbox.png)

Copyright (c) 2015-2018 [reelyActive](https://www.reelyactive.com)
Copyright (c) 2015-2019 [reelyActive](https://www.reelyactive.com)

@@ -1358,0 +1358,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@@ -32,3 +32,3 @@ /**

assert.notDeepEqual(advlib.process(INPUT_DATA_TOO_SHORT),
EXPECTED_DATA_VALID);
EXPECTED_DATA_VALID);
});

@@ -38,3 +38,3 @@

assert.deepEqual(advlib.process(INPUT_DATA_TOO_LONG),
EXPECTED_DATA_VALID);
EXPECTED_DATA_VALID);
});

@@ -44,10 +44,10 @@

assert.notDeepEqual(advlib.process(INPUT_DATA_NOT_HEX),
EXPECTED_DATA_VALID);
EXPECTED_DATA_VALID);
});
it('should not convert a hexadecimal address with upper case letters to JSON',
it('should convert a hexadecimal address with upper case letters to JSON',
function() {
assert.notDeepEqual(advlib.process(INPUT_DATA_UPPER_CASE_LETTERS),
EXPECTED_DATA_VALID);
assert.deepEqual(advlib.process(INPUT_DATA_UPPER_CASE_LETTERS),
EXPECTED_DATA_VALID);
});
});
});

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc