This is the PAL (Platform Adaptation Layer) for the Pubnub C-core library.

Dependencies:   Pubnub_c_core

Dependents:   Pubnub_mbed2_sync

Revision:
0:389a44951c54
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pbpal_mbed2_blocking_io.cpp	Thu Nov 10 22:23:46 2016 +0000
@@ -0,0 +1,11 @@
+/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */
+#include "pbpal.h"
+
+#include "pubnub_internal.h"
+
+
+int pbpal_set_blocking_io(pubnub_t *pb)
+{
+    pb->pal.socket->set_blocking(pb->options.use_blocking_io, pb->transaction_timeout_ms);
+    return 0;
+}