vintage_net_mobile v0.1.1 VintageNetMobile.Modems View Source

The list of modem names with provider names that point to a module that implements the VintageNetMobile.Modem behaviour.

You can add support for custom modems using the :extra_modems key in the configuration.

config :vintage_net_mobile,
  extra_modems: [
    {"BestLTEEver Modem", MyBestLTEEverModem}
  ]

Link to this section Summary

Functions

Look up the modem module for the given modem name and provider name

Link to this section Functions

Link to this function

lookup(modem, service_provider)

View Source
lookup(String.t(), String.t()) :: module() | nil

Look up the modem module for the given modem name and provider name

If there is no modem spec for that modem-provider pair this function raise an ArgumentError