Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > BMW SAV Forums > X5 (E53) Forum
Arnott
User Name
Password
Member List Premier Membership Today's Posts New Posts

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-19-2014, 05:11 PM
Member
 
Join Date: Aug 2009
Location: UK
Posts: 12
travellingkiwi is on a distinguished road
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
Reply With Quote

Sponsored Links

  #2  
Old 04-20-2014, 03:44 PM
Member
 
Join Date: Mar 2013
Location: Detroit, Mi.
Posts: 509
BigBlack48is is on a distinguished road
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!
__________________
2006 X5 48is Black / Black - LED AEs - FCAB - GAS 1.2bar cap
Reply With Quote
  #3  
Old 04-21-2014, 05:33 PM
Member
 
Join Date: Aug 2009
Location: UK
Posts: 12
travellingkiwi is on a distinguished road
Quote:
Originally Posted by BigBlack48is View Post
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
Reply With Quote
  #4  
Old 04-21-2014, 06:50 PM
Member
 
Join Date: Jul 2012
Location: SLC
Posts: 193
bugbyte is on a distinguished road
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.
__________________
2003 X5 4.4i w/ Sport Pkg, Cold Weather Pkg.
2010 X5 4.8i w/ Sport Pkg at 19,000 miles
Reply With Quote
  #5  
Old 04-21-2014, 07:29 PM
Member
 
Join Date: Mar 2013
Location: Detroit, Mi.
Posts: 509
BigBlack48is is on a distinguished road
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
__________________
2006 X5 48is Black / Black - LED AEs - FCAB - GAS 1.2bar cap
Reply With Quote
  #6  
Old 04-22-2014, 02:51 AM
Member
 
Join Date: Aug 2009
Location: UK
Posts: 12
travellingkiwi is on a distinguished road
Quote:
Originally Posted by bugbyte View Post
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
Reply With Quote
  #7  
Old 04-22-2014, 02:57 AM
Member
 
Join Date: Aug 2009
Location: UK
Posts: 12
travellingkiwi is on a distinguished road
Quote:
Originally Posted by BigBlack48is View Post
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
Reply With Quote
  #8  
Old 04-22-2014, 09:54 AM
Member
 
Join Date: Apr 2011
Location: Pleasant Hill, CA
Posts: 466
jcp240z is on a distinguished road
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
__________________
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams

2003 X5 4.6is Estoril Blue
2005 Infiniti G35X
1972 Datsun 240Z
1991 Isuzu Impulse XS Sold
1972 Fiat 850 Spyder Donated
1972 Datsun 240Z Sold
1972 Datsun 510 Sold
Reply With Quote
  #9  
Old 04-22-2014, 03:17 PM
Member
 
Join Date: Aug 2009
Location: UK
Posts: 12
travellingkiwi is on a distinguished road
Quote:
Originally Posted by jcp240z View Post
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
Reply With Quote
  #10  
Old 11-27-2016, 07:55 PM
Member
 
Join Date: May 2014
Location: Auckland, New Zealand
Posts: 7
Chalky is on a distinguished road
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 View Post
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
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 01:51 AM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.