Bt v0.1.6 Bt.Bluetoothctl

Link to this section Summary

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

connect(device)

connect(String.t()) :: term()
Link to this function

connected?()

connected?() :: bool()
Link to this function

connected?(device)

connected?(String.t()) :: bool()
Link to this function

disconnect(device)

disconnect(String.t()) :: term()
Link to this function

init(adapter)

init(String.t() | nil) :: {:ok, map()}

Callback implementation for GenServer.init/1.

Link to this function

powered?()

powered?() :: bool()
Link to this function

select(adapter)

Link to this function

start_link(adapter \\ nil)

start_link(String.t() | nil) :: term()