Git Product home page Git Product logo

ios-beacon-tools's People

Contributors

davidgyoung avatar eddielukeatmey avatar levidahl 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

Watchers

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

ios-beacon-tools's Issues

Method name should be change

Hi we have downloaded this code as run as per the guideline mentioned ion the project but once we run this project it start to give the error says 'startScanning ,stopscanning' not implemented. but when we have changed the method name startscanningAltbeacon then it start to work like charm.

Example apps?

Hi,

I am able to run the project and use the RNLBeaconScanner to scan for beacons but it would be great to have an example app which utilises the RNLLocationTracker. Is there an example anywhere?

Not able to detect Alt Beacon.

  • Integrated this code to my project , created helper class from RNLBeaconScanner and start scanning, not able to detect the Alt Beacon. In order to detect the alt beacon , do I need to set anything else in project like UUID or anything ?
  • I am using iPhone with iOS 16.2 as a testing device, double checked that beacon is on & within the Range, I am able to scan beacon using BeaconScope app.

It Only broadcast Never scan others

Only Once it has worked but never before n never after, However it is broadcasting beacon in background also.
But this does not solve the problem as the beacon has to always scan for the another user(Even if there is no interent)

Distance calculation for the detected beacons.

I have added the filed to one of my project, everything works well but there is no mechanism to get the distance. I tried this article formula to calculate the distance but I am getting very vague value as compared to the alt beacon library for android. I see alt beacon uses different calculations method for that.

However, the article seems quite outdated as some of the hyperlinks work no more. Can you shed some light on it @davidgyoung , maybe some tips that can be helpful for me to begin with.

Conflict PR#4 & PR#6

PR #4 is a reverse version of #6, which both a fix for issue #5. You either choose one, not both. Since you merged both, the issue raise again but with a different error:

"startScanningAltbeacons, stopScanningAltbeacons" not implemented

I suggest you using merge #6 instead or #4 since it only change implement, not headers @davidgyoung
I can't reopen #5 so I create #7 instead

Unable to detect iBeacon format

Hello, I was trying the sample code to scan nearby beacons. My can detect altbeacon an eddystore, however on the library cannot detect ibeacon format. Can i ask if did i missed something? thanks

`
func getBeacons(_ completed: @escaping(_ list: [RNLBeacon]) -> ()){

    if let detectedBeacons = scanner?.trackedBeacons() as? [RNLBeacon] {
        self.detectedBeacon = detectedBeacons
        completed(detectedBeacons)
        for beacon in detectedBeacons {
            if (beacon.beaconTypeCode.intValue == 0xbeac) {
                // this is an AltBeacon
                NSLog("Detected AltBeacon id1: %@ id2: %@ id3: %@", beacon.id1, beacon.id2, beacon.id3)
            }
            else if (beacon.beaconTypeCode.intValue == 0x00 && beacon.serviceUuid.intValue == 0xFEAA) {
                // this is eddystone uid
                NSLog("Detected EDDYSTONE-UID with namespace %@ instance %@", beacon.id1, beacon.id2)
            }
            else if (beacon.beaconTypeCode.intValue == 0x10 && beacon.serviceUuid.intValue == 0xFEAA) {
                // this is eddystone url
                NSLog("Detected EDDYSTONE-URL with %@", RNLURLBeaconCompressor.urlString(fromEddystoneURLIdentifier: beacon.id1))
            }
            else {
                NSLog("Some other beacon detectd")
                // some other beacon type
            }
            NSLog("The beacon is about %.1f meters away", beacon.distance)
        }
    }

}

`

Background detection

I use this project to scan beacons, and I need to continue scanning even if the app goes to the background. The case I am having, the iPhone will not go to sleep or lock the screen but the user is supposed to go to google maps navigation screen and again come back to my app. While my app is in the background and google map is in the foreground, I still want my app to detect beacons and play a sound that I am doing currently on android using the alt beacon library. Is this possible by activating background modes or we cannot add this feature at all using CoreBluetooth?

I need to restart bluetooth to detect beacon

I use a code similar to the one indicated in the README file.

At the beginning, no beacon appears in the trackedBeacons list. I need to stop the bluetooth and restart it for them to appear. Do you have an explanation for this? thank you in advance for your help

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.