harald v0.1.1 API Reference

Modules

Elixir library for working directly with Bluetooth via the HCI

Company identifiers are unique numbers assigned by the Bluetooth SIG to member companies requesting one

Assigned numbers are used in GAP for inquiry response, EIR data type values, manufacturer-specific data, advertising data, low energy UUIDs and appearance characteristics, and class of device

Defines all error codes and functions to map between error code and name

The HCI provides a uniform interface method of accessing a Bluetooth Controller’s capabilities

Serialization functions for arrayed data

HCI commands for working with the controller and baseband

Serialization module for HCI Events

The Inquiry Complete event indicates that the Inquiry is finished. This event contains a Status parameter, which is used to indicate if the Inquiry completed successfully or if the Inquiry was not completed. Reference: Version 5.0, Vol 2, Part E, 7.7.1

The LE Meta Event is used to encapsulate all LE Controller specific events

A struct representing a LE Advertising Report

A struct representing a single device within a LE Advertising Report

HCI commands for working with the le controller

Functions and definitions relevant to HCI packets

A collection of high level functions for working with BLE (Bluetooth Low Energy) functionality

The Manufacturer Specific data type is used for manufacturer specific data

Serialization module for Apple

Defines a behaviour that manufacturer data modules should implement

Serializable behaviour

A server to manage lower level transports and parse bluetooth events

A behaviour for transport adapters

A behaviour for transport handlers

The UART bluetooth transport

A framer module that defines a frame as a HCI packet