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

Thread: Bluesoleil SDK Free - Supports HFP on the PC!

  1. #1
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257

    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. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,151
    Blog Entries
    51
    when all else fails beg mitch!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    Maximum Bitrate DaveDog's Avatar
    Join Date
    Mar 2004
    Location
    Greenacres, WA
    Posts
    606

    begging

    please mitch!!!

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

    please thunderstick






    related thread

    Bluetooth Phone Pluggin ... Does one exist
    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

  4. #4
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,365
    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

  5. #5
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    Quote 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 Attached Files

  6. #6
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    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..

  7. #7
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,365
    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

  8. #8
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    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..

  9. #9
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809
    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 :-)

  10. #10
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    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!

Page 1 of 2 12 LastLast

Similar Threads

  1. suggestion and thanks
    By venealis in forum RR Skins
    Replies: 20
    Last Post: 03-18-2008, 11:33 AM

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
  •