RustlerBtleplug.Native (Rustler btleplug v0.0.4-alpha)
Summary
Types
Functions
@spec add(Number.t(), Number.t()) :: {:ok, Number.t()} | {:error, term()}
@spec connect(peripheral(), Number.t()) :: {:ok, peripheral()} | {:error, term()}
@spec disconnect(peripheral(), Number.t()) :: {:ok, peripheral()} | {:error, term()}
@spec find_peripheral(central(), uuid(), Number.t()) :: {:ok, peripheral()} | {:error, term()}
@spec find_peripheral_by_name(central(), String.t(), Number.t()) :: {:ok, peripheral()} | {:error, term()}
@spec subscribe(peripheral(), uuid(), Number.t()) :: {:ok, peripheral()} | {:error, term()}
@spec unsubscribe(peripheral(), uuid(), Number.t()) :: {:ok, peripheral()} | {:error, term()}