@@ -92,6 +92,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
9292 * @param buflen size of supplied buffer
9393 * @return Pointer to a buffer, or NULL if the buffer is too small
9494 */
95+ virtual nsapi_error_t get_ip_address (SocketAddress *address);
96+
97+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
9598 virtual char *get_ip_address (char *buf, nsapi_size_t buflen);
9699
97100 /* * Copies netmask of the network interface to user supplied buffer
@@ -100,6 +103,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
100103 * @param buflen size of supplied buffer
101104 * @return Pointer to a buffer, or NULL if the buffer is too small
102105 */
106+ virtual nsapi_error_t get_netmask (SocketAddress *address);
107+
108+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
103109 virtual char *get_netmask (char *buf, nsapi_size_t buflen);
104110
105111 /* * Copies gateway address of the network interface to user supplied buffer
@@ -108,6 +114,9 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
108114 * @param buflen size of supplied buffer
109115 * @return Pointer to a buffer, or NULL if the buffer is too small
110116 */
117+ virtual nsapi_error_t get_gateway (SocketAddress *address);
118+
119+ MBED_DEPRECATED_SINCE (" mbed-os-5.15" , " String-based APIs are deprecated" )
111120 virtual char *get_gateway (char *buf, nsapi_size_t buflen);
112121
113122 private:
0 commit comments