vintage_net_mobile v0.2.0 VintageNetMobile.Modem.QuectelBG96 View Source

Quectel BG96 support

The Quectel BG96 is an LTE Cat M1/Cat NB1/EGPRS module. Here's an example configuration:

VintageNet.configure(
  "ppp0",
  %{
    type: VintageNetMobile,
    vintage_net_mobile: %{
      modem: VintageNetMobile.Modem.QuectelBG96,
      service_providers: [%{apn: "super"}]
    }
  }
)

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

The following modem-specific keys are also supported in the :vintage_net_mobile map:

  • :scan - Set this to the order that radio access technologies should be attempted when trying to connect. For example, [:lte_cat_m1, :gsm] would prevent the modem from trying LTE Cat NB1 and potentially save some time if you're guaranteed to not have Cat NB1 service.

Required Linux kernel options

  • CONFIG_USB_SERIAL=m
  • CONFIG_USB_SERIAL_WWAN=m
  • CONFIG_USB_SERIAL_OPTION=m
  • CONFIG_USB_WDM=m
  • CONFIG_USB_NET_QMI_WWAN=m

Link to this section Summary

Types

Radio Access Technology (RAT)

Link to this section Types

Link to this type

rat()

View Source
rat() :: :gsm | :td_scdma | :wcdma | :lte | :cdma | :lte_cat_nb1 | :lte_cat_m1

Radio Access Technology (RAT)

These define how to connect to the cellular network.