A modelling and serializer library for Microsoft Azure IoTHub client applications

Dependents:   sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more

This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks

Revision:
22:422d94bd3c18
Parent:
21:6d3dea1abd9c
Child:
23:078ea26cffcd
--- a/commanddecoder.c	Tue Jan 24 15:24:19 2017 -0800
+++ b/commanddecoder.c	Sat Jan 28 09:35:06 2017 -0800
@@ -648,9 +648,7 @@
         char* commandJSON;
 
         /* Codes_SRS_COMMAND_DECODER_01_011: [If the size of the command is 0 then the processing shall stop and the command shall not be dispatched and it shall return EXECUTE_COMMAND_ERROR.]*/
-        if (
-            (size == 0)
-            )
+        if (size == 0)
         {
             LogError("Failed because command size is zero");
             result = EXECUTE_COMMAND_ERROR;
@@ -754,9 +752,7 @@
     COMMAND_DECODER_HANDLE_DATA* result;
     /* Codes_SRS_COMMAND_DECODER_99_019:[ For all exposed APIs argument validity checks shall precede other checks.] */
     /* Codes_SRS_COMMAND_DECODER_01_003: [ If modelHandle is NULL, CommandDecoder_Create shall return NULL. ]*/
-    if (
-        (modelHandle == NULL)
-        )
+    if (modelHandle == NULL)
     {
         LogError("Invalid arguments: SCHEMA_MODEL_TYPE_HANDLE modelHandle=%p, ACTION_CALLBACK_FUNC actionCallback=%p, void* actionCallbackContext=%p, METHOD_CALLBACK_FUNC methodCallback=%p, void* methodCallbackContext=%p",
             modelHandle, actionCallback, actionCallbackContext, methodCallback, methodCallbackContext);