API Reference Fostrom v#0.0.2

Modules

Fostrom is an IoT Cloud Platform built for developers. Monitor and control your fleet of devices, from microcontrollers to industrial IoT. Designed to be simple, secure, and fast. Experience first-class tooling with Device SDKs, type-safe schemas, programmable actions, and more.

Manages the starting and stopping of the Fostrom Device Agent

A Fostrom.Exception contains a reason and a message. It also contains reconnecting_in (in milliseconds) when the reconnecting or unauthorized callbacks are called.

Define a Handler module to handle incoming mail, and other events such as connected, reconnecting, and unauthorized.

%Fostrom.Mail{} is the struct delivered to your handler, and is returned from Fostrom.Mailbox.next/0 if the mailbox is not empty.

Fostrom.Mailbox provides manual access to the Device Mailbox.

Mix Tasks

Setup Fostrom by downloading the Device Agent.