Page 1 of 8 12345678 LastLast
Results 1 to 10 of 79

Thread: CarPC and BT-Headset

  1. #1
    Low Bitrate BeamRider's Avatar
    Join Date
    Apr 2004
    Location
    Genova, I
    Posts
    92

    Question CarPC and BT-Headset

    Some days ago I tried to configure my EPIA as BT headset for my phone (SE T610) and everything went ok except one little thing.....as described in Zorro's FAQ, BT adapters are answering automatically when an incoming call is deteced. This seems because when the headset service is running on the PC, the opens automatically the connection to the phone when the phone request it.
    After some I foud that we have one service and one application per side that works toghether: headset on PC side (service and application) and audio gateway on phone side (service and application). We can enable also audio gateway on pc side but this is another story....
    When we receive an incoming call, the phone gatway application calls the heaset service of the PC, the connection will be established automatically (no user interaction required) and the call will be accpeted by the phone. If I'm not wrong, the only way to solve this problem is to disable the headset service and to manually connect to the phone audio gateway on a call
    This seems a limitation on the headset service to me, but I'd have missed something....

  2. #2
    Low Bitrate BeamRider's Avatar
    Join Date
    Apr 2004
    Location
    Genova, I
    Posts
    92
    BTW I know that I'm a little OT here, but I think that Zorro should be interested on this thread.

  3. #3
    Maximum Bitrate TimmyM's Avatar
    Join Date
    Aug 2003
    Location
    Federal Way, WA
    Posts
    713
    Sorry, I tried to follow along but I'm confused as to what the problem is. You get a incoming call, the computer will answer it since it's the headset, but you don't want that, you want to answer the phone with the phone only?

  4. #4
    Variable Bitrate Bodgy's Avatar
    Join Date
    Nov 2003
    Location
    Briz Vegas, Australia
    Posts
    290
    he wants an option to answer or not answer the call using the car pc i think, rather than a call from his girlfriend automatically be answered while his wife is in the car... :P

  5. #5
    Low Bitrate BeamRider's Avatar
    Join Date
    Apr 2004
    Location
    Genova, I
    Posts
    92
    A sort of .....
    Simple version: I want the carpc to act as headset and to let me choose to answer an incoming call or not.
    I wrote it too much technical and too much confused, but I have found nothingh with and I hope to find some BT guru around

  6. #6
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    Yes, you're right in both: The behaviour of the BT software and that I'm interessted in

    I'm well aware of this problem and theoretically there would be a solution for that. There is a SDK from Widcomm for the Bluetooth stack, which allows the developer to get such notifications as "Connection request" for the Headset and, within this notification, to allow or reject the request.

    Unfortunately, this SDK cost about $1400 (including two BT dongles - what a waste as like a developer who does such apps don't have one already) but this is yet not an option for me

    A imaginable solution would be: If any developer out there has this SDK and can compose a C# class (or anyting that can be integrated in C#/.NET e.g. COM, DLL), which allows me to get such a notification and accept or reject the connection request for the headset.

    So , go for it guys
    Skinning to go... VisualDesigner2!

  7. #7
    Low Bitrate BeamRider's Avatar
    Join Date
    Apr 2004
    Location
    Genova, I
    Posts
    92
    I'm on it
    .NET is not my homeworld but I know enough of VB & VC++ and when I'll find some documentation (I'm not going to buy WIDCOMM SDK) I'll give you a DLL.

  8. #8
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    Quote Originally Posted by BeamRider
    I'm on it
    .NET is not my homeworld but I know enough of VB & VC++ and when I'll find some documentation (I'm not going to buy WIDCOMM SDK) I'll give you a DLL.
    Groovy

    I look forward to it...
    but I'm afraid, you wont' get far without the SDK. They use some structures that are not explained anywhere (except in the SDK I suppose). You will need this information to setup the notification event sinks proper.
    I've tried it once but I didn't get it to work... you might be lucky

    To start off, you can import the BTSTACKSERVERLib into VB and parse it with the Object Browser. There you'll find (beside many others) a class named BTHSPApi. This is the one for the Headset. It offers two events "StateChange" and "ConnectRequest". Now comes the tricky part: They supply a bunch of parameters which are declared as "Variant" which means, that could be nothing and everything (supposebly, there must be some structrue / class behind).

    That's where I got stuck.

    Somehow (playing around with the BT Monitor) I figured out the following:
    pBda - is a byte array of 6 bytes
    pDevClass - is a byte array of 3 bytes
    pDevName - is a bytes array of 248 bytes
    pDevGuid - is a guid (16 bytes)

    Im not quite sure, whether this information is correct or not.


    So, this is all info I can give to you. Hopefully you can use this to find out the structures. The rest should be very easy to implement .... I think
    Skinning to go... VisualDesigner2!

  9. #9
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    hey BeamRider, what kind of phone do you have?
    I have a T68i and there is an option on the phone to have the audio automaticly go to the pc and if you want it to auto answer or not. This option is not on the pc side, you have to do it on your phone.

  10. #10
    Newbie
    Join Date
    Apr 2004
    Posts
    28

    Another SDK options...

    Hi Zorro,

    First of all, excellent job done for creating the PhoneControl software. Excellent very useful application. I tried it and it works great on my SE T610 with Kensington (model# K33085) bluetooth usb adapter. (you can add this to your compatible bluetooth usb adapters).

    However, I was having the same problem that any new call automatically gets answered. I was just thinking if it is possible to use another SDK other than Widcomm's SDK to do this!

    I don't know too much about this but found this forum by someone:
    Bluetooth Phone App - Freeware

    Take a look at it and see if any of those links on that forum help!

    Let me know please.

    Thanks,
    Vish

Page 1 of 8 12345678 LastLast

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
  •