pairing of Bluetooth devices
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: pairing of Bluetooth devices

  1. #1
    Join Date
    Jun 2011

    pairing of Bluetooth devices

    I am developing a Bluetooth sever application in vc++, when any Bluetooth device is trying to connect to server, passkey should be entered by user or some other user interaction screens should answer. Now my requirement is with out any user interaction how to pair the device to my server application? able to pairing with user interaction, I don't want any user interaction , direct pairing is needed? can anybody help me?

    Thanks in advance

  2. #2
    Join Date
    May 2012

    Re: pairing of Bluetooth devices

    Hi everybody,

    i try to code an program with bluetooth over winsock and i´ve got some problems. The current program works fine until i plug off the bluetooh radio. Then i got a bluescreen with following message:

    "You may receive a "STOP 0x00000035 NO_MORE_IRP_STACK_LOCATIONS"
    error message when you try to log on to a domain"

    After this i debug my program and find the position of the problem.
    The function connect().

    I have an Socket this one i want to connect to the device. Before i check the bluetooth radio is available. And then i call connect().

    And now it crash if i plug off the radio in this time.
    This problem i dont got because debugging. Its in the release.

    But why?
    I cant understand this problem.
    Why the Bluescreen? Is there no security?

    I hope any body can help me.
    Thanks a lot.

    Greetings Tobias

  3. #3
    Join Date
    Oct 2006

    Re: pairing of Bluetooth devices

    You get a bluescreen when there's a bug in some driver. If I get this right your release built code does something that the driver can't handle.

    Maybe this can help
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This a survey!

HTML5 Development Center