Coder Social home page Coder Social logo

Comments (4)

Steppschuh avatar Steppschuh commented on June 2, 2024 1

The scanning is not part of the library. However, you can check out the sample application module which is also part of this repository. It implements the scanning and shows how the library can be used.

Also refer to #144 if no beacons are showing up.

from ble-indoor-positioning.

Steppschuh avatar Steppschuh commented on June 2, 2024 1

The readme contains a section about that, including example code: Bluetooth Scanning.

There really isn't anything I could add to that. You need to pass advertising data to the library (using BeaconManager.processAdvertisingData(...)). How you get the data depends on your implementation, examples are linked in the readme and implemented in the demo app.

from ble-indoor-positioning.

KyleAdo avatar KyleAdo commented on June 2, 2024

Thank you, I can see the examples in the BluetoothClient class, but they look like they're already implemented and should be working, so I'm confused on what I have to do in order to start the scanning, and obtaining the beacon API which will then be sent to the ScanResult method you built.

Forgive me I know this isn't your job and it's something people have to do themselves, but is there any pointers you can give me on what to do to get the scans working correctly? I'm trying to use the Bluetooth Adapter that you recommended but I'm not sure where to place the LeScan methods when there's already a scanning method that should do the job anyway.

If there's nothing else you can offer it's completely fine I just thought I would enquire, I'm sure I'll get there eventually :)

from ble-indoor-positioning.

KyleAdo avatar KyleAdo commented on June 2, 2024

Okay thank you very much for your help! Appreciate it, I'll close the topic :)

from ble-indoor-positioning.

Related Issues (20)

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.