往Gatt characteristic写入数据时会将通道阻塞住
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior A clear and concise description of what actually happened.
Additional context Add any other context about the problem here.
let operation = self .characteristic .WriteValueWithOptionAsync(&writer.DetachBuffer()?, write_type.into())?; let result = operation.await?;
代码阻塞 "let result = operation.await",并且之前调用的discover_services也会阻塞无法结束
当get_characteristics中调用GetCharacteristicsWithCacheModeAsync中传入参数BluetoothCacheMode::Uncached时会阻塞代码运行,BluetoothCacheMode::Uncached正常或者调用GetCharacteristicsAsync