vintage_net_mobile v0.1.2 VintageNetMobile.SignalMonitor View Source

Monitor the signal quality of the modem

Link to this section Summary

Types

The options for the monitor are

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Link to this type

opt()

View Source
opt() ::
  {:signal_check_interval, non_neg_integer()}
  | {:ifname, String.t()}
  | {:tty, String.t()}

The options for the monitor are:

  • :signal_check_interval - the number of milliseconds to wait before asking the modem for the signal quality (default 5 seconds)
  • :ifname - the interface name the mobile connection is using
  • :tty - the tty name that is used to send AT commands

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(opts)

View Source
start_link([opt()]) :: GenServer.on_start()