View Source VintageNetMobile.Modem.TelitLE910 (vintage_net_mobile v0.11.5)

Telit LE910 support

VintageNet.configure(
  "ppp0",
  %{
    type: VintageNetMobile,
    vintage_net_mobile: %{
      modem: VintageNetMobile.Modem.TelitLE910,
      service_providers: [%{apn: "wireless.twilio.com"}]
    }
  }
)

If multiple service providers are configured, this implementation only attempts to connect to the first one.

Example of supported properties

iex> VintageNet.get_by_prefix ["interface", "ppp0"]
[
{["interface", "ppp0", "addresses"],
 [
   %{
     address: {100, 79, 181, 147},
     family: :inet,
     netmask: {255, 255, 255, 255},
     prefix_length: 32,
     scope: :universe
   }
 ]},
{["interface", "ppp0", "config"],
 %{
   type: VintageNetMobile,
   vintage_net_mobile: %{
     modem: VintageNetMobile.Modem.TelitLE910,
     service_providers: [%{apn: "super"}, %{apn: "wireless.twilio.com"}]
   }
 }},
{["interface", "ppp0", "connection"], :internet},
{["interface", "ppp0", "hw_path"], "/devices/virtual"},
{["interface", "ppp0", "lower_up"], true},
{["interface", "ppp0", "mobile", "cid"], 123098825},
{["interface", "ppp0", "mobile", "lac"], 32773},
{["interface", "ppp0", "mobile", "signal_4bars"], 3},
{["interface", "ppp0", "mobile", "signal_asu"], 19},
{["interface", "ppp0", "mobile", "signal_dbm"], -75},
{["interface", "ppp0", "present"], true},
{["interface", "ppp0", "state"], :configured},
{["interface", "ppp0", "type"], VintageNetMobile}
]