Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: IBus and RR

  1. #1
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852

    IBus and RR

    I've transfered a message from IBus (RS232) onto roadrunner as a {PGUP}.

    Why do I get window caption is "" and its classname is "ThunderRT6FormDC" with spy++ on RoadRunner?

    If I just press alt-tab the application name is RoadRunner, and that is what IBusComM finds too...

    One more thing. When I start IBusComM it initially got a message box saying could not open com. That is not correct however, the port is sucessfully opened, so I've removed that and rebuilt the exe.

    Is this the way you bmw people use RR?

    Regards,Blof

  2. #2
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    hey blof. first post I'ev seen here by you, I usually see your name pop up on the hacktheibus group!

    have a look at this link for a scrolling ibuscomm/rr combo, and look for CDRskull's original ibuscomm modifications

    hope that helps

  3. #3
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    Hi Sama, and thanks for your help. Nice car!

    Yes, I'm a HackTheIbusser, but I'm moving towards these forums more and more. The q's regarding IBus itself and harnesses etc are getting fewer and fewer. At last...

    I think I get the native RR thing now. Native RR commands are commands rather than keypresses. In RR they are represented as strings. IBusComM sends keypresses, but I guess CDRSkull has added the feature to send strings from IBusComM. Have not seen any code around.

    Please confirm if I'm on the right track.

    What about the window caption and the reserved free com port?

  4. #4
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    I guess you're talking about AppCaptionSendEventTo. this thread is the one I meant by CDRSkull. the only changes are to the ibus ini file here to make it work with RR.

    the native RR commands were added to ibuscomm by DarthTater. The source code is in the thread in my signiture

    what reserved free comport?

  5. #5
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    Hi Sama, a few hours close-eye.

    Now I've had a look at all your links, not just the car. (I did not know it was links.... Newbee....). But where is the source code???

    Amazed to see you have the voompc too. I have a blue one. Look at members.chello.se/bengt-olof.swing (yes, swing is my surname. 17'th century swedish soldiers name. Anyway) (Do you mind if I put up a link to your thread on my site?)

    You are a bit further down the road though. I will add more pics later tonight maybe. I've also got a 2.5 GB disk. How did you mount yours, and which way to turn the 2.5" -> IDE adapter? (I have not turned the power on yet!)

    And I have not sold my MD business system and CD changer yet. My car is still working. I've got the whole thing on my desk still, which is nice..
    ( I have to sell the BMW stuff before my creditcard invoice comes on the pc gadgets :-) )

  6. #6
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    found the source!

  7. #7
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,498
    Hi chaps.. I edited the source to send the commands via RR's SDK, this means that RR doesnt need to be in focus and it seems to work flawlessly :-) theres a thread here somewhere.. and I think its was version 2.0 that included hibernation so if your using the ibus pcb on a usb -> serial convertor it would reconnect.

    CdR

  8. #8
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    Hi CdRsSkuLL

    So what is the differens between your change and joseph litko's? Is it the forceforground as shown in code cut below from 1.0.72?

    He added RRCommand into version 1.0.72 (well, its been added since 1.020 that I was using) so that a native RR command could be sent as a string to RR.

    http://web.mac.com/jlitko/iWeb/BMW%2...FCAD62486.html

    From what I've heard you have not made your code public? I think that was why Joseph did his own. Can you straighten out any missunderstandings there. If your not sharing your change, why is that? Not good enough? :-) Acctually I have not found the exe even (not that I've been looking really)

    Code:
    ' Send RR Commands if have to
    If IBusMsg.RRCommand > "" Then
    If AppForceForegroundOnEvent Then ForceForegroundWindow (hWndTargetApp)
    COMSend "RoadRunner", IBusMsg.RRCommand
    If LogMode Then
    ListLog.AddItem "RR Command was " & IBusMsg.RRCommand
    End If
    End If

    Cheers,
    Blof

  9. #9
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,498
    I would of released the source if asked, didnt get asked.. its now been lost ages ago in a format. My version didnt keep the original SendKeys command, I just replaced this with the ComSend command and added the com module. There wasnt any versions about when I did it. I did it for myself at the time and just posted the exe in case it would be any use to anyone else. On the version 2 I did was to add the ability to reconnect the device if it was connected via usb if you hibernated.

    Also the above code doesnt need the
    If AppForceForegroundOnEvent Then ForceForegroundWindow (hWndTargetApp) line..

    I wasnt keeping my code secret or anything.. I did it over a year ago, since sold my car and moved on.. the first post was
    I-BUS sterring buttons now working for RR

    hope this clears stuff up

    CdR

  10. #10
    Maximum Bitrate bes51659's Avatar
    Join Date
    Sep 2005
    Location
    Vasastaden, Stockholms Län, Sweden, Sweden
    Posts
    852
    Yes it does.
    Thanks a lot.
    Regards,
    Blof

    clicked on your ad links :-)

Page 1 of 2 12 LastLast

Similar Threads

  1. BMW I-Bus How to connect..
    By CdRsKuLL in forum General Hardware Discussion
    Replies: 106
    Last Post: 08-07-2009, 12:52 AM
  2. Some RR Queries -BMW Ibus / Sound Card issues)
    By swordfishunter in forum RR Skins
    Replies: 2
    Last Post: 04-17-2006, 11:34 AM
  3. BMW iBus interface not working anymore
    By aiml27 in forum RR Bug Tracker
    Replies: 1
    Last Post: 02-21-2006, 11:24 PM
  4. RR running like a turtle
    By Mattkins99 in forum Road Runner
    Replies: 14
    Last Post: 06-20-2005, 07:06 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
  •