Code Monkey home page Code Monkey logo

Comments (4)

evilknivel avatar evilknivel commented on August 17, 2024 1

Ahh okay, vielen Dank, dass Sie sich die Zeit genommen haben, um zu antworten!

from btle.

floe avatar floe commented on August 17, 2024

Not sure what you mean. On its own, the library can only control a nRF24L01+ chip to send and receive Bluetooth LE advertisements. You'll need to add a) an actual sensor to detect the window state and b) code to make it send something once the sensor is triggered.

from btle.

evilknivel avatar evilknivel commented on August 17, 2024

Hi ohh sorry maybe i make it not totally clear what i mean. I thought the function of an ble device is declared by the service UUID so that other devices can recognize ist als such. Or am i wrong?

from btle.

floe avatar floe commented on August 17, 2024

Ah, now I get it. Yes, you're right, but AFAICT there's no UUID for door/window sensor. The full list is at https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf - I've found
"GATT Service - 0x183B - Binary Sensor" which might be somewhat suitable, but using the full GATT protocol won't work with the bare nRF24L01+ device, you would need a dedicated BTLE transceiver for that (e.g. something based on the nRF51/52).

from btle.

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.