We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3f092 commit c9f82a3Copy full SHA for c9f82a3
src/winrtble/ble/device.rs
@@ -95,9 +95,7 @@ impl BLEDevice {
95
pub async fn get_characteristics(
96
service: &GattDeviceService,
97
) -> Result<Vec<GattCharacteristic>> {
98
- let async_result = service
99
- .GetCharacteristicsWithCacheModeAsync(BluetoothCacheMode::Uncached)?
100
- .await?;
+ let async_result = service.GetCharacteristicsAsync()?.await?;
101
let status = async_result.Status();
102
if status == Ok(GattCommunicationStatus::Success) {
103
let results = async_result.Characteristics()?;
0 commit comments