blatann.waitables.connection_waitable module

class blatann.waitables.connection_waitable.ConnectionWaitable(ble_device, current_peer, role=BLEGapRoles.periph)

Bases: Waitable

wait(timeout=None, exception_on_timeout=True)
Return type

blatann.peer.Peer

class blatann.waitables.connection_waitable.ClientConnectionWaitable(ble_device, peer)

Bases: ConnectionWaitable

wait(timeout=None, exception_on_timeout=True)
Return type

blatann.peer.Client

class blatann.waitables.connection_waitable.PeripheralConnectionWaitable(ble_device, peer)

Bases: ConnectionWaitable

wait(timeout=None, exception_on_timeout=True)
Return type

blatann.peer.Peripheral

class blatann.waitables.connection_waitable.DisconnectionWaitable(connected_peer)

Bases: Waitable