mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
126:f37e34daa100
Parent:
125:4bf229bf14a3
--- a/mbed-connector-interface/mbedConnectorInterface.h	Thu Jul 13 19:21:28 2017 +0000
+++ b/mbed-connector-interface/mbedConnectorInterface.h	Thu Jul 13 20:43:26 2017 +0000
@@ -39,14 +39,12 @@
 #define MESH_THREAD     					4
 #define WIFI_ODIN       					5
 
-// ResourceObserver type selection based on version of mbedOS we are using
-#if defined (MBED_CONF_RTOS_PRESENT)
-	// mbedOS5+ we will use EventQueueResourceObserver
-	#define CONNECTOR_USING_EVENT_QUEUES    1
-#else
-	// mbedOS2 we will use ThreadedResourceObserver
-    #define CONNECTOR_USING_THREADS         1
-#endif
+//
+// ResourceObserver type: EventQueue, Threading, or Ticker (only ONE may be uncommented)
+//
+//#define CONNECTOR_USING_EVENT_QUEUES  1	// currently broken... please do not use
+#define CONNECTOR_USING_THREADS         1	// Threads used
+//#define CONNECTOR_USING_TICKER        1	// Tickers - resource's get() method called from within ISR!!! 
 
 // mbedOS5 uses LWIP
 #define MCI_LWIP_INTERFACE                  true