Page 21 of 22 FirstFirst ... 111213141516171819202122 LastLast
Results 201 to 210 of 213

Thread: IBusCommunicatoRR [Update Dec 2011]

  1. #201
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    396
    Live at the moment, i'm testing the pdc.skin in my car (E39) and it works.

    i have just copied the pdc files and on, down to my skin.

    did you enable the pdc option in ini-file?
    Attached Files Attached Files
    Last edited by harryberlin; 10-14-2013 at 12:49 PM.

  2. #202
    Newbie
    Join Date
    Oct 2013
    Location
    The Capital City of Salt
    Posts
    5
    Hey all, Thanks for the replies... I took it upon myself to make my own skin and was able to get the PDC to work with that, I'm not sure what was wrong with using janne's skin. I made some new, slightly larger sliders for the PDC as well, I felt the others were a little counter-intuitive. These ones draw longer as the object gets closer to impact, but stay a solid color that changes from green to red progressively (See attachment). They're also orientated for a verticle display, but a simple right click|rotate command in windows 7 can fix change them to a horrizontal display. I've attached them if you're interested.

    Next, I'm having a little trouble with the CD changer emulation. I've monitored the communication between cd changer and the other devices on the ibus and added those values to the plugin's ini, but i can't get it to work. I've had moderate success with several different configurations, but the most i'm able to do is get it to change to the cd source for about 30 seconds before it dumps me back to the radio.

    First, a few questions... first i should specify that I am turning off my ignition, removing the key, unplugging my cd changer and restarting the system before testing emulation.

    1) let's get the noob question out of the way, when adding the hex codes to the msgtemplate of the ini, do i include the checksum at the end?

    2) this is gonna ramble a bit so bear with me! on startup, I've noticed that my cd changer announces itself to the LOC, rather than to RAD, And looks as such... "CDC->LOC 18 04 FF 02 01 E0 Device status ready after Reset." is it normal to have it announce to LOC rather than rad? does it matter? I've tried using this as the template for RAD_CDPOLL with little success. sometimes it detects a cd player present, mostly it doesn't. looking at my logs, when the radio asks the cd changer for it's status, the CDC responds with something along the lines of

    "18 0A 68 39 00 0C 00 3F 00 01 01 70 CDC->RAD CD_status Stop Request=Pause CD=1 Track=1 CDs_Loaded=P1,P2,P3,P4,P5,P6"

    Depending on what actions were last taken by the boardmonitor(switching sources, turning off the radio, etc.) its either paused, stopped, playing, etc... so what i'm wondering is, should i try and mimic this behaviour? I was thinking of running the riderunner command on startup that sends the "Device status ready after reset" command to the ibus, and then creating a variable to be used in the "ReplyMsgID=" field of ID10CD_RADPOLL) that would change depending on the last communication from the radio/board monitor. So if the radio asks the CDC to pause, next status request will say that the CDC is paused, not playing track 1 on cd 1 with discs loaded, etc etc... basically i'm hoping it will work if i can create a method that will mimic the relationship between the CDC and it's ibus brothers as close as possible. what is the opinion of the experts?



    Name:  Slider Demo.png
