TrentSeed / BMW_E46_Android_RPi_IBUS_Controller

"Appify" your E46 BMW with a Raspberry Pi and your smartphone! Nexus 7 in dash, connected to Raspberry Pi (via Bluetooth), which is connected to IBUS (via USB Adapter). Supports Android Wear 4.4W w/ full voice commands!
90 stars 26 forks source link

RPi 3 update bluetooth address #27

Open Quick190 opened 6 years ago

Quick190 commented 6 years ago

Hi,

I am doubtful where to change the bluetooth address in bt.py?

Thank´s

TrentSeed commented 6 years ago

Hello there, good question. In short, that step is no longer required since the latest changes (I will need to update the README).

When the python package is running on the RPi, the Bluetooth MAC address will be whatever MAC address belongs to the Bluetooth dongle you are using. It is actually the Android code that will need to be updated to specify the RPi's MAC.

Line 33 in the following files:

https://github.com/TrentSeed/BMW_E46_Android_RPi_IBUS_Controller/blob/master/java-android/app/src/main/java/com/trentseed/bmw_rpi_ibus_controller/BluetoothInterface.java

https://github.com/TrentSeed/BMW_E46_Android_RPi_IBUS_Controller/blob/master/java-android/ibuswear/src/main/java/com/trentseed/bmw_rpi_ibus_controller/wear/BluetoothInterface.java

Thanks, Trent

On Wed, Feb 21, 2018 at 12:45 AM, Quick190 notifications@github.com wrote:

Hi,

I am doubtful where to change the bluetooth address in bt.py?

Thank´s

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TrentSeed/BMW_E46_Android_RPi_IBUS_Controller/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AGg1cUWxRZnZE77ehYzfuwULycBtzT1sks5tW9elgaJpZM4SNQW4 .

Quick190 commented 6 years ago

Hello,

Thank you. I have already change the MAC adress using android studio.

In the RPI how do I start the python code?

I put this "nohup python start.py 2>/dev/null 1>/dev/null &" in the terminal but seems not working.

Best regards, David