mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Revision:
2:853f9ecc12df
Parent:
1:cabdd0350707
Child:
3:11b2f4e58378
--- a/api/Utils.cpp	Tue Jan 27 22:52:25 2015 +0000
+++ b/api/Utils.cpp	Tue Jan 27 23:41:34 2015 +0000
@@ -3,7 +3,7 @@
  * @brief   mbed CoAP Endpoint misc utils collection
  * @author  Doug Anson
  * @version 1.0
- * @see     
+ * @see
  *
  * Copyright (c) 2014
  *
@@ -19,7 +19,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 // mbed Endpoint includes
 #include "Endpoint.h"
 #include "OptionsBuilder.h"
@@ -29,18 +29,19 @@
 extern Logger logger;
 
 // further simplifies the endpoint main() configuration by removing the final initialization details of the endpoint...
-void configure_endpoint() {
+void configure_endpoint()
+{
     Connector::OptionsBuilder builder;
     Connector::Options *options = configure_endpoint(builder);
-    
-    // alloc Endpoint resource 
+
+    // alloc Endpoint resource
     logger.log("configure_endpoint: allocating endpoint...\r\n");
     Connector::Endpoint endpoint(&logger,options);
-    
+
     // initialize Endpoint resource
     logger.log("configure_endpoint: initializing endpoint...\r\n");
-    endpoint.initialize();    
-    
+    endpoint.initialize();
+
     // DONE
     logger.log("configure_endpoint: completed\r\n");
-}
\ No newline at end of file
+}