sandbox / mbed-client

Fork of mbed-client by Christopher Haster

Revision:
5:e36098b177a4
Parent:
4:ae5178938864
--- a/source/m2minterfaceimpl.cpp	Sat Apr 02 00:31:13 2016 +0300
+++ b/source/m2minterfaceimpl.cpp	Thu Apr 07 01:54:45 2016 +0300
@@ -259,6 +259,14 @@
     _callback_handler = handler;
 }
 
+void M2MInterfaceImpl::set_platform_network_handler(void *handler)
+{
+    tr_debug("M2MInterfaceImpl::set_platform_network_handler()");
+    if(_connection_handler) {
+        _connection_handler->set_platform_network_handler(handler);
+    }
+}
+
 void M2MInterfaceImpl::coap_message_ready(uint8_t *data_ptr,
                                           uint16_t data_len,
                                           sn_nsdl_addr_s *address_ptr)