Giter VIP home page Giter VIP logo

Comments (2)

shogunxam avatar shogunxam commented on August 18, 2024

Hi @JulienNabaztag, thanks for trying my project.
BLE devices, when paired, are undetectable. For this reason it is not possible to determine their presence. In your case I assume the device was detected while it was unpaired and therefore it was possible to read the battery value which is saved for 12h before reading it again, after this period, if the device is not detected, the battery value will be -1. Alternativelly you have moved the device too far from the ESP32.
Give a try unparing the device, if it is paired, or move it near the ESP32 to see if something changes.
In order to read the others values you should implement a function similar to my batteryLevel that you find in the main.ino where, from the service_BATT_UUID (0x180F), I read the char_BATT_UUID (0x2A19) characteristic. Obbviously you will have to use appropriate services and characteristics. This link may be useful for you
Getting Started with ESP32 Bluetooth Low Energy (BLE) on Arduino IDE to understand how to use the values you extracted from the python.
The project does not support iBeacon UUID but recognizes devices only by their mac-address
Regards.

from esp32_bletracker.

stale avatar stale commented on August 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from esp32_bletracker.

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.