KunaalKumar |
ddxtanx |
BeauJBurroughs |
chvolkmann |
egold555 |
Only tested with nrf. In my limited testing, could not get it to work with gatttool
. But gatttool
may not be the way to go due to deprecation - worth taking a look at bluetoothctl
instead.
gatttool -t random -b (mac) --char-write-req -a 0x0014 -n (command)
Type | Unformatted UUID | Formatted UUID |
---|---|---|
Service | 000102030405060708090a0b0c0d1910 | 00010203-0405-0607-0809-0a0b0c0d1910 |
Characteristic | 000102030405060708090a0b0c0d2b11 | 00010203-0405-0607-0809-0a0b0c0d2b11 |
Command | Value | Notes |
---|---|---|
Keep Alive | 3301010000000000000000000000000000000033 | Send every second. |
On | 3301010000000000000000000000000000000033 | |
Off | 3301000000000000000000000000000000000032 | |
Switch to color mode | 3305150100000000000000000000000000000022 | TODO: test out switching colors w/ and w/o gradients. |
Switch to scene scene | 3305040500000000000000000000000000000037 | Switches to last scene set by user via app. |
Scene name | Value |
---|---|
Nightlight | 3305040200000000000000000000000000000030 |
Romantic | 3305040700000000000000000000000000000035 |