-
Notifications
You must be signed in to change notification settings - Fork 4
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
Please provide proper installation guide #1
Comments
Hi, |
I managed to build it with docker and have the binary but I'm unsure how to replace aawgd with it. |
I haven't managed to uninstall aawgd but I did drop the built aa-proxy-rs onto the same path as you had and I chmod +x the binary to get it to run I then get Bluetooth error: Bluetooth operation not permitted: UUID already registered. I also noticed the binary is not persisted on SD card. |
Alright, I managed to remove aawgd from /usr/bin and also dropped aa-proxy-rs in the same folder it's now persisted between power |
So it did not work, I managed to connect to bluetooth, I get 1 usb start accesory request error it then recovers and my phone switches over to wifi. The logs then disconnects with a connection was reset by peer and my phone is stuck on looking for Android Auto. |
I apologize for so many comments but I thought this would be a good place to be verbose about it. |
Hi!
Very good. That was the easiest way (to just replace aawgd) if you don't know how to make a startup script.
Yes, it was rather because the
This was figured out, so OK...
This is OK. You can also edit your posts on github if you like.
I also have the pi02w and the Dockerfile creates an image exactly for this architecture. So you're OK with this. Regarding the log/problem: You could also add eg Some questions: |
For people like me, who dont have a clue bout coding or scripting, is it possible to provide a flashable build with this mod incorporated in it? |
Thanks for the reply. So aawgd worked initially for me and then one day it just stopped and I never managed to get it working since. I believe I was using phone first connection strategy too. |
will try to just grab the official image and "inject" it for you... :)
cat /var/log/aa-proxy-rs.log |
@Tttyagi123 |
Sure, i also wanted to just try and see how it goes. Will give feedback after trying. Thanks a bunch 🙏 |
@manio Starting to proxying data between TCP and USB... Another interesting observation, this start request is not from my car. In this scenario, the Pi was only connected to a powerbank |
@NabeelUppel |
The Pi doesn't lose power anymore but still hangs at |
Give me a moment ... I'll prepare a version with more debug... |
Ok ... it's in the same place: |
Will give this a try asap. |
|
Should I also change the DAEMON to be aa-proxy-rs or keep it as aawgd? |
I tried this but again the pi restarts. I then used a power bank while connected to my phone and I get this: |
@NabeelUppel Please do it as always but with power bank, and provide me full logs - especially after the line "Starting to proxying" I really don't know what you're doing there ;)
...then try connect with AA - give it some time ofc; and then you can disconnect AA (if connected and you're doing it from phone) and connect afterwards to the AP via ssh and fetch the /var/log/aa-proxy-rs logs for me. |
Is there anyway to capture the start request by the car? |
Nothing happened below that, it hung at that message for about 2 mins and I disconnected. The message below was "Connection reset by peer" after I pulled power.
Will try that now.
Does this make it so that aa-proxy-rs starts on boot?
|
I thought you are doing it in your car! |
I am, but there was one time I tried it disconnected from my car and yet I still received the start accessory request |
I could not access the logs when running it on startup. With Powerbank:
What did you change in this excutable to stop it from crashing? |
Thank you for testing!
Nothing - the only thing changed was a slightly modified sequence and timing - starting USB to car later. Ok ... I am providing you the version which is doing the opposite - trying to start USB much earlier... Two things:
Also can you please describe how are you testing it exactly?
|
I just disconnected and reconnected after the command and it connected two....now three times in a row :D |
So ... what was the problem? |
I clicked on disconnect on android auto, went to bt and clicked on connect on the wireless dongle but it did not connect, android auto kept looking for device |
Earlier it was not connecting after first time but manually it still does not connect |
Have you tried to disable wifi + bluetooth on your phone? |
Just did, does not connect |
Connecting to 10.0.0.1 port 22, please wait... |
First of all: if you want the dongle to connect to your phone you need to start it like this: |
I disconnected cable after this n it did not connect even after pi reboot |
There is something not right, once it fails to connect manually, it stopps connecting automatically on first boot too I came back from parking now |
Sorry, I am totally lost now :( If you would not able to figure it out yourself from your laptop, I am affraid I cannot help you. Here are the probable options:
|
Will see what i can get my hands on :) thanks for bearing with me, highly appreciated!!!! |
@manio do check the rom i shared, that one works perfectly for me every time, the first variant which had manual connection. |
Just checked. The variant you are talking about is this: |
Hi @manio Please share a base binary that I can test with. I'll report back when I get the chance. |
Wow, it may work for me too, i'll try it as well. Thanks |
@NabeelUppel |
It's the one i have or newer than that? :D |
You have it here, @Tttyagi123 : |
You r d man!!!!! Thinking to reset my headunit first and then connect this rom to make sure it works flawlessly |
I managed to connect now and everything works great 👌🏻 When I restart my car the bluetooth doesn't reconnect I have to manually go to bluetooth and and click on the dongle bluetooth to connect and it starts up perfectly. |
@NabeelUppel |
Worked great! In general is this supposed to be faster than the C++ implementation? Is there any other advantages? One thing, you should probably look into creating your own workflow that creates the images, the new versions of AAWirelessDongle (main branch) made the partition readonly so you can't replace the binary or update the start up script. Not an issue now but could be in the future. Great work dude! |
Feel free to close this if necessary. |
Are you testing it with
It may be faster but rather due simplify compared to the
It was me who proposed that change :) Preparing the whole image is out of my interests for now. Nisarg did a good job so I am just using it :) |
I just add "-- -d -s5 -c" to the startup script in etc/init.d/93aawgd
Agree with this! I'm happy to be a tester for you and help out where I can.
Good to know! Speaking of which perhaps it may be useful to add these steps to the readme |
So you're using it without legacy mode "-l" enabled. Like in my car. Good - this means that it should work faster when initiating connection :)
I'll think of it, but maybe later! |
Hi!
I'm keen to give this a shot, look quite interesting. I have used aawgd before but all of a sudden stopped working for me so I'm curious to see if this will work.
With that being said, I'm quite new to all of this and have no experience with Rust but could be a good opportunity to learn.
I see that you SSH into the pi to run the script but what OS is running on your pi to make it work?
The text was updated successfully, but these errors were encountered: