sandbox / mbed-client

Fork of mbed-client by Christopher Haster

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,