Git Product home page Git Product logo

Comments (3)

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

First take your local name, in gatttool put:
char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
in my case show:
handle: 0x0003 value: 45 4c 4b 2d 42 4c 45 44 4f 4d 20 20 20
this value is hex, find in google "convert hex to ascii" to convert it
in my case show:
"ELK-BLEDOM "

You need to know read and write handle in my case my write characteristics is:
handle: 0x0008, char properties: 0x06, char value handle: 0x0009, uuid: 0000fff3-0000-1000-8000-00805f9b34fb

You now need to know at lest ON and OFF commands, in my case 7e0004f00001ff00ef and 7e0004000000ff00ef

With this commands you can try your strip:

sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0004f00001ff00ef # POWER ON
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e000503ff000000ef # RED
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0005030000ff00ef # BLUE
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e00050300ff0000ef # GREEN
sudo gatttool -b be:59:7a:00:08:xx --char-write-req -a 0x0009 -n 7e0004000000ff00ef # POWER OFF

I receive response: Characteristic value was written successfully and led strip execute the command correct.

You can try to find in google an API with this information , in my case I use:

https://linuxthings.co.uk/blog/control-an-elk-bledom-bluetooth-led-strip

Good luck

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

Other option is reverse enginnering, i can not help you in this, i not need it, you can see some samples here:

https://blog.wokwi.com/reverse-engineering-a-bluetooth-lightbulb/

https://blog.attify.com/the-practical-guide-to-hacking-bluetooth-low-energy/

Good luck

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

If you collect all needed information, create new issue

from elkbledom.

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.