Getting Started
Usage
Add the dependency:
{:harald, "0.1.1"}
Start a transport:
{Harald.Transport,
namespace: :bt,
adapter: {Harald.Transport.UART, device: "/dev/ttyAMA0", uart_opts: [speed: 115_200]}}
The namespace will be used when issuing commands (like scan):
Harald.LE.scan(:bt)
Setup with Nerves
Raspberry Pi 0W, 3B
- add a custom
fwup.confbased on the Nerves Rpi3's so you may point to a customconfig.txt - add a custom
config.txtbased on the Nerves Rpi3's so you may comment outdtoverlay=pi3-miniuart-bt
See: