You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am doing reconnect works.After called Quit() function, I found the scan func didm't work. I guess it is because the filter in c++ code worked in error. IVector<hstring> requestedProperties = single_threaded_vector<hstring>({ L"System.Devices.Aep.DeviceAddress", L"System.Devices.Aep.IsConnected", L"System.Devices.Aep.Bluetooth.Le.IsConnectable" });
I need connect and disconnect.So, what can I do?
The text was updated successfully, but these errors were encountered:
playg8
changed the title
After called Quit(),Can not cann't find connectedable devices.
After called Quit(),Can not find any connectedable devices.
Dec 15, 2022
Do you get any error message in the bottom-left corner of the window?
Does a rescan work before calling Quit()?
As an alternative, maybe subscribe and unsubscribe are sufficient?
I think there is something wrong with the c# code.
when I want next scan, the cancel flag is still true, I must reset it
when I do scan、connect、disconnect for loops, it crashed after sometime,because you called Quit() in destructor function.
I fixed it in my own code, now it works all right. C++ code is very good, no error.
I am doing reconnect works.After called Quit() function, I found the scan func didm't work. I guess it is because the filter in c++ code worked in error.
IVector<hstring> requestedProperties = single_threaded_vector<hstring>({ L"System.Devices.Aep.DeviceAddress", L"System.Devices.Aep.IsConnected", L"System.Devices.Aep.Bluetooth.Le.IsConnectable" });
I need connect and disconnect.So, what can I do?
The text was updated successfully, but these errors were encountered: