Page 1 of 4
✅ BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:07 pm
by jeff
Awesome! For your BMW can you do a quick walk through your vehicle parameters when connected? This will fill your OBD scan logs with the results from talking to the car and I can use that to confirm the parameter values. Once you've done that send the logs to the same email again.
Re: BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:09 pm
by jeff
Oh! Let's move the BMW discussion to a separate thread btw, I'll do that now.
Re: BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:15 pm
by sidbmw
Will do in a bit. Screenshot is for Acura btw (for anyone else looking in the future).
Also, the BMW does have a valid internet connection and I can see fuel/tire pressure etc status in the mybmw app.
Re: BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:17 pm
by jeff
BMW accounts aren't supported yet, but we can see if we can pull those parameters from OBD. Let me take a quick look.
Re: BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:18 pm
by jeff
Is it already pulling your odometer reading?
Re: BMW X3 M40i support
Posted: Sat Sep 28, 2024 3:27 pm
by jeff
Just added X3_ODO in SHA: 89ed6c7
. Let me know if that loads; I have a feeling there's some extra configurations we might need to add to support BMW.
Re: BMW X3 M40i support
Posted: Sun Sep 29, 2024 1:08 am
by sidbmw
From what I saw in bimmercode, I think it has 29 ECU's lol. So might need to talk to the correct ECU to get odometer reading. Chatgpt says you gotta talk to the instrument cluster ECU:
Code: Select all
ATZ # Reset the OBD-II adapter
ATSP6 # Set the protocol to ISO 15765-4 CAN (11-bit ID)
ATSH0x300 # Set the header to the Kombi (Instrument Cluster)
22 F190 # Request the odometer reading
I was writing my own little primitive app to learn Swift and do something very similar to Sidecar haha. Might modify it a bit to help debug
Re: BMW X3 M40i support
Posted: Sun Sep 29, 2024 2:16 pm
by jeff
Looks like we're getting NO DATA responses, so may need to do some extra configuration of the scanner before we can pull values. Looking into this.
Re: BMW X3 M40i support
Posted: Sun Sep 29, 2024 2:29 pm
by jeff
Ok we'll need to do some manual testing to see how we can get the car to talk to us. Here's a few command sequences to try:
Check that we can get the VIN
Check that we can get fuel level
Is setting the receive address breaking things?
Is setting both breaking things?
Send logs after please!
Re: BMW X3 M40i support
Posted: Fri Oct 04, 2024 8:31 pm
by sidbmw
Just sent you logs. Throttle position and speed work but nothing else.