Views: 196
Size:  38.0 KB
    Attached Files Attached Files
    Last edited by AlphaLlama; 10-21-2013 at 01:28 PM.

  3. #203
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,856
    You can use the forum for upload your files and not a web service where we must to buy ! :-(

  4. #204
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    396
    1. yes you must include the checksum.

    2. i have problems with cd-changer too. i have seen on my bus the real cd changer in my car has an other adress CDCD(76) and not CDC(18). maybe thats the problem. next time i will try with other telegrams from log-file of my cd-changer

    3. i agree with pierrotm777, please upload here. so it stays for a longer time.
    Last edited by harryberlin; 10-20-2013 at 02:09 PM.

  5. #205
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,856
    In the original code the CD is define by these lines:

    ' CD Changer Status
    IBusMsgIndex(195) = 195
    IBusMessageTemplates(195).ID = 195
    IBusMessageTemplates(195).IDName = "CD_CHANGER"
    IBusMessageTemplates(195).Label = "CD Changer"
    IBusMessageTemplates(195).MsgTpl = "180A6839XXXX00XX00XXXXXX"
    IBusMessageTemplates(195).Parse = True
    IBusMessageTemplates(195).System = True
    IBusMessageTemplates(195).Index = 1
    IBusMessageTemplates(195).msgget = ""
    IBusMessageTemplates(195).msgset = ""
    IBusMessageTemplates(195).Len = Len(IBusMessageTemplates(195).MsgTpl)
    IBusMessageTemplates(195).ProcessEvents = -1
    IBusMessageTemplates(195).ReplyMsgId = -1
    IBusMessageTemplates(195).ButtonState = False
    IBusMessageTemplates(195).LastIDState = -1
    IBusMessageTemplates(195).ReleaseID = -1
    IBusMessageTemplates(195).RRCommand = ""
    IBusMessageTemplates(195).PressOrHold = -1

    ' CD Changer announce
    IBusMsgIndex(196) = 196
    IBusMessageTemplates(196).ID = 196
    IBusMessageTemplates(196).IDName = "CD_CHANGER_INIT"
    IBusMessageTemplates(196).Label = "CD Changer Init"
    IBusMessageTemplates(196).MsgTpl = "1804FF0201E0"
    IBusMessageTemplates(196).Parse = True
    IBusMessageTemplates(196).System = True
    IBusMessageTemplates(196).Index = 1
    IBusMessageTemplates(196).msgget = ""
    IBusMessageTemplates(196).msgset = GetAsciiFromHex(IBusMessageTemplates(196).MsgTpl)
    IBusMessageTemplates(196).Len = Len(IBusMessageTemplates(196).MsgTpl)
    IBusMessageTemplates(196).ProcessEvents = -1
    IBusMessageTemplates(196).ReplyMsgId = -1
    IBusMessageTemplates(196).ButtonState = False
    IBusMessageTemplates(196).LastIDState = -1
    IBusMessageTemplates(196).ReleaseID = -1
    IBusMessageTemplates(196).RRCommand = ""
    IBusMessageTemplates(196).PressOrHold = -1

  6. #206
    Newbie
    Join Date
    Oct 2013
    Location
    The Capital City of Salt
    Posts
    5
    Hmmmm... Thank you for that, pierrot. That has given me some ideas on how to go about this. Also, I have attached the slider archive to my above post as requested.

  7. #207
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    396
    Last Days i added some things to handle RR much better in my BMW E39 with IKE High and MK4 Navigation-Computer.
    I was also in contact with JanneH0
    Here is a new Update.
    I try to janneH0 add this to his first Post.

    Oct 23 2013 Update.
    Added setting to ini file: load/save backuped obc values, show/hide units of some obc values
    Added IbusCommunicatoRR.log to log some Strings
    Added new Variables:
    -$IBusCommunicatoRR_ARRIVAL$
    -$IBusCommunicatoRR_LIMIT$
    -$IBusCommunicatoRR_OBCTIMER1$
    -$IBusCommunicatoRR_OBCTIMER2$
    -$IBusCommunicatoRR_STOPWATCH$
    Added new CMDs to
    -Set Distance
    -Set Speedlimit
    -Set Timer 1 or 2
    -Call a Phonenumber
    -OBC Request
    Added IND for Limit
    Updated IbusCommunicatoRR;sendtoibus (now it works without Checksum)
    Updated increased the Ibus IDs up to 300
    Updated ReplyMsgID function
    Updated ReadMe.txt

    Attached File was added at first Post.
    Last edited by harryberlin; 10-24-2013 at 02:43 AM.

  8. #208
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,619
    Quote Originally Posted by harryberlin View Post
    Last Days i added some things to handle RR much better in my BMW E39 with IKE High and MK4 Navigation-Computer.
    I was also in contact with JanneH0
    Here is a new Update.
    I try to janneH0 add this to his first Post.

    First post updated.

  9. #209
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    396
    Thx
    Last edited by harryberlin; 10-24-2013 at 02:44 AM.

  10. #210
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    396
    So, i added some information again. And continuend the Sample Skin.
    The Solution with the Indicator of Limit was a Mistake. The Telegram don't work when other Indicators are turned on.
    Now it is fixed.
    At the Time i can get the IKE Settings, Units like km/h, mph, km, mls,...
    Next Step is to create the IBus messages to set IKE Settings.
    Before release i want to test some time.

    Here are some Screens:
    Name:  Bild1.png
Views: 163
Size:  294.8 KB
    Name:  Bild2.png
Views: 166
Size:  296.6 KB
    Name:  Bild3.png
Views: 169
Size:  297.3 KB
    Name:  Bild4.png
Views: 154
Size:  278.6 KB
    Name:  Bild5.png
Views: 155
Size:  278.3 KB
    Name:  Bild6.png
Views: 185
Size:  279.7 KB
    Last edited by harryberlin; 10-28-2013 at 03:05 PM.

Similar Threads

  1. Build on Mandriva 2010
    By yoshihiro in forum RevFE
    Replies: 28
    Last Post: 02-23-2010, 06:50 AM
  2. music defaults to first song on open
    By soundman98 in forum Road Runner
    Replies: 18
    Last Post: 11-23-2009, 03:36 AM
  3. Replies: 13
    Last Post: 05-28-2009, 04:18 PM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 09:55 AM
  5. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •