Adding deprecated warnings for old name

pull/6402/head
Bilal 2018-03-26 19:34:42 +05:00
parent eb806b681d
commit c07ef92470
3 changed files with 15 additions and 0 deletions

View File

@ -34,6 +34,11 @@ public: // CellularDevice
virtual CellularPower *open_power(FileHandle *fh);
};
class UBLOX_LISA_U : public UBLOX_PPP
{
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP instead of UBLOX_LISA_U.");
};
} // namespace mbed
#endif // UBLOX_PPP_H_

View File

@ -36,6 +36,11 @@ protected:
virtual nsapi_error_t set_access_technology_impl(operator_t::RadioAccessTechnology opRat);
};
class UBLOX_LISA_U_CellularNetwork : public UBLOX_PPP_CellularNetwork
{
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP_CellularNetwork instead of UBLOX_LISA_U_CellularNetwork.");
};
} // namespace mbed
#endif // UBLOX_PPP_CELLULAR_NETWORK_H_

View File

@ -35,6 +35,11 @@ public: //from CellularPower
virtual nsapi_error_t off();
};
class UBLOX_LISA_U_CellularPower : public UBLOX_PPP_CellularPower
{
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP_CellularPower instead of UBLOX_LISA_U_CellularPower.");
};
} // namespace mbed
#endif // UBLOX_PPP_CELLULARPOWER_H_