Packages

Idiomatic Elixir SDK for Rockbox — pipe-friendly, builder-friendly, with real-time event subscriptions and a plugin system.

Current section

Files

Jump to
rockbox_ex lib rockbox bluetooth_device.ex
Raw

lib/rockbox/bluetooth_device.ex

defmodule Rockbox.BluetoothDevice do
@moduledoc "A Bluetooth device known to the host (Linux only)."
@type t :: %__MODULE__{
address: String.t(),
name: String.t(),
paired: boolean(),
trusted: boolean(),
connected: boolean(),
rssi: integer() | nil
}
defstruct [:address, :name, :paired, :trusted, :connected, :rssi]
end