GithubHelp home page GithubHelp logo

reelyactive / advlib Goto Github PK

View Code? Open in Web Editor NEW
106.0 13.0 23.0 1.31 MB

Open source, protocol-agnostic library for decoding ambient wireless packets. We believe in an open Internet of Things.

Home Page: https://reelyactive.github.io/advlib/

License: MIT License

JavaScript 100.00%
bluetooth-low-energy rfid advertising-packet-library pareto-anywhere packet-decoding node-js advlib epc rain-rfid

advlib's People

Contributors

airhorns avatar imranj131 avatar jeffyactive avatar pavledragisic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advlib's Issues

Missing includes for common

Hello!

I'll start off by saying I'm really impressed with the library here.

There does however seem to be some things missing.
When trying to identify a manufacturer with the example from the readme advlib.ble.common.companyidentifiercodes.companyNames['000d']; it throws an error that common is not defined.

When looking at https://github.com/reelyactive/advlib/blob/master/lib/ble/index.js you can see identifiers defined but never exported.

In fact, nothing is exported at all for common.

Is this by design or just an oversight?
I've quickly looked over the source and most of the files seem to be there.

gap undefined

Thanks for this library. Works great except I can't directly process servicedata or other gap packets:

advlib.ble.data.gap.servicedata.process('4941414c72784741414c7359637754714f59493d', 0, {})

Returns Cannot read property 'servicedata' of undefined

Ignore case for uuid check

Thanks for this library, really helped me out:)

I ran into one problem:
In gatt/services/members/google.js you're checking on 'feaa'.
The uuid I get is 'FEAA' so it won't work because of the case difference.
Maybe you could make it case insensitive?

I now manually change the case and run the process method myself

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.