Control-data commands, used for node discovery.
Summary
Functions
Sends raw control data of the given control type byte.
Broadcasts a node discovery request. Responses arrive as :discover_response
events whose tag attribute equals the :tag in the returned payload.
Types
@type mc() :: GenServer.server()
@type result() :: {:ok, Meshcore.Event.t()} | {:error, Meshcore.Event.t()}
Functions
Sends raw control data of the given control type byte.
Broadcasts a node discovery request. Responses arrive as :discover_response
events whose tag attribute equals the :tag in the returned payload.
Options: :prefix_only (default true), :tag (default random), :since.