I can only successfully connect to my device when it says "Connected" in Windows Bluetooth Menu, which happens only for a brief second after pairing, otherwise when the device says "Paired" I get an error when writing to the descriptor or characteristic.
// ret is E_ABORT
HRESULT ret = BluetoothGATTSetDescriptorValue(hLEDevice, descBuffer, &newValue, BLUETOOTH_GATT_FLAG_NONE);
Is there any way to signal the device into the "Connected" state from the host or is there another way to solve this issue?