Announcement

Collapse
No announcement yet.

IBus and RR

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    My car installation mp3car thread "showing off project"

  • #2
    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
    Current:
    [BMW E46 ///M3 Convertible]

    Previous:
    [BMW E31 850CSi]|[BMW E39 535i]|[BMW HVAC Research]|[IBUS Scrolling Text]|[BMPuter]|[Velocity]|[TomTom]|[Vision]|[Space Navigator Driver]|[Super Fast Boot]

    Comment


    • #3
      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?
      My car installation mp3car thread "showing off project"

      Comment


      • #4
        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?
        Current:
        [BMW E46 ///M3 Convertible]

        Previous:
        [BMW E31 850CSi]|[BMW E39 535i]|[BMW HVAC Research]|[IBUS Scrolling Text]|[BMPuter]|[Velocity]|[TomTom]|[Vision]|[Space Navigator Driver]|[Super Fast Boot]

        Comment


        • #5
          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 :-) )
          My car installation mp3car thread "showing off project"

          Comment


          • #6
            found the source!
            My car installation mp3car thread "showing off project"

            Comment


            • #7
              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
              Follow me on Twitter

              http://www.FreeICE.co.uk

              Comment


              • #8
                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
                My car installation mp3car thread "showing off project"

                Comment


                • #9
                  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
                  http://www.mp3car.com/vbulletin/show...hlight=rr+ibus

                  hope this clears stuff up

                  CdR
                  Follow me on Twitter

                  http://www.FreeICE.co.uk

                  Comment


                  • #10
                    Yes it does.
                    Thanks a lot.
                    Regards,
                    Blof

                    clicked on your ad links :-)
                    My car installation mp3car thread "showing off project"

                    Comment


                    • #11
                      cheers m8 :-)

                      CdR
                      Follow me on Twitter

                      http://www.FreeICE.co.uk

                      Comment


                      • #12
                        I still have problems sending commands to roadrunner.

                        I've downloaded 1.1.89 of IBusCom from DartTather with source and tried to send 's', 'stop' and 'exit' and put a breakpoint at RR Exec if that CODE was received but its no trap. And nothing happens if I run from outside Visual Basic.

                        (RRCommand="EXIT" in IBusComM.ini)

                        When I start IBusComM everything looks fine.
                        IBusComM trace says -- RR Command was "EXIT"

                        I have no other window called "RoadRunner" .

                        I'm running win XP pro.

                        Any ideeas? I'm sure its something really stupid!
                        My car installation mp3car thread "showing off project"

                        Comment

                        Working...
                        X