View Source BlueHeron.HCI.Command behaviour (blue_heron v0.5.1)

The Link Control commands allow a Controller to control connections to other BR/EDR Controllers. Some Link Control commands are used only with a BR/EDR Controller whereas other Link Control commands are also used with an LE Controller.

Bluetooth Spec v5.2, vol 4, Part E, 7

Summary

Functions

Helper to create Command opcode from OCF and OGF values

Callbacks

deserialize(binary)

@callback deserialize(binary()) :: term()

deserialize_return_parameters(binary)

@callback deserialize_return_parameters(binary()) :: map() | binary()

serialize_return_parameters(arg1)

@callback serialize_return_parameters(map() | binary()) :: binary()

Functions

defparameters(fields)

(macro)

opcode(ogf, ocf)

Helper to create Command opcode from OCF and OGF values