Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reelyactive/advlib-interoperable
Interpreter of InteroperaBLE identifiers in ambient wireless packets, for the protocol-agnostic advlib library. We believe in an open Internet of Things.
https://github.com/reelyactive/advlib-interoperable
advlib ambient-data interoperable-identifier packet-decoding pareto-anywhere rfid
Last synced: 9 days ago
JSON representation
Interpreter of InteroperaBLE identifiers in ambient wireless packets, for the protocol-agnostic advlib library. We believe in an open Internet of Things.
- Host: GitHub
- URL: https://github.com/reelyactive/advlib-interoperable
- Owner: reelyactive
- License: mit
- Created: 2021-10-15T00:32:06.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T23:56:26.000Z (about 1 year ago)
- Last Synced: 2024-11-15T22:14:39.040Z (about 1 month ago)
- Topics: advlib, ambient-data, interoperable-identifier, packet-decoding, pareto-anywhere, rfid
- Language: JavaScript
- Homepage: https://reelyactive.github.io/interoperable-identifier/
- Size: 26.4 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
advlib-interoperable
====================Interpreter of [InteroperaBLE identifiers](https://reelyactive.github.io/interoperable-identifier/). __advlib-interoperable__ can be used standalone or, more commonly, as an interpreter module of the protocol-agnostic [advlib](https://github.com/reelyactive/advlib) library.
Installation
------------npm install advlib-interoperable
Hello advlib-interoperable!
---------------------------```javascript
const interpreter = require('advlib-interoperable');let packet = {
deviceIds: [ "496f49445554462d3332/00000001f989" ]
};
interpreter.interpret(packet);console.log(packet);
```Which should yield the following console output:
{ deviceIds: [ "496f49445554462d3332/00000001f989" ],
unicodeCodePoints: [ 129417 ] }Supported Entity UUIDs (non-URI)
--------------------------------__advlib-interoperable__ supports the following Entity UUIDs which have [specific interpretations](https://reelyactive.github.io/interoperable-identifier/#part02) _other_ than conversion to a URI:
| Entity UUID | Interpretation |
|:-------------------------------------|:-------------------|
| 496f4944-434f-4445-b73e-5554462d3332 | Unicode Code Point |
| 496f4944-434f-4445-b73e-446972416374 | DirAct |
| 496f4944-434f-4445-b73e-427574746f6e | Button |
| 496f4944-434f-4445-b73e-4d6f74696f63 | Motion |
| 496f4944-434f-4445-b73e-425553616665 | BlueUp Safety |The Entity UUIDs above can be represented in _elided_ UUID format by removing the 48-bit sequence _-434f-4445-b73e-_ as explained [here](https://reelyactive.github.io/interoperable-identifier/#part01).
Supported Entity UUIDs (URI)
----------------------------__advlib-interoperable__ supports the following Entity UUIDs which have [specific interpretations](https://reelyactive.github.io/interoperable-identifier/#part02) regarding conversion to a URI:
| Entity UUID | URI Interpretation |
|:-------------------------------------|:-------------------|
| 496f4944-434f-4445-b73e-2e2f2e6d7033 | file:/xxxxxxx.mp3 |The Entity UUIDs above can be represented in _elided_ UUID format by removing the 48-bit sequence _-434f-4445-b73e-_ as explained [here](https://reelyactive.github.io/interoperable-identifier/#part01).
Contributing
------------Discover [how to contribute](CONTRIBUTING.md) to this open source project which upholds a standard [code of conduct](CODE_OF_CONDUCT.md).
Security
--------Consult our [security policy](SECURITY.md) for best practices using this open source software and to report vulnerabilities.
[![Known Vulnerabilities](https://snyk.io/test/github/reelyactive/advlib-interoperable/badge.svg)](https://snyk.io/test/github/reelyactive/advlib-interoperable)
License
-------MIT License
Copyright (c) 2021-2023 [reelyActive](https://www.reelyactive.com)
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.