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

AA on head unit appears and disappear after short time #11

Open
Icobob opened this issue Jan 6, 2025 · 14 comments
Open

AA on head unit appears and disappear after short time #11

Icobob opened this issue Jan 6, 2025 · 14 comments

Comments

@Icobob
Copy link

Icobob commented Jan 6, 2025

Manio first tank you very much your aa-proxy! I first install v0.2.0. It worked very stable on my raspberry 3a+
I decided to go to new v0.3.0 and here start the problem. AA started appear on head unit and after short time disappear and again started and appear and suddenly disappear. I tried back to v 0.2.0 - same result.
What could be the problem?

@manio
Copy link
Owner

manio commented Jan 6, 2025

Thanks @Icobob !
If it works and stopped - first try to forget the bluetooth device on your phone (may be also necessary on your car head unit) - if this doesn't help I need to see what is going on... so please provide me the logs. You can find information how to obtain it in the README.

@Icobob
Copy link
Author

Icobob commented Jan 6, 2025

Unfortunately forget the Bluetooth device on my phone and car head unit did not help. Attached logs
logs.zip

@manio
Copy link
Owner

manio commented Jan 6, 2025

According to the logs all is fine... The bluetooth handshake was done properly, a proxy connection has been established and it just should transfer data. Moreover it should timeout and retry if there is no data. Maybe you grab the logs too early?

Can you edit the startup parameters and try to change -s60 to -s5 - to have statistics every 5 seconds?

Maybe you can also try legacy mode (-l) but if it was working before I doubt this is the case.

@Icobob
Copy link
Author

Icobob commented Jan 6, 2025

Changed -s60 to -s5 and wait longer. Attached logs
logs.zip

@manio
Copy link
Owner

manio commented Jan 7, 2025

Thanks, now please try to increase timeout as it seems this is triggering the disconnection. Test it eg with a minute to see if it help:
Add a -t60 parameter to the same file.

@Icobob
Copy link
Author

Icobob commented Jan 8, 2025

Armament -t make does not help. I tried several values including default -t5. No log aa-proxy-rs. I suspect -t is killing §§-proxy-rs
Logs.zip

@Icobob Icobob closed this as completed Jan 8, 2025
@manio
Copy link
Owner

manio commented Jan 8, 2025

Ok... I'll check that parameter myself soon...
btw: you closed this issue by accident?

@Icobob
Copy link
Author

Icobob commented Jan 8, 2025

Yes by accident. Sorry

@Icobob Icobob reopened this Jan 8, 2025
@manio
Copy link
Owner

manio commented Jan 9, 2025

Ok... Tested and it is working for me but I think I know where is the problem. You are using stable version 0.3 while I am telling about recent version. When you pass this argument it is exiting with error :)

Can you please try recent version?
This one: https://github.com/manio/aa-proxy-rs/actions/runs/12557287185/artifacts/2373679658

@Icobob
Copy link
Author

Icobob commented Jan 9, 2025

Thank you. With -s5 -t30 The behavior is as I reported in my first message. May be AA stay on head unit screen a bit longer. During attempts to transfer logs to laptop WiFi disconnected several time.
Logs.zip

@manio
Copy link
Owner

manio commented Jan 9, 2025

I can see in the logs the connection for about two minutes. All seems fine - at least to the end of the log...
So is it now better/working?
I am confused...

@Icobob
Copy link
Author

Icobob commented Jan 9, 2025

Duration of last test was around 15 minutes. Several time AA appears on head unit screen stays sometimes longer sometimes very short and then disappears. With Winscp I transfer logs to laptop but WiFi connection breaks several time and I must reconnect. Is it normal?
Next time I will check with -t60

@manio
Copy link
Owner

manio commented Jan 10, 2025

Duration of last test was around 15 minutes

So it was working OK for this 15 minutes? Is it working fine if you connect your phone directly to car via USB cable?

With Winscp I transfer logs to laptop but WiFi connection breaks several time and I must reconnect. Is it normal?

Yes... but only when raspberry is trying to connect to your phone via BT (and searching longer for the device). BT and WiFi are interfering in this case.

@Icobob
Copy link
Author

Icobob commented Jan 10, 2025

Thank you very much for you efforts! I thing the problem is in my mobile or head unit, As I said before it was working without problem with your previous stable version. So I will investigate deeply and come back.

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