Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth doesn't auto connect at boot #173

Open
Aurux opened this issue Sep 17, 2024 · 1 comment
Open

Bluetooth doesn't auto connect at boot #173

Aurux opened this issue Sep 17, 2024 · 1 comment

Comments

@Aurux
Copy link

Aurux commented Sep 17, 2024

Issue

Make sure you are running the latest version before reporting an issue.

Hardware

Device Connection Method Screen Mobile Device Android Auto Version
Raspberry Pi 3 1GB USB Cable Official Raspberry 7" Screen Nothing Phone (1) N/A

Installation Method: Install.sh

Description of problem:

My phone is paired to my car Pi but everytime the Pi boots I have to manually connect to the Pi on my phone

Expected Result:

Head unit connects to paired device without human intervention.

@prasha-au
Copy link

Note the following section in the openauto.ini file have to be filled in.

[WiFi]
SSID=
Password=
AdapterMAC=
AutoconnectLastBluetoothDevice=true
LastBluetoothPair=

The relevant call in code is in btservice.cpp so ensure you can run bluetoothctl connect as a starting point. It should initiate the connection and then AA on your phone should auto connect to the wifi hotspot you've created. Although joining the wifi hotspot manually won't start AA automatically, it's a good way to test if you have a compatible channel, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants