u/NotAigis

Image 1 — I reverse engineered my radar detector's Bluetooth protocol so my Pi can read it.
Image 2 — I reverse engineered my radar detector's Bluetooth protocol so my Pi can read it.

I reverse engineered my radar detector's Bluetooth protocol so my Pi can read it.

I have a Uniden R8w (a Radar detector) and it talks to your phone over Bluetooth through an app called r/tach. There's no public documentation on the protocol anywhere, so I decompiled the app, captured some traffic, and figured it out.

It's all plain text once you know the format. Band, Frequency, signal strength, direction, voltage, GPS heading and speed. I wrote a python library so a Pi can read it all directly, and even included a nice little program (r8link-pair) that auto setups everything for you.

I didn't have a portable 12V power supply to test this outside, so I yoinked the battery out of my Neato D9 and wired it to a buck converter I found on the floor of my lab with some jumpers and duct tape. It powers the detector through its cigarette lighter adapter. Took about 15 minutes with junk I found in my apartment. The pi is running off of USB c connected to my laptop.

Protocol Write up: https://github.com/AegisX86/UnidenR8wlink/blob/main/PROTOCOL.md
Library: https://github.com/AegisX86/UnidenR8wlink
PyPi: https://pypi.org/project/r8link/

I only have one of these detectors and I only was able to test it on the one I had and my camera database is empty so that part of the docs is guesswork. If anyone has one of these with stored cameras I'd LOVE a hex dump :3

If you want to try it out, install it with pip install r8link

u/NotAigis — 4 days ago
▲ 133 r/amiga

AmiFetch, a Neofetch style tool for AmigaOS in 2916 bytes!

Picked up an Amiga 1000 recently (In it's box! 😄) and after sorting out some issues with the monitor that came with it, I decided to write a neofetch type thing to run on it. Couldn't find one, so I wrote one.

It prints your system info next to a spinning Boing ball that is computed at boot from integer math and spun with palette cycling (as a bitmap would have been too large). Which is the same trick the 1984 demo used. So the entire program fits into just 2916 bytes!

This is my first Amiga program, it works from CLI, Workbench, or as a boot disk, it should run on anything kickstart 1.2 and up. I tested it on my real Amiga A1000 and A500, WinUAE for everything else.

Aminet: https://aminet.net/package/util/misc/AmiFetch (Might be down for some)

DDL from Aminet: https://aminet.net/util/misc/AmiFetch.lha
Readme from Aminet: https://aminet.net/util/misc/AmiFetch.readme

Source: https://github.com/AegisX86/AmigaFetch

If it misdetects your model, tell me what it printed and what it actually is.

u/NotAigis — 12 days ago