Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-client by
Diff: source/include/m2minterfaceimpl.h
- Revision:
- 5:e36098b177a4
- Parent:
- 1:79b6cc67d8b4
--- a/source/include/m2minterfaceimpl.h Sat Apr 02 00:31:13 2016 +0300
+++ b/source/include/m2minterfaceimpl.h Thu Apr 07 01:54:45 2016 +0300
@@ -135,6 +135,15 @@
*/
virtual void set_queue_sleep_handler(callback_handler handler);
+ /**
+ * @brief Sets the network interface handler that is used by client to connect
+ * to a network over IP..
+ * @param handler A network interface handler that is used by client to connect.
+ * This API is optional but provides a mechanism for different platforms to
+ * manage usage of underlying network interface by client.
+ */
+ virtual void set_platform_network_handler(void *handler = NULL);
+
protected: // From M2MNsdlObserver
virtual void coap_message_ready(uint8_t *data_ptr,
