vintage_net_mobile v0.1.2 VintageNetMobile View Source
Use cellular modems with VintageNet
Examples:
VintageNet.configure(
"ppp0",
%{
type: VintageNetMobile,
modem: your_modem,
service_provider: your_service_provider
}
)
or add this to your config.exs
:
config :vintage_net,
config: [
{"ppp0", %{type: VintageNetMobile, modem: your_modem, service_provider: your_service_provider}}
]
Custom Modems
VintageNetMobile
allows you add custom modem implementations if the built-in
implementations don't work for you:
config :vintage_net_mobile,
extra_modems: [MyBestLTEEverModem]
Modem implementations need to implement the VintageNetMobile.Modem
behaviour.
Link to this section Summary
Link to this section Types
Link to this type
opt()
View Sourceopt() :: {:extra_modems, [module()]} | {:extra_service_providers, [service_provider_info()]}
TODO
Information about a service provider
For example:
{"A Provider", apn: "apn.provider.net"}