-
Notifications
You must be signed in to change notification settings - Fork 64
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
Setting Car Icon in Carplay #7
Comments
Hi, unfortunately that had not been figured out yet! For now if you set it in the android app, it stays set indefinately, so that can be used a work around for now |
Thank you! I'm currently trying to get the CANBUS playing nicely... seems to connect but absolute 0 messages being received on the RPi |
Yeah it will certainly be a message type where it transfers the image to the dongle. For the canbus, it could be a bunch of things, wiring incorrect, car could be using a gateway, baud rate incorrect, if you list any of the set up here I can try and help |
Thanks! I've basically replicated what you have put in your JaguarXf_Can Pins 3/11 seem to be the right ones, accidentally cross-wired them and sent the whole car into shock mode (yikes don't do that)
|
Certainly makes it easier being an XF! Try finally make sure the terminating resistors are set to off, I have left these in by mistake and it hasn’t caused issues, but worth checking |
Also |
I will apologise in advance for the long post!
dmesg | grep spi
ifconfig
/boot/config.txt
|
Update: Total flop, with Pin 3 going to High and Pin 11 going to Low, the car went into complete shock before I even turned the ACC power on Any ideas? As a gift for helping me getting this working, if you ever need your website https://moderndaymods.com/ hosting with SSL Certificates etc, I will happily host it upon my VPS! Free of course as your project is basically the building blocks to the start of mine! |
I have had this before, I think it is because in your /boot/config.txt you are enabling can0 first then can 1, if you read the waveshare wiki it lists it like this
I don't know how this makes a difference, but I had the exact same scenario and I am sure that was all I changed. you are correct in pin3 is high, pin 11 is low. If you want to check, set both to 125k baud, don't connect can1 to high speed, but then see if it still causes the car to go mad. I think it sets what is actually can0 to the baud rate set for can1 |
I don't know how or why enabling one before the other works...but it has!! I am now getting data and the car is happy as Larry! Good work sir, good work! |
Good to hear, I believe it is to do with spi addresses as they get initialised. Which other buttons are you after, I have a bunch of them done, just not implemented yet. |
Is this file the values you currently have for the Medium Speed? (main focus for now) |
I've actually sneakily moved it all to a new repo, it needed a real tidy up! best place is to look here https://github.com/rhysmorgan134/jaguar-xf-canbus-app/tree/carplay/app/public/modules/mediumSpeed the name of each file is the decimal representation of the ID this line is then in every instance
that array then contains all the bytes, then just see what the bytes are refencing you can see there the entire byte is for light resistance but in the same ID is the selected gear, which refences seperate bits of the byte
|
The file you linked, is for sending commands out, so if it is just buttons you need, it is likely contained in the json. Feel free to join the slack here https://join.slack.com/t/canbusjagdeve-hl07333/shared_invite/zt-17oty0xdt-NRVILlQ0xn_xcL2p7I77RA |
Hello, I have this working perfectly on my RPi!
Thanks for your work on this!
One thing I am struggling with though, how do we set the Manufacture Icon on the device to show as say "Jaguar" rather than defaulting to "Audi MMI" - I can't seem to find any config files for the AutoKit it is using.
Installing AutoKit onto my Android device brings up the device settings and it is settable there
How have you changed yours?
Thanks!
Joshua
The text was updated successfully, but these errors were encountered: