Skip to content

Commit c07ef92

Browse files
committed
Adding deprecated warnings for old name
1 parent eb806b6 commit c07ef92

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ class UBLOX_PPP : public AT_CellularDevice
3434
virtual CellularPower *open_power(FileHandle *fh);
3535
};
3636

37+
class UBLOX_LISA_U : public UBLOX_PPP
38+
{
39+
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP instead of UBLOX_LISA_U.");
40+
};
41+
3742
} // namespace mbed
3843

3944
#endif // UBLOX_PPP_H_

features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP_CellularNetwork.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ class UBLOX_PPP_CellularNetwork : public AT_CellularNetwork
3636
virtual nsapi_error_t set_access_technology_impl(operator_t::RadioAccessTechnology opRat);
3737
};
3838

39+
class UBLOX_LISA_U_CellularNetwork : public UBLOX_PPP_CellularNetwork
40+
{
41+
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP_CellularNetwork instead of UBLOX_LISA_U_CellularNetwork.");
42+
};
43+
3944
} // namespace mbed
4045

4146
#endif // UBLOX_PPP_CELLULAR_NETWORK_H_

features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP_CellularPower.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class UBLOX_PPP_CellularPower : public AT_CellularPower
3535
virtual nsapi_error_t off();
3636
};
3737

38+
class UBLOX_LISA_U_CellularPower : public UBLOX_PPP_CellularPower
39+
{
40+
MBED_DEPRECATED_SINCE("mbed-os-5.9", "This API will be deprecated, Use UBLOX_PPP_CellularPower instead of UBLOX_LISA_U_CellularPower.");
41+
};
42+
3843
} // namespace mbed
3944

4045
#endif // UBLOX_PPP_CELLULARPOWER_H_

0 commit comments

Comments
 (0)