-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BleWinrtDll.cpp:501 SubscribeCharacteristicAsync catch: 属性需要进行身份验证,然后才能读取或写入。 #7
Comments
I didn't do any bluetooth authentication yet. From the error message I'd also guess you need it. Maybe pairing it will help: |
Thanks adabru for your help,now I solved this problem.I have another question. Do you know how to do it?I want to connect two Bluetooth devices on my PC,how to do this ? |
I guess each bluetooth device normally has a unique device id. In that case you should be able to just call the functions with different device-ids. Each received data-package contains information about the device it was sent from. Likewise, in each data-package you send you can specify the device-id it should go to. |
Thank you. I can only send you a star |
Hi Jason, did you face this issue (SubscribeCharacteristicAsync catch) when testing with beacons? How did you solve it? |
Sorry,I didn't have that problem |
May I ask if this is the reason why the sensor needs authentication or something else? This is the first time for me to do this Bluetooth function.
The text was updated successfully, but these errors were encountered: