Skip to content

An Apple iAP to Bluetooth AVRCP program designed to interface with a 2012 Hyundai Elantra

License

Notifications You must be signed in to change notification settings

nadavami/iAP-to-AVRCP

Repository files navigation

iAP to AVRCP

What is this?

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.

What does it do?

It (is supposed to) act as a bridge between Bluetooth (AVRCP) and the Apple iPod Accessory Protocol (iAP).

Should I use it?

No. You're honestly better off just changing the head unit in your car.

Can I use it?

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.

How do I use it?

Things you'll need

  1. An Orange Pi Zero + MicroSD card
  2. A USB Bluetooth Adapter
  3. A 2012ish Hyunadi
  4. Ansible
  5. Lots of patience

Installation

  1. Flash the MicroSD card with Armbian
  2. Configure /boot/armbian-first-run.txt to connect to WiFi on first boot
  3. 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)
  4. apt install python3 -y
  5. Edit hosts in this project file to IP of Orange Pi
  6. Run playbook (ansible-playbook ansible-playbook.yml -u root -k -i hosts)

Debugging

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.

About

An Apple iAP to Bluetooth AVRCP program designed to interface with a 2012 Hyundai Elantra

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages