THANKS A LOT!!!!
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 18.104.22.168 or greater is required
Have fun and any questions just ask.
Last edited by lambosprit; 02-15-2011 at 03:03 PM. Reason: added test app
Thanks for your hard work.
Will be checking this out today!
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?
it all seems to work ok for me
xp sp3 on a ibm t60 laptop
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?
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.
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.