GithubHelp home page GithubHelp logo

cordova-ibeacon's People

Contributors

fredrikeldh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-ibeacon's Issues

License?

I know basically every repo you guys have is Apache 2 but could you please indicate a license on this repo?

Error in iBeacon.connect()

When trying to connect to an iBeacon, I got an error because somewhere the code was trying to convert a JSON object to an integer value.

Figured out that in the iBeacon.js file, on line 168, handle should be replaced by handle.deviceHandle. This makes the error disappear

Bug in iBeacon.js line 168

evothings.ble.rssi(handle.deviceHandle, rssiHandler, fail);

should be

evothings.ble.rssi(info.deviceHandle, rssiHandler, fail);

Major and Minor numbers

I'm using an iPhone application that can simulate iBeacons; After I set the Major and Minor values on the app and use your code on my Android phonegap app to detect beacons, everything works as expected except the major and minor numbers that I get back seem to be multiplied by a 100. To I set major to 4 and minor to 6, when I read them back and use your hex16 function or the toString(16), I get "400" and "600". Am I missing something here or is this a bug ?

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.