none
Safe way to cancel ReadValueAsync(BluetoothCacheMode.Uncached) RRS feed

  • Question

  • Hi,

    If no BLE device (with the specific characteristic) is available, ReadValueAsync(BluetoothCacheMode.Uncached) tries to read for 7-8 seconds before returning its result. Is there any safe way to cancel the task without having to wait the full 7 seconds in this case?  

    I am looking for something similar to this: http://stackoverflow.com/questions/4238345/asynchronously-wait-for-taskt-to-complete-with-timeout


    Wednesday, November 4, 2015 3:22 PM