I have a pair of chinese rave glasses that can display scrolling text, bitmaps, or animations. They also make you look way too cool for school.
They speak Bluetooth to a shady APK, I've put it on a disconnected phone and I'm reverse engineering the protocol. https://queer.af/media/kPpwoBGP0l_uV41DNcs
By the way, this is from Cyberdog, if anybody wants a pair: https://www.cyberdog.net/products/rave-glasses
I also have one of these collars, which is next once I finish this: https://www.cyberdog.net/collections/accessories-light-up/products/future-collar?tag=
Here's the catch: the GATT collection only includes a single descriptor (0004), and it's not writable.
Wireshark shows that the app, when you toggle them off and on, sends a GATT Command write (0x52) to handle 0x0003, with value: 01 00 02 06 09 02 05 03.
I'm not sure how to coerce BlueZ to let me do this.
clearly, the answer is to just rewrite it in a language that only has Box<dyn ::std::error::Error>
https://github.com/liclac/eyesemoji is now in Go, and has a lil' CLI :3
Images are bitmaps, 1 byte = 1 column, 1 bit = 1 row on/off, there's a header whose meaning yet eludes me, and for some reason every other byte appears to do noting at all
0xAA, 0x00, 0x55, 0x00, 0xAA, 0x00 https://queer.af/media/q0UGM6krRm5NE3MQ0K8
before I lose it again: it can display a 9x64 scrolling bitmap, FF80 (0b11111000) lights a full column
packet sequence for filling the whole thing with a pattern, with FF80s on each side - the 03 at the end is seemingly ignored:
Gc.c is an instance by trans women for trans folk and strives to keep the security and enjoyment of our users in mind.