Reverse engineering of Bluetooth controller management for LED strip


What you'll need
Materials
- 1 pc
- Smartphone with Android OS1 pc
- 1 pc
- 1 pc
- 1 pc
Steps
Installing the Triones application and enabling Bluetooth packet recording

Installing the Triones application and enabling Bluetooth packet recording

Installing the Triones application and enabling Bluetooth packet recording

Installing the Triones application and enabling Bluetooth packet recording

Installing the Triones application and enabling Bluetooth packet recording
Copying Bluetooth packet files and analyzing them in WireShark

Copying Bluetooth packet files and analyzing them in WireShark

Copying Bluetooth packet files and analyzing them in WireShark
1adb bugreport bugreportfolder
Turning on the LED strip controller from the terminal
1bluetoothctl2scan on3pair XX:XX:XX:XX:XX:XX
1scan off2exit
1gatttool -i hci0 -b XX:XX:XX:XX:XX:XX --char-write-req -a 0x0014 -n cc2333
1gatttool -i hci0 -b XX:XX:XX:XX:XX:XX --char-write-req -a 0x0014 -n cc2433
Adding the LED controller to Home Assistant

Adding the LED controller to Home Assistant

Adding the LED controller to Home Assistant
1switch:2- platform: command_line3switches:4laptop_monitor_backlight:5command_on: gatttool -i hci0 -b XX:XX:XX:XX:XX:XX --char-write-req -a 0x0014 -n cc23336command_off: gatttool -i hci0 -b XX:XX:XX:XX:XX:XX --char-write-req -a 0x0014 -n cc24337friendly_name: 'Laptop Monitor Backlight'
Discussion (0)
No comments yet. Be the first!
Maker

Anton is the Founding Engineer at Tinkster. He translates industrial reliability into software architecture, ensuring the platform's core is built to last. Anton studied oil and gas engineering in the United States and also holds two honors degrees from Tomsk Polytechnic University.
Related Projects
AI Project Assistant
Tinkster Neural Core

