Xoutpost.com

Xoutpost.com (https://xoutpost.com/forums.php)
-   X5 (E53) Forum (https://xoutpost.com/bmw-sav-forums/x5-e53-forum/)
-   -   iBus Protocols (https://xoutpost.com/bmw-sav-forums/x5-e53-forum/96788-ibus-protocols.html)

travellingkiwi 04-19-2014 05:11 PM

iBus Protocols
 
Is anyone round here doing anything with iBus (i.e replacing CDChangers)?

I have been decoding some of the iBus packets... To look at replacing a (broken) cd changer with a raspberry pi... But I'm stuck today on a packet that comes in with the sequence

src 0x68 len 0x05 dst 0x18 0x38 0x02 0000 0x4f Checksum OK

i.e. [0x68 0x05 0x18 0x38 0x02 0x00 0x4f]

So it LOOKS like a command from the Radio (0x68) to the CD (0x18) to do something with the CD (0x38)... but the parameter 0x02 seems to be undocumented anywhere around that I can find... e..g 0x38 0x00 is a request for status. 0x38 0x01 is stop playing. 0x38 0x03 is start playing... But what's 0x38 0x02? Anyone known?




H

BigBlack48is 04-20-2014 03:44 PM

I think this is the page you are looking for.

took me a while to go through my bookmarks, I am interested in your findings with the pi + IBUS interface.

post some steps you have to take in order to get the prize ;)

Wish the best of luck to you!

travellingkiwi 04-21-2014 05:33 PM

Quote:

Originally Posted by BigBlack48is (Post 991205)
I think this is the page you are looking for.

took me a while to go through my bookmarks, I am interested in your findings with the pi + IBUS interface.

post some steps you have to take in order to get the prize ;)

Wish the best of luck to you!

Was there supposed to be a URL in there? :)

H

bugbyte 04-21-2014 06:50 PM

What kind of interface are you using to send and receive iBUS messages? I'm in the process of building the interface from restlers site to work with NEXUS 7. I will have to figure out how to fix the alternator whine before attempting this idea.

BigBlack48is 04-21-2014 07:29 PM

I = stupid;

Sorry about that travellingwiki

www.alextronic.de/bmw/projects_bmw_info_ibus.html# _3 - Translator

or since your from the UK, I will be nice enough to undo the translation ;)

//BMW-Projekte/I-Bus Informationen

travellingkiwi 04-22-2014 02:51 AM

Quote:

Originally Posted by bugbyte (Post 991340)
What kind of interface are you using to send and receive iBUS messages? I'm in the process of building the interface from restlers site to work with NEXUS 7. I will have to figure out how to fix the alternator whine before attempting this idea.

I'm using a Resler v6 USB adapter. (I also have one of his earlier rs232 adapters that I was going to use before i used the serial port for something else).

H

travellingkiwi 04-22-2014 02:57 AM

Quote:

Originally Posted by BigBlack48is (Post 991349)
I = stupid;

Sorry about that travellingwiki

www.alextronic.de/bmw/projects_bmw_info_ibus.html#_3 - Translator

or since your from the UK, I will be nice enough to undo the translation ;)

//BMW-Projekte/I-Bus Informationen

Ah... alextronic... Yes, I've been through his site... The translation is... weird. Google does a better job, but neither seem to do very well on technical pages :)

However he doesn't document the 0x38 0x02 message either. Nor does the v5 PDF from the old yahoo groups iBus discussions...

The last 2 days have been spent moving from a pinboard and lots of loose wires to some triboard and everything soldered and neat. So not had a chance to do more testing yet. Also for some reason Wifi fails when it's in the car so I need t move stuff around to get my serial port back (Currently it's connected to the Upis control interface but I think I'll connect it to the USB interface instead and put the getty back so I can connect in)

In theory it works (i.e. it works using a test program that fires messages at it), but that's making assumptions about which packets identify the player, that don't seem to be true in my X5...

H

jcp240z 04-22-2014 09:54 AM

Check this link. It is someone's code for their ibus interface. The string you are asking about is in there http://pecknet.com/cdChanger.pl

travellingkiwi 04-22-2014 03:17 PM

Quote:

Originally Posted by jcp240z (Post 991398)
Check this link. It is someone's code for their ibus interface. The string you are asking about is in there http://pecknet.com/cdChanger.pl

Hey cool. Thanks for that. He's decoded it as "Request to play 2"... I'd assumed it was continue on where you left off from. So maybe that's the same thinking...

H

Chalky 11-27-2016 07:55 PM

Hi, are you still working on this? I can have a play in my E38 and try to figure this out...I've got some custom I-bus capture/trigger code, should be able to make a guess at this.

Edit: oops, just saw previous answer!

Quote:

Originally Posted by travellingkiwi (Post 991115)
Is anyone round here doing anything with iBus (i.e replacing CDChangers)?

I have been decoding some of the iBus packets... To look at replacing a (broken) cd changer with a raspberry pi... But I'm stuck today on a packet that comes in with the sequence

src 0x68 len 0x05 dst 0x18 0x38 0x02 0000 0x4f Checksum OK

i.e. [0x68 0x05 0x18 0x38 0x02 0x00 0x4f]

So it LOOKS like a command from the Radio (0x68) to the CD (0x18) to do something with the CD (0x38)... but the parameter 0x02 seems to be undocumented anywhere around that I can find... e..g 0x38 0x00 is a request for status. 0x38 0x01 is stop playing. 0x38 0x03 is start playing... But what's 0x38 0x02? Anyone known?




H



All times are GMT -4. The time now is 06:21 AM.

vBulletin, Copyright 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved.