This is my terrible answer to not being able to change the current song from my steering wheel in my 2012 Hyundai Elantra. You can find out more here, here, and here.
It (is supposed to) act as a bridge between Bluetooth (AVRCP) and the Apple iPod Accessory Protocol (iAP).
No. You're honestly better off just changing the head unit in your car.
You're free to do whatever[1] you want with this. All I ask is that you don't judge me for the terrible code written within. I just wanted to change the damn song.
1. Well almost whatever you want, just read the license.
- An Orange Pi Zero + MicroSD card
- A USB Bluetooth Adapter
- A 2012ish Hyunadi
- Ansible
- Lots of patience
- Flash the MicroSD card with Armbian
- Configure /boot/armbian-first-run.txt to connect to WiFi on first boot
- SSH (user: root pass: 1234), CTRL-C to abort creating a new user (bad but we're lazy so this will all run as root)
- apt install python3 -y
- Edit hosts in this project file to IP of Orange Pi
- Run playbook (ansible-playbook ansible-playbook.yml -u root -k -i hosts)
The Ansible playbook above enables the USB OTG port and by default, armbian exposes a serial port. This is the easiest way to connect when the device is out of WiFi range.
The software also writes logs to /var/log/iap-to-avrcp.log
and /var/log/iap-to-avrcp.serial.log
.