Every device command in one namespace – the equivalent of Python's
meshcore.commands.
The functions are thin delegates; the implementation and detailed documentation live in the topical modules:
Meshcore.Commands.Device– device configuration, stats, channels, signingMeshcore.Commands.Contact– contact list managementMeshcore.Commands.Messaging– messages, logins, traces, flood scopesMeshcore.Commands.Binary– status/telemetry/ACL/neighbour requestsMeshcore.Commands.ControlData– node discovery
All commands take the connection as first argument and return
{:ok, %Meshcore.Event{}} or {:error, %Meshcore.Event{}} (see
Meshcore.Commands.Base). Timeouts are in milliseconds.
{:ok, event} = Meshcore.Commands.send_device_query(mc)
event.payload.model