mirror of https://github.com/ARMmbed/mbed-os.git
Added deprecation notes to old cellular interfaces.
parent
fe2e4a3680
commit
bee31ad1b3
|
@ -24,6 +24,8 @@
|
||||||
*
|
*
|
||||||
* Common interface that is shared between ethernet hardware
|
* Common interface that is shared between ethernet hardware
|
||||||
* @addtogroup netsocket
|
* @addtogroup netsocket
|
||||||
|
*
|
||||||
|
* @attention CellularInterface API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
*/
|
*/
|
||||||
class CellularInterface : public NetworkInterface
|
class CellularInterface : public NetworkInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OnboardCellularInterface is an on-board specific implementation.
|
* OnboardCellularInterface is an on-board specific implementation.
|
||||||
|
*
|
||||||
|
* @attention This API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
*/
|
*/
|
||||||
OnboardCellularInterface::OnboardCellularInterface(bool debug) :
|
OnboardCellularInterface::OnboardCellularInterface(bool debug) :
|
||||||
UARTCellularInterface(MDMTXD, MDMRXD, MDMDCD, MDMRTS,
|
UARTCellularInterface(MDMTXD, MDMRXD, MDMDCD, MDMRTS,
|
||||||
|
|
|
@ -31,6 +31,8 @@ typedef mbed::EasyCellularConnection OnboardCellularInterface;
|
||||||
* Depending on the type of on-board modem, OnboardCellularInterface
|
* Depending on the type of on-board modem, OnboardCellularInterface
|
||||||
* could be derived from different implementation classes.
|
* could be derived from different implementation classes.
|
||||||
* Portable applications should only rely on it being a CellularBase.
|
* Portable applications should only rely on it being a CellularBase.
|
||||||
|
*
|
||||||
|
* @attention This API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
*/
|
*/
|
||||||
class OnboardCellularInterface : public UARTCellularInterface {
|
class OnboardCellularInterface : public UARTCellularInterface {
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
*/
|
*/
|
||||||
#include "PPPCellularInterface.h"
|
#include "PPPCellularInterface.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @attention This API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
|
*/
|
||||||
|
|
||||||
#if NSAPI_PPP_AVAILABLE
|
#if NSAPI_PPP_AVAILABLE
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -98,6 +98,8 @@ typedef struct {
|
||||||
* The driver will work with any generic FileHandle, and can be
|
* The driver will work with any generic FileHandle, and can be
|
||||||
* derived from in order to provide forms for specific interfaces, as well as
|
* derived from in order to provide forms for specific interfaces, as well as
|
||||||
* adding extra power and reset controls alongside the FileHandle.
|
* adding extra power and reset controls alongside the FileHandle.
|
||||||
|
*
|
||||||
|
* @attention This API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
*/
|
*/
|
||||||
class PPPCellularInterface : public CellularBase {
|
class PPPCellularInterface : public CellularBase {
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
*/
|
*/
|
||||||
#include "UARTCellularInterface.h"
|
#include "UARTCellularInterface.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @attention UARTCellularInterface API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
|
*/
|
||||||
#if NSAPI_PPP_AVAILABLE
|
#if NSAPI_PPP_AVAILABLE
|
||||||
|
|
||||||
UARTCellularInterface::UARTCellularInterface(PinName txd, PinName rxd, PinName dcd, PinName rts, PinName cts, PinName ri,
|
UARTCellularInterface::UARTCellularInterface(PinName txd, PinName rxd, PinName dcd, PinName rts, PinName cts, PinName ri,
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
*
|
*
|
||||||
* It constructs a FileHandle and passes it back to its base class as well as overrides
|
* It constructs a FileHandle and passes it back to its base class as well as overrides
|
||||||
* enable_hup() in the base class.
|
* enable_hup() in the base class.
|
||||||
|
*
|
||||||
|
* @attention UARTCellularInterface API will be deprecated, use mbed-os/features/cellular/framework/API instead.
|
||||||
*/
|
*/
|
||||||
class UARTCellularInterface : public PPPCellularInterface {
|
class UARTCellularInterface : public PPPCellularInterface {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue