Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.