Standard serial over Bluetooth link - select COM port

Carlos Viescas 0 Reputation points


As mentioned in, Bluetooth SPP opens two ports when pairing a device:

  • An incoming port is used when a remote device established a connection to your device, and is exposed as the SerialPort service to the remote device.
  • An outgoing port is used to make a connection to the serial port service on a remote device.

Is there a way to modify this behavior and specify to open just one of the two? E.g. incoming port, telling Windows in advanced that the remote device is establishing the connection. I am specially interested also if it is possible to configure from WinRT/Win32 C++ APIs.

Thanks in advance!

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,357 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 8,316 Reputation points Microsoft Vendor


    Welcome to Microsoft Q&A!

    As far as I'm concerned, there is no suitable winapi to configure. Usually there are 2 COM ports (incoming and outgoing) are assigned to a device. Who initiates the connection determines whether incoming or outgoing is used.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.