Page 1 of 5 12345 LastLast
Results 1 to 10 of 45

Thread: Standalone BlueSoleil wrapper

  1. #1
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809

    Standalone BlueSoleil wrapper

    Just updated the wrapper to be managed code so now its alot easier to use in .Net. Attached the latest version below

    Due to lots of people asking and the fact I had to do it to get some bits working I have split my mobilephone plugin in two. There is now a RR specific plugin thats still called mobilephone and a new dll that is a wrapper around the BlueSoleil sdk.

    I've included a sample VB.net express 2008 project to show how to use it.

    It currently has two known problems.

    1) For some reason it loses the connection to the phone after about 5 minutes. Dont know why but working on it. If you reconnect its all fine. If you implement an autoconnect function it works fine.
    2) The signal and battery strength indicates haven't been implemented yet. Again working on it.

    You need to put the BSWrapper dll in the same directory as the program calling it. I didn't need to register it but I had to have the vc redistribution installed if I didn't have vc express installed.

    Lastly BlueSoleil version 6.4.236.0 or greater is required

    Have fun and any questions just ask.
    Attached Files Attached Files

  2. #2
    Maximum Bitrate tempgp's Avatar
    Join Date
    Jun 2007
    Posts
    663
    yay sweet
    THANKS A LOT!!!!
    Automotive LED Headlight Module High Power VS HID NEW
    Acura / Honda A/V CarPC Adapter GA-NET+ - Convert your native navi DVD unit to CarPC + Dash buttons are usable in car pc!!!
    Centrafuse Garmin Mobile PC Skin - GMPC Rebellium Skin

  3. #3
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    Thanks for your hard work.
    Will be checking this out today!

  4. #4
    Variable Bitrate P3D4T0R's Avatar
    Join Date
    Dec 2006
    Location
    MA, USA
    Posts
    403
    Thanks for your efforts but I cant seem to get the sample to work on my laptop, i get an error: 0x8007000B which it seems from looking around on google that you might need to recompile it for x64, any clue?
    "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

  5. #5
    Newbie
    Join Date
    Feb 2008
    Posts
    29
    it all seems to work ok for me

  6. #6
    Variable Bitrate P3D4T0R's Avatar
    Join Date
    Dec 2006
    Location
    MA, USA
    Posts
    403
    Quote Originally Posted by vtcom View Post
    it all seems to work ok for me
    What are you running?
    "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

  7. #7
    Newbie
    Join Date
    Feb 2008
    Posts
    29
    xp sp3 on a ibm t60 laptop

  8. #8
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,159
    Blog Entries
    51
    i get the following error :

    Unable to load DLL 'BSWrapper.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)

    i have the wrapper file in the release folder as well as the project folder. I attempted to add it as a reference but it didnt do anything. Is there a version of bluesoliel required?
    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

  9. #9
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    Just had a chance to play with this latest version, it's working well.. good job!

    Only current issues I've noticed are the voice gateway doesn't connect if BT already has a connection to the phone (if you click connect, then connected label changes to 'true' but 'net avail' stays false.. if you disconnect then reconnect it works fine.)

    Also for some reason 'hangup' doesn't appear to be working for me, I can dial, answer, get callerid and see incoming calls, but hangup doesn't actually seem to do anything - even though in a call it returns 0 whereas out of call it returns 770..

    Great job so far.

  10. #10
    Variable Bitrate
    Join Date
    Aug 2006
    Posts
    257
    Quote Originally Posted by Sonicxtacy02 View Post
    i get the following error :

    Unable to load DLL 'BSWrapper.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)

    i have the wrapper file in the release folder as well as the project folder. I attempted to add it as a reference but it didnt do anything. Is there a version of bluesoliel required?
    If you are running the project from within Visual Studio you need to put the dll inside the debug folder not the release one.
    Even if you didn't have BS installed I wouldn't have expected you to get that error so I shouldn't think that will be your problem.
    Having said that you may get wierd issues if you are running a very old version as I'm fairly sure the HFP service was only implemented fairly recently.

    You can get a 15 day trial of the latest version here; http://www.bluesoleil.com/download/d...asp?resoure=43

    It may be a good idea if people post which version of the stack they are using when reporting if this is working or not, then we can get an idea of what works.

    I've tested it myself with 6.4.245 and 6.4.249 and both work fine.

Page 1 of 5 12345 LastLast

Similar Threads

  1. Embedding BlueSoleil - I give up
    By rodweb in forum Road Runner
    Replies: 2
    Last Post: 09-20-2008, 05:13 PM
  2. BlueSoleil 6.2.227.11 Full for Centrafuse
    By Zo6om in forum Centrafuse
    Replies: 1
    Last Post: 09-08-2008, 07:54 AM
  3. Bluesoleil not licensed
    By halller in forum Centrafuse
    Replies: 3
    Last Post: 05-06-2008, 07:54 PM
  4. Shuttle to ship standalone XPC motherboards?
    By Defiler in forum General Hardware Discussion
    Replies: 0
    Last Post: 06-05-2007, 06:42 AM
  5. Replies: 0
    Last Post: 04-06-2005, 11:39 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
  •