Skip to content

ConnectAsync() is blocking Task #14

Description

@rkops-bd

'await device.ConnectAsync();
await device.WaitForPropertyValueAsync("Connected", value: true, timeout);'

Line 2 will never be invocked when device can't connect (because it is out of range, for example).
IN this case the BlueZ stack will throw an exception -> 'org.bluez.Error.Failed: Software caused connection abort', but does not respect the timeout sit in the second line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions