Announcement

Collapse
No announcement yet.

ibuscomm for mac.. help with porting

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

  • ibuscomm for mac.. help with porting

    ok, this is probably the wrong place the post this incase I mess it up

    id like to get some interaction between mac and bmw ibus, however there doesnt appear to be anything like ibuscomm for windows available..

    now im definetly no programmer, however I do have experience with writing html, some basic (a while ago) and some older languages that have probably long since disappeared!..

    now before i go off and start learning a programing language thats no use, or working with programs which are going to hinder more than help, I wondered if you mac guys could point me in the right direction.

    any recommendations or pointers what would be best to use? I have a copy of ibuscomm, with a few mods made by some of the guys on this board (I think darthtater wrote some of it) which appears to be in VB, so something that would be suitable for porting that across to mac. I was looking today, and it seems there are applications out there which could port to a mac/linux/windows format in one go which would be a bonus (unless its going to be harder work, in which case f-it, I dont need to make it any harder than it already will be!..)

    Im probably going to be back to bug some of you when Ive got this done for testing, or maybe asking for answers if I get totally stuck, and dont expect this to be done this side of xmas; given the depth of the task for someone with my meager abilities its probably going to take me quite a while, but its something id like to do and will make it available for anyone else who wants it once its done..

    b

    ps.. any resources or publications that might help me out in this project, please let me know here too!...

  • #2
    You're in luck. Apple makes a good IDE called XCODE. You can download it for FREE. You also get Interface builder for free, too. Also, check your install disk. It has developer tools on it including code samples.

    Most Apple programming is done in a language called Objective-C. It's like C, but not quite. Very object oriented. In order to get the full power of the Cocoa frameworks, you'll want to learn Objective-C.

    In addition, you can become an Apple developer for free and you get access to their devel site and places to ask all kinds of questions. I've been coding in Applescript but am seriously considering taking up Objective-C because you don't have to compromise any of your functionality.

    If you are going to be talking to interface level stuff, you need to do it in a native language like Obj-C.
    Originally posted by ghettocruzer
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

    Comment


    • #3
      I completely agree with Bugbyte. Apple's XCode & InterfaceBuilder are wonderful development environments, and best of all they are completely free (and often updated.)

      You (catboy) said, perhaps more elegantly, that you wont want to be messing around with half-assed programs to get the job done. You are probably best off just picking up Cocoa & ObjectiveC to get it done right. You said you've done some programming BASIC before. If you have an understanding of programming languages (ie, why you would want to run a loop, function calls, returns, variables, etc), then learning ObjectiveC is mostly a matter of syntax.

      Good luck!
      -

      Comment


      • #4
        Although I do agree with recommendation of Objective C and XCode, I can't really agree with this:
        Originally posted by aychamo View Post
        then learning ObjectiveC is mostly a matter of syntax.
        The syntax is an unimportant detail. ObjC is rather special because it is one of the very few truly object-oriented and dynamic languages and environments. Many common techniques from other languages are therefore either unusable or very inefficient.

        It is not that easy to switch to ObjC from say C++, Objective Pascal, VB, php or similar pseudo-objective language. It is somewhat easier to switch from C#/.NET (which appear to be greatly "inspired" by ObjC/Cocoa). Few of the bigger differences:

        - you do not call methods, you send messages to objects
        - late bindings, generic data type
        - more or less everything is an object (incl. the messages)
        - very flat class hierarchy, minimal need for subclassing

        Comment


        • #5
          thanks for the info guys.. as I said its been a very long time since Ive done any proper programming, so its gonna be like starting again, so in a way thats why I want to learn something worthwhile using; its not like Im coming from another programing background, so I dont have a native language to consider!..

          I think the last thing I used was turbo pascal which was about 8yrs ago, so its gonna be a slow project, but I would like to get it done as it would give me a lot of extra functionality in my car that I could have for free, straight away if I used a windows box.. I think its a sign of how underwhelmed with PCs I am (since swapping to a mac at home) that Id rather learn to do this myself and port than build a pc

          b

          Comment


          • #6
            OK, Im gonna start posting useful bits of info here which Im going to use/add to code as I go, but by putting it here, if other people want to use it they can...

            Ibus codes for steering wheel buttons, nav information and monitor buttons and knobs

            Comment


            • #7
              Another source for IBUS addresses, codes

              HackTheIBUS Forum: IBUS Device Addresses

              HackTheIBUS Forum: IBUS Codes

              Comment

              Working...
              X