I am using a Bluetooth radio as a serial port. However, when this radio is connected to another device, say a mouse, I cannot enumerate the port(s) for that radio, But, if I pair the Bluetooth radio with my device over the serial port, and then also pair it with the Bluetooth mouse, things work correctly. I am using the MS Bluetooth API, and I was wondering if there were certain structure variables that I could set to get around this issue. Here is the basics of my search:
BLUETOOTH_DEVICE_INFO btDevInfo;
btDevSP.dwSize = sizeof(BLUETOOTH_DEVICE_SEARCH_PARAMS);
btDevSP.fReturnAuthenticated = TRUE;
btDevSP.fReturnRemembered = FALSE;
btDevSP.fReturnUnknown = FALSE;
btDevSP.fReturnConnected = TRUE;
btDevSP.fIssueInquiry = FALSE;
btDevSP.cTimeoutMultiplier = 10;
btDevSP.hRadio = NULL;