I have a bespoke bluetooth device that I can pair with and connect to using windows 10 and it creates 2 com ports - one is listed as incoming and one is listed at outgoing.
When I connect using the 32Feet C# bluetooth libraries I am able to discover and pair the device and the enable the SPP profile but, alas, I only get one COM port and it is listed as "outgoing".
I am required to interface to the device using someone else's code and it needs to be supplied a com port number. Unfortunately it wants to connect to the "incoming" port.
Hence my question is what magic do I need to create this incoming com port? I have looked at the 32Feet code and the underlying API call of BluetoothSetServiceState(...) and it doesn't seem to have any parameters to control how the ports are created. Is there another profile for this feature??