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
Diff: iotdevice.c
- Revision:
- 11:b1327861f5e0
- Parent:
- 10:c2aee3965a83
- Child:
- 13:16e88f0cfa5f
diff -r c2aee3965a83 -r b1327861f5e0 iotdevice.c --- a/iotdevice.c Fri Apr 08 13:25:09 2016 -0700 +++ b/iotdevice.c Sun Apr 24 16:40:59 2016 -0700 @@ -15,7 +15,7 @@ #include "azure_c_shared_utility/iot_logging.h" #define LOG_DEVICE_ERROR \ - LogError("(result = %s)\r\n", ENUM_TO_STRING(DEVICE_RESULT, result)) + LogError("(result = %s)", ENUM_TO_STRING(DEVICE_RESULT, result)) typedef struct DEVICE_TAG { @@ -36,7 +36,7 @@ if (actionCallbackContext == NULL) { result = EXECUTE_COMMAND_ERROR; - LogError("(Error code = %s)\r\n", ENUM_TO_STRING(DEVICE_RESULT, DEVICE_INVALID_ARG)); + LogError("(Error code = %s)", ENUM_TO_STRING(DEVICE_RESULT, DEVICE_INVALID_ARG)); } else { @@ -135,7 +135,7 @@ if (deviceHandle == NULL) { result = NULL; - LogError("(Error code = %s)\r\n", ENUM_TO_STRING(DEVICE_RESULT, DEVICE_INVALID_ARG)); + LogError("(Error code = %s)", ENUM_TO_STRING(DEVICE_RESULT, DEVICE_INVALID_ARG)); } else {