Announcement

Collapse
No announcement yet.

Bluesoleil SDK Free - Supports HFP on the PC!

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

  • Bluesoleil SDK Free - Supports HFP on the PC!

    Hi all,

    I have been playing for the last couple of days with the latest Bluesoleil SDK (http://www.bluesoleil.com/products/i...=bluesoleilapi)

    It's free and allows you to connect to the PC with your mobile phone and use the PC as a handsfree device.
    I have been looking at the sample app that comes with the SDK and can sucessfully connect to my phone and intiate a HFP connection - I can dial via the PC and use the PC's speakers and MIC for the call!

    The downside is the sample app is written in C and the SDK is designed for used with VC++.
    I only have any knowledge of VB.net so I am struggling to do much with it..

    Are there any coders out there who could get this usable by the community by either; wrapping the functions in the API/Sample so we can use it from our own .net applications?
    OR
    Put some window messaging into the sample app so it can be controlled via a frontend ?

    As it stands the sample is fully functional for dialling etc.. there just isn't a nice way to control it (its currently CLI)

    Hope someone is able to take this on as it's a much needed feature in the carPC world!

  • #2
    when all else fails beg mitch!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

    Comment


    • #3
      begging

      please mitch!!!

      (I'll go on, since I know others are looking also)

      please thunderstick






      related thread

      http://www.mp3car.com/vbulletin/rr-p...one-exist.html
      TruckPC - gutted, being used for test setup
      BoatPC - All in 1 in cuddy, N7 using VNC on dash, RR
      BlazerPC - Nexus 7 with Timur's USBROM

      Comment


      • #4
        you can't directly call a LIB from .NET, it needs to be a DLL. You could create a thin DLL wrapper around the LIB that exports function calls that you need to use. It's a pain. Too bad they don't provide a DLL along with the LIB.

        Actually, just looking through the docs the DLL is with the full software package and is installed in the Windows system directory. So you could probably access that. Unfortunately, the bluetooth on my laptop does not appear to be supported by the software.
        EWF, HORM, MinLogon on XP.

        Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
        Win Embedded Std 2011 RC
        OCZ Vertex Turbo 30GB SSD
        Lilliput 629 Transflective, WRX Screen Mount
        BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
        VoomPC 2

        Comment


        • #5
          Originally posted by SFiorito View Post
          Actually, just looking through the docs the DLL is with the full software package and is installed in the Windows system directory. So you could probably access that. Unfortunately, the bluetooth on my laptop does not appear to be supported by the software.
          Interesting.. hadn't spotted that - I presume you are talking about BsSDK.dll in System32?
          I tried to reference it in Visual Studio but it says it can't load it..
          I'm guessing that we need to P/Invoke or something - Not sure about that need to read up a bit more on this sort of thing

          Edit: Forgot to attach the file for anyone that wants to have a poke around with it.
          Attached Files

          Comment


          • #6
            Right I'm making progress... thanks to the help of SFiorito for pointing out the DLL!

            I have now just managed to import some of the DLL functions in VB.net and I can now connect to the stack and start / stop Bluetooth from within VB.net

            If there are any other Devs that want to have a go at this feel free!
            I think it could be a slow process for me as I'm learning this as I go..

            Comment


            • #7
              Right, you still need to use DLLImport on it.

              Take a look at this tool to help out: http://www.codeplex.com/clrinterop/R...eleaseId=14120
              EWF, HORM, MinLogon on XP.

              Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
              Win Embedded Std 2011 RC
              OCZ Vertex Turbo 30GB SSD
              Lilliput 629 Transflective, WRX Screen Mount
              BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
              VoomPC 2

              Comment


              • #8
                Thanks for the link will check that out.
                So far I have the following working using DLLImport;
                Connect to SDK, Start / Stop BT Device, Set Local BT Device Class.
                Currently trying to activate the relevant HFP services which is proving a little more tricky.. making some slow progress though.

                Edit: NVM figured it out..

                Comment


                • #9
                  I've been messing with this myself for the last few weeks.

                  I've managed to connect everything etc and even managed to accept a call. All from within Roadrunner. Whats bugging me at the moment is making a call. Cant seem to pass the phone number in correctly. Still progress is being made.

                  I've added it to lucifers mobile phone plugin so hopefully will end up with an atsm and bluetooth version.

                  edit: As of 5 mins ago I got calling out working too :-)

                  Comment


                  • #10
                    Thanks for the post lambospirit, glad to see I'm not the only one playing around with this

                    What language are you working in ?

                    Also would you mind posting or emailing your source so I can see how you've done it ?

                    I have some basic connectivity to the SDK and getting the handle of a remote device but there are a few things I'm getting stuck on as I'm in fairly unknown territory, so it would be nice to see some working code and figure out how it all ties together

                    Cheers!

                    Comment


                    • #11
                      glad to see you guys working together on this, its exciting to see a real phone solution for road runner within grasp

                      hopefully it will be easy to modify existing phone control skins to have nice integration with each persons skin of choice

                      Keep up the good work!!
                      TruckPC - gutted, being used for test setup
                      BoatPC - All in 1 in cuddy, N7 using VNC on dash, RR
                      BlazerPC - Nexus 7 with Timur's USBROM

                      Comment


                      • #12
                        If you guys pull it off, you will be gods!!!!
                        Sig, smig...

                        Ford Flex Toshiba Excite 7.7 Install

                        CoverMess - Cool Flash Covers

                        FlashFlex - Flash Components for your skinning pleasure

                        Mazda Millenia, Road Runner

                        YouTube - Road Runner, IGO8 PC, Dashcommand OBD, Visteon HD Radio

                        Comment


                        • #13
                          Well here's my attempt. Check it out and see what you think

                          http://www.mp3car.com/vbulletin/rr-p...ne-plugin.html

                          Comment


                          • #14
                            Wow am I glad I checked this site before I started doing the exact same thing myself... I'm working on my own front end and I'm interested in integrating bluesoleil into it as well so if you need and help with a wrapper dll for vb.net Ill be more than happy to do what I can.

                            Edit: I read the other topic too by lambosprit, is the wrapper dll in that rar?
                            "Mess with the best, die like the rest."
                            Work Log --> Old Car (Totaled)
                            Work Log v2 --> New Car (Totaled)
                            Work Log v3 --> GMC Suburban K2500 (Engine died)
                            Work Log v4.5 --> 05 Toyota Tundra DC SR5

                            Comment


                            • #15
                              i cant help any as i have no clue as to what to do or how to do it
                              the best i can offer is to test anything that you come up with.
                              but keep up the great work

                              Comment

                              Working...
                              X