Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
advlib-ble-services
Advanced tools
Wireless advertising packet decoding library for Bluetooth Low Energy service data. We believe in an open Internet of Things.
Wireless advertising packet decoding library for Bluetooth Low Energy service data. advlib-ble-services is typically used as a library for advlib-ble which itself is commonly a processor module of the protocol-agnostic advlib.
advlib-ble-services is a lightweight Node.js package with no dependencies. It is included in reelyActive's Pareto Anywhere open source IoT middleware. See also its sister library advlib-ble-manufacturers.
npm install advlib-ble-services
const advlib = require('advlib-ble-services');
let uuid = 'feaa';
let serviceData = '10000367657470617265746f07';
let processedData = advlib.processServiceData(uuid, serviceData);
console.log(processedData);
Which should yield the following console output:
{ txPower: 0, uri: "https://getpareto.com" }
The following services, in order of their assigned UUIDs, are supported by advlib-ble-services.
Service UUID | Service Name | /lib file |
---|---|---|
0x2a07 | Tx Power Level | gatt.js |
0x2a19 | Battery Level | gatt.js |
0x2a37 | Heart Rate Measurement | gatt.js |
0x2a67 | Location and Speed | gatt.js |
0x2a6c | Elevation | gatt.js |
0x2a6d | Pressure | gatt.js |
0x2a6e | Temperature | gatt.js |
0x2a6f | Humidity | gatt.js |
0x2aa1 | Magnetic flux density 3D | gatt.js |
0x2aa2 | Language | gatt.js |
0x2aee | Electric Current | gatt.js |
0x2af9 | Generic Level | gatt.js |
0x2afb | Illuminance | gatt.js |
0x2b18 | Voltage | gatt.js |
0x2b8c | CO2 Concentration | gatt.js |
0x2bcf | Ammonia Concentration | gatt.js |
0x2bd0 | Carbon Monoxide Concentration | gatt.js |
0x2bd1 | Methane Concentration | gatt.js |
0x2bd2 | NO2 Concentration | gatt.js |
0x2be4 | Noise | gatt.js |
0x2be7 | VOC Concentration | gatt.js |
0xfd6f | Exposure Notification | exposurenotification.js |
0xfd9f | Hewlett Packard Enterprise | hewlettpackardenterprise.js |
0xfdaf | Wiliot | wiliot.js |
0xfeaa | Eddystone (Google) | eddystone.js |
0xffe1 | Minew | minew.js |
Consult the Bluetooth Assigned Numbers page for the most recent 16-bit UUIDs document.
The following is a non-exhaustive list of devices supported by advlib-ble-services.
Manufacturer | Model/Device | /lib file |
---|---|---|
Various | Heart rate monitor | gatt.js |
Various | Eddystone beacon | eddystone.js |
Various | Android phone (contact tracing) | exposurenotification.js |
Apple | iPhone (contact tracing) | exposurenotification.js |
Wiliot | Pixel | wiliot.js |
Minew | E8S (Tutorial) | minew.js |
Minew | S1 (Tutorial) | minew.js |
Minew | B10 (Tutorial) | minew.js |
Minew | MSP01 (Tutorial) | minew.js |
Minew | MSV01 | minew.js |
Minew | MBT01 | minew.js |
Minew | MSL01 | minew.js |
Arduino | Nicla Vision (Tutorial) | gatt.js |
Discover how to contribute to this open source project which upholds a standard code of conduct.
Consult our security policy for best practices using this open source software and to report vulnerabilities.
MIT License
Copyright (c) 2015-2024 reelyActive
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Wireless advertising packet decoding library for Bluetooth Low Energy service data. We believe in an open Internet of Things.
The npm package advlib-ble-services receives a total of 31 weekly downloads. As such, advlib-ble-services popularity was classified as not popular.
We found that advlib-ble-services demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.