Closed
Description
This example invokes methods on OnboardCellularInterface
that are not part of the CellularBase
abstract class. This means it may not work if OnboardCellularInterface
is not a PPPCellularInterface
.
OnboardCellularInterface
is documented as potentially being any class derived from CellularBase
, depending on platform, so portable code should use only CellularBase
methods.
ARMmbed/mbed-os#6082 has worked around this by adding the same extensions to its EasyCellularInterface
, but that should not have been necessary.
This can probably be fixed for mbed OS 5.9 as part of shifting from OnboardCellularInterface
to CellularBase::get_default_instance()
or CellularDevice::get_default_instance()
- see ARMmbed/mbed-os#6108