Particle Api Client v1.0.0 Particle.Device View Source

This module defines the actions that can be taken on the Device endpoint.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Particle.Device{
  connected: Boolean,
  functions: [binary()],
  id: binary(),
  name: binary(),
  variables: %{optional(Atom) => binary()}
}

Link to this section Functions

Link to this function

get(device_id) View Source
get(binary()) :: {:ok, t()} | Particle.Error.t()