mirror of https://github.com/ARMmbed/mbed-os.git
Fix NetworkInterface::set_default_parameters binary compatibility
parent
95839662c6
commit
52ee61e1ae
|
|
@ -39,17 +39,6 @@ public:
|
|||
*/
|
||||
static CellularBase *get_default_instance();
|
||||
|
||||
/** Set default parameters on a cellular interface.
|
||||
*
|
||||
* A cellular interface instantiated directly or using
|
||||
* CellularBase::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
|
||||
/** Set the cellular network credentials.
|
||||
*
|
||||
* Please check documentation of connect() for default behavior of APN settings.
|
||||
|
|
@ -148,6 +137,18 @@ protected:
|
|||
static CellularBase *get_target_default_instance();
|
||||
|
||||
#endif //!defined(DOXYGEN_ONLY)
|
||||
|
||||
public:
|
||||
/** Set default parameters on a cellular interface.
|
||||
*
|
||||
* A cellular interface instantiated directly or using
|
||||
* CellularBase::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
};
|
||||
|
||||
#endif //CELLULAR_BASE_H
|
||||
|
|
|
|||
|
|
@ -84,17 +84,6 @@ public:
|
|||
*/
|
||||
static NetworkInterface *get_default_instance();
|
||||
|
||||
/** Set default parameters on an interface.
|
||||
*
|
||||
* A network interface instantiated directly or using calls such as
|
||||
* WiFiInterface::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
|
||||
/** Get the local MAC address.
|
||||
*
|
||||
* Provided MAC address is intended for info or debug purposes and
|
||||
|
|
@ -359,6 +348,18 @@ protected:
|
|||
*/
|
||||
static NetworkInterface *get_target_default_instance();
|
||||
#endif //!defined(DOXYGEN_ONLY)
|
||||
|
||||
public:
|
||||
/** Set default parameters on an interface.
|
||||
*
|
||||
* A network interface instantiated directly or using calls such as
|
||||
* WiFiInterface::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -40,17 +40,6 @@ public:
|
|||
*/
|
||||
static WiFiInterface *get_default_instance();
|
||||
|
||||
/** Set default parameters on a Wi-Fi interface.
|
||||
*
|
||||
* A Wi-Fi interface instantiated directly or using
|
||||
* WiFiInterface::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
|
||||
/** Set the Wi-Fi network credentials.
|
||||
*
|
||||
* @param ssid Name of the network to connect to.
|
||||
|
|
@ -134,6 +123,18 @@ protected:
|
|||
*/
|
||||
static WiFiInterface *get_target_default_instance();
|
||||
#endif //!defined(DOXYGEN_ONLY)
|
||||
|
||||
public:
|
||||
/** Set default parameters on a Wi-Fi interface.
|
||||
*
|
||||
* A Wi-Fi interface instantiated directly or using
|
||||
* WiFiInterface::get_default_instance() is initially unconfigured.
|
||||
* This call can be used to set the default parameters that would
|
||||
* have been set if the interface had been requested using
|
||||
* NetworkInterface::get_default_instance() (see nsapi JSON
|
||||
* configuration).
|
||||
*/
|
||||
virtual void set_default_parameters();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue