Module emulator

Source

Modules§

expectation
Utilities used for setting up expectation predicates on the HCI emulator state transitions.

Structs§

EmulatorState
Used to maintain the state transitions that are observed from the emulator. This type can be used in test harness auxiliary types.

Functions§

add_bredr_peer
add_le_peer
default_bredr_peer
An emulated BR/EDR peer using default parameters commonly used in tests. The peer is set up to be connectable and has the “toy” device class.
default_le_peer
watch_advertising_states
Record advertising state changes. The asynchronous execution doesn’t complete until the emulator channel gets closed or a FIDL error occurs.
watch_controller_parameters
watch_peer_connection_states
Record connection state changes from the given emulated Peer. The returned Future doesn’t run until the proxy channel gets closed or a FIDL error occurs.