我正在修改Visual Studio中的UWP上的BLE代码。我能够阅读服务和字符,但当我订阅值更改时,我收到一个错误。
在下面的代码中,我的状态为“无法访问”#39;即使cccdValue = indicate
status = await
selectedCharacteristic.WriteClientCharacteristicConfigurationDescriptorAsync(cccdValue);
if (status == GattCommunicationStatus.Success)
{
AddValueChangedHandler();
rootPage.NotifyUser("Successfully subscribed for value changes", NotifyType.StatusMessage);
}
由于