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: methodreturn.c
- Revision:
- 25:475bf9d91efb
- Parent:
- 21:6d3dea1abd9c
- Child:
- 31:bdcce611d29b
--- a/methodreturn.c Fri Mar 24 16:36:07 2017 -0700 +++ b/methodreturn.c Fri Apr 21 14:50:55 2017 -0700 @@ -42,7 +42,9 @@ { if (jsonValue == NULL) { + /*Codes_SRS_METHODRETURN_02_001: [ MethodReturn_Create shall create a non-NULL handle containing statusCode and a clone of jsonValue. ]*/ result->data.jsonValue = NULL; + result->data.statusCode = statusCode; } else {