Comparing version 0.0.29 to 0.0.30
@@ -1379,2 +1379,36 @@ var companyNames = { | ||
"0561": "Finder S.p.A.", | ||
"0562": "Thalmic Labs Inc.", | ||
"0563": "Steinel Vertrieb GmbH", | ||
"0564": "Beghelli Spa", | ||
"0565": "Beijing Smartspace Technologies Inc.", | ||
"0566": "CORE TRANSPORT TECHNOLOGIES NZ LIMITED", | ||
"0567": "Xiamen Everesports Goods Co., Ltd", | ||
"0568": "Bodyport Inc.", | ||
"0569": "Audionics System, INC.", | ||
"056a": "Flipnavi Co.,Ltd.", | ||
"056b": "Rion Co., Ltd.", | ||
"056c": "Long Range Systems, LLC", | ||
"056d": "Redmond Industrial Group LLC", | ||
"056e": "VIZPIN INC.", | ||
"056f": "BikeFinder AS", | ||
"0570": "Consumer Sleep Solutions LLC", | ||
"0571": "PSIKICK, INC.", | ||
"0572": "AntTail.com", | ||
"0573": "Lighting Science Group Corp.", | ||
"0574": "AFFORDABLE ELECTRONICS INC", | ||
"0575": "Integral Memroy Plc", | ||
"0576": "Globalstar, Inc.", | ||
"0577": "True Wearables, Inc.", | ||
"0578": "Wellington Drive Technologies Ltd", | ||
"0579": "Ensemble Tech Private Limited", | ||
"057a": "OMNI Remotes", | ||
"057b": "Duracell U.S. Operations Inc.", | ||
"057c": "Toor Technologies LLC", | ||
"057d": "Instinct Performance", | ||
"057e": "Beco, Inc", | ||
"057f": "Scuf Gaming International, LLC", | ||
"0580": "ARANZ Medical Limited", | ||
"0581": "LYS TECHNOLOGIES LTD", | ||
"0582": "Breakwall Analytics, LLC", | ||
"0583": "Code Blue Communications", | ||
"ffff": "(Reserved) Default Vendor ID" | ||
@@ -1381,0 +1415,0 @@ }; |
@@ -249,5 +249,11 @@ var companyNames = { | ||
"fe09": "Pillsy, Inc.", | ||
"fe08": "Microsoft" | ||
"fe08": "Microsoft", | ||
"fe07": "Sonos Inc.", | ||
"fe06": "Qualcomm Technologies, Inc.", | ||
"fe05": "CORE Transport Technologies NZ Limited", | ||
"fe04": "OpenPath Security Inc", | ||
"fe03": "Amazon Fulfillment Services, Inc", | ||
"fe02": "Robert Bosch GmbH" | ||
}; | ||
module.exports.companyNames = companyNames; |
@@ -7,2 +7,3 @@ /** | ||
var apple = require('./apple/index.js'); | ||
var codebluecommunications = require('./codebluecommunications/index.js'); | ||
var estimote = require('./estimote/index.js'); | ||
@@ -14,2 +15,3 @@ var motsai = require('./motsai/index.js'); | ||
module.exports.apple = apple; | ||
module.exports.codebluecommunications = codebluecommunications; | ||
module.exports.estimote = estimote; | ||
@@ -16,0 +18,0 @@ module.exports.motsai = motsai; |
@@ -10,2 +10,4 @@ /** | ||
var apple = require('../../common/manufacturers/apple/index.js'); | ||
var codebluecommunications = | ||
require('../../common/manufacturers/codebluecommunications/index.js'); | ||
var estimote = require('../../common/manufacturers/estimote/index.js'); | ||
@@ -61,2 +63,5 @@ var motsai = require('../../common/manufacturers/motsai/index.js'); | ||
break; | ||
case '0583': | ||
codebluecommunications.process(advertiserData); | ||
break; | ||
default: | ||
@@ -63,0 +68,0 @@ } |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"engines": { | ||
@@ -16,0 +16,0 @@ "node": ">=0.10.0" |
@@ -35,2 +35,3 @@ /** | ||
var INPUT_DATA_MOTSAI = '09ff7402000015000040'; | ||
var INPUT_DATA_NORBLE = '11ff830501cc1234567881f87faabbccdd17'; | ||
@@ -124,2 +125,13 @@ // Expected outputs for the scenario | ||
}; | ||
var EXPECTED_DATA_NORBLE = { | ||
cyclicCount: 6, | ||
instanceId: '12345678', | ||
accelerationX: 'n/a', | ||
accelerationY: 1.9375, | ||
accelerationZ: -1.9375, | ||
batteryPercentage: 100, | ||
nearest: [ | ||
{ instanceId: 'aabbccdd', rssi: -69 } | ||
] | ||
}; | ||
@@ -251,2 +263,10 @@ describe('ble data manufacturerspecificdata', function() { | ||
}); | ||
it('should convert ble advertiser data for NorBLE', function() { | ||
var advertiserData = { manufacturerSpecificData: {} }; | ||
manufacturerspecificdata.process(INPUT_DATA_NORBLE, CURSOR, | ||
advertiserData); | ||
assert.deepEqual(advertiserData.manufacturerSpecificData.norble, | ||
EXPECTED_DATA_NORBLE); | ||
}); | ||
}); |
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
291912
134
6000