BlueHeronTransportUART

Hex version API docs mix test

BlueHeron supports UART-based Bluetooth modules.

To use, add :blue_heron_transport_uart to your mix.exs dependencies and adapt the following to initialize a transport context.

config = %BlueHeron.HCI.Transport.UART{
  device: "/dev/ttyACM0",
  uart_opts: [speed: 115200],
}
{:ok, ctx} = BlueHeron.transport(config)

License

The source code is released under the MIT license.

Check NOTICE and LICENSE files for more information.