VintageNetMobile.Modem.add_raw_config
You're seeing just the callback
add_raw_config
, go back to VintageNetMobile.Modem module for more information.
Specs
add_raw_config( VintageNet.Interface.RawConfig.t(), config :: map(), opts :: keyword() ) :: VintageNet.Interface.RawConfig.t()
Update the raw configuration for the modem
The incoming raw configuration (first parameter) will have an initial generic configuration that should be common to most modems. The second parameter is the normalized VintageNet configuration and the final options are the ones from VintageNet for determining file paths, etc.
Configuration errors raise exceptions, but it is good practice to catch the
errors in normalize/1
.