nerves_runtime v0.9.2 API Reference

Modules

Nerves.Runtime contains functions useful for almost all Nerves-based devices

This is a utility module for triggering UEvents from the Linux kernel. You don’t need to use it directly. See the README.md for receiving events when devices are added or removed from the system

GenServer that handles device initialization

Key Value Storage for firmware variables provided by fwup

Applications that depend on nerves_runtime for accessing provisioning information from the Nerves.Runtime.KV can mock the contents through the Application config

GenServer that captures Linux uevent messages and passes them up to Elixir

Collects operating system-level messages from /proc/kmsg, forwarding them to Logger with an appropriate level to match the syslog priority parsed out of the message

Functions for parsing syslog and kmsg strings

This GenServer routes syslog messages from C-based applications and libraries through the Elixir Logger for collection