@@ -92,6 +92,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
92
92
* @param buflen size of supplied buffer
93
93
* @return Pointer to a buffer, or NULL if the buffer is too small
94
94
*/
95
+ virtual nsapi_error_t get_ip_address (SocketAddress *address);
96
+
97
+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
95
98
virtual char *get_ip_address (char *buf, nsapi_size_t buflen);
96
99
97
100
/* * Copies netmask of the network interface to user supplied buffer
@@ -100,6 +103,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
100
103
* @param buflen size of supplied buffer
101
104
* @return Pointer to a buffer, or NULL if the buffer is too small
102
105
*/
106
+ virtual nsapi_error_t get_netmask (SocketAddress *address);
107
+
108
+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
103
109
virtual char *get_netmask (char *buf, nsapi_size_t buflen);
104
110
105
111
/* * Copies gateway address of the network interface to user supplied buffer
@@ -108,6 +114,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
108
114
* @param buflen size of supplied buffer
109
115
* @return Pointer to a buffer, or NULL if the buffer is too small
110
116
*/
117
+ virtual nsapi_error_t get_gateway (SocketAddress *address);
118
+
119
+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
111
120
virtual char *get_gateway (char *buf, nsapi_size_t buflen);
112
121
113
122
private:
0 commit comments