ublox-at-cellular-interface
Diff: UbloxATCellularInterface.h
- Revision:
- 41:69998003d95a
- Parent:
- 35:ca29480080ac
diff -r 9299d6d117f1 -r 69998003d95a UbloxATCellularInterface.h --- a/UbloxATCellularInterface.h Fri Nov 22 19:45:14 2019 +0500 +++ b/UbloxATCellularInterface.h Wed Jan 01 11:47:24 2020 +0500 @@ -233,22 +233,34 @@ * @return Null-terminated representation of the local IP address * or null if no IP address has been received. */ + MBED_DEPRECATED_SINCE("mbed-os-5.15", "String-based APIs are deprecated") virtual const char *get_ip_address(); + /** @copydoc NetworkInterface::get_ip_address */ + virtual nsapi_error_t get_ip_address(SocketAddress *address); + /** Get the local network mask. * * @return Null-terminated representation of the local network mask * or null if no network mask has been received. */ + MBED_DEPRECATED_SINCE("mbed-os-5.15", "String-based APIs are deprecated") virtual const char *get_netmask(); + /** @copydoc NetworkInterface::get_netmask */ + virtual nsapi_error_t get_netmask(SocketAddress *address); + /** Get the local gateways. * * @return Null-terminated representation of the local gateway * or null if no network mask has been received. */ + MBED_DEPRECATED_SINCE("mbed-os-5.15", "String-based APIs are deprecated") virtual const char *get_gateway(); + /** @copydoc NetworkInterface::get_gateway */ + virtual nsapi_error_t get_gateway(SocketAddress *address); + /** Call back in case connection is lost. * * @param cb The function to call.