NervesGateWeb.Backend (nerves_gate v0.1.0)

Copy Markdown

UI calls use the configured :backend_node: :local for device services, a node name for remote services, or nil while disconnected. Commands have no local fallback or retries. Projection subscriptions call the device server directly, preserving the LiveView caller's identity. The simulator site observes each device by passing its node explicitly.

Summary

Functions

bus_capture(port)

bus_configure(port, params)

configured()

distribution_cookie()

equipment_label(id, label)

equipment_scan()

equipment_share()

equipment_unshare()

identify()

modbus_read(port, params)

network_cancel(id)

network_confirm(id)

network_propose(settings, opts \\ [])

projection(backend \\ configured())

remote_configure(name, opts \\ [])

remote_connect(name, opts \\ [])

remote_disconnect()

remote_login_url(backend \\ configured())

ssh_add_key(key)

ssh_remove_key(fingerprint)

storage_setup(action, card_id \\ nil, confirmation \\ nil)

subscribe_projection(backend \\ configured())