Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

env:
MIX_TARGET: host
ELIXIR_VERSION: "1.20.2-otp-29"
OTP_VERSION: "29.0.3"
ELIXIR_VERSION: "1.20.3-otp-29"
OTP_VERSION: "29.0.5"
# System packages required to compile NIFs that mix deps.get pulls in
# (libmnl-dev for vintage_net, libssl-dev for crypto-using NIFs).
# libasound2-dev is needed by the sendspin_player Mix compiler, which
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/firmware-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permissions:

env:
MIX_ENV: prod
ELIXIR_VERSION: "1.20.2-otp-29"
OTP_VERSION: "29.0.3"
ELIXIR_VERSION: "1.20.3-otp-29"
OTP_VERSION: "29.0.5"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tools]
erlang = "29.0.5"
elixir = "1.20.2-otp-29"
elixir = "1.20.3-otp-29"

[env]
MIX_TARGET = "rpi3"
Expand Down
41 changes: 34 additions & 7 deletions test/universal_proxy/bluetooth/audio_manager_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,46 @@ defmodule UniversalProxy.Bluetooth.AudioManagerTest do
@impl true
def managed_devices(_c), do: cfg(:devices, [])
@impl true
def start_discovery(_c, a), do: record({:start_discovery, a}) && cfg(:start_discovery, :ok)
def start_discovery(_c, a) do
record({:start_discovery, a})
cfg(:start_discovery, :ok)
end

@impl true
def stop_discovery(_c, a), do: record({:stop_discovery, a}) && :ok
def stop_discovery(_c, a) do
record({:stop_discovery, a})
:ok
end

@impl true
def pair(_c, p), do: record({:pair, p}) && cfg(:pair, :ok)
def pair(_c, p) do
record({:pair, p})
cfg(:pair, :ok)
end

@impl true
def set_trusted(_c, p, v), do: record({:set_trusted, p, v}) && cfg(:set_trusted, :ok)
def set_trusted(_c, p, v) do
record({:set_trusted, p, v})
cfg(:set_trusted, :ok)
end

@impl true
def connect(_c, p), do: record({:connect, p}) && cfg(:connect, :ok)
def connect(_c, p) do
record({:connect, p})
cfg(:connect, :ok)
end

@impl true
def disconnect(_c, p), do: record({:disconnect, p}) && :ok
def disconnect(_c, p) do
record({:disconnect, p})
:ok
end

@impl true
def remove(_c, a, p), do: record({:remove, a, p}) && :ok
def remove(_c, a, p) do
record({:remove, a, p})
:ok
end
end

setup do
Expand Down
Loading