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: serializer_devicetwin.h
- Revision:
- 36:7d12a5386197
- Parent:
- 34:87d7cd4169c6
--- a/serializer_devicetwin.h Thu Jul 12 18:10:30 2018 -0700 +++ b/serializer_devicetwin.h Tue Sep 11 11:14:37 2018 -0700 @@ -41,7 +41,7 @@ { /*all is fine*/ } - + free(copyOfPayload); } } @@ -67,7 +67,7 @@ /*Codes_SRS_SERIALIZERDEVICETWIN_02_022: [ deviceMethodCallback shall call EXECUTE_METHOD passing the userContextCallback, method_name and the null terminated string build before. ]*/ METHODRETURN_HANDLE mr = EXECUTE_METHOD(userContextCallback, method_name, payloadZeroTerminated); - + if (mr == NULL) { LogError("failure in EXECUTE_METHOD"); @@ -138,7 +138,7 @@ IOTHUB_CLIENT_HANDLE_VARIANT iothubClientHandleVariant; void* deviceAssigned; } SERIALIZER_DEVICETWIN_PROTOHANDLE; - + static VECTOR_HANDLE g_allProtoHandles=NULL; /*contains SERIALIZER_DEVICETWIN_PROTOHANDLE*/ static int lazilyAddProtohandle(const SERIALIZER_DEVICETWIN_PROTOHANDLE* protoHandle)