Microsoft Azure IoTHub client libraries
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more
This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: internal/iothub_transport_ll_private.h
- Revision:
- 89:a2ed767a532e
- Parent:
- 88:248736be106e
- Child:
- 92:97148cf9aa2a
--- a/internal/iothub_transport_ll_private.h Mon Jun 11 15:39:23 2018 -0700 +++ b/internal/iothub_transport_ll_private.h Tue Jun 26 19:14:28 2018 -0700 @@ -44,6 +44,9 @@ const char* deviceSasToken; IOTHUB_AUTHORIZATION_HANDLE authorization_module; // with either SAS Token, x509 Certs, and Device SAS Token + + /** @brief A string that identifies the module. Optional. */ + const char* moduleId; } IOTHUB_DEVICE_CONFIG; typedef STRING_HANDLE (*pfIoTHubTransport_GetHostname)(TRANSPORT_LL_HANDLE handle); @@ -64,6 +67,8 @@ typedef int(*pfIoTHubTransport_Subscribe_DeviceMethod)(IOTHUB_DEVICE_HANDLE handle); typedef void(*pfIoTHubTransport_Unsubscribe_DeviceMethod)(IOTHUB_DEVICE_HANDLE handle); typedef int(*pfIoTHubTransport_DeviceMethod_Response)(IOTHUB_DEVICE_HANDLE handle, METHOD_HANDLE methodId, const unsigned char* response, size_t response_size, int status_response); + typedef int(*pfIoTHubTransport_Subscribe_InputQueue)(IOTHUB_DEVICE_HANDLE handle); + typedef void(*pfIoTHubTransport_Unsubscribe_InputQueue)(IOTHUB_DEVICE_HANDLE handle); #define TRANSPORT_PROVIDER_FIELDS \ pfIotHubTransport_SendMessageDisposition IoTHubTransport_SendMessageDisposition; \ @@ -83,7 +88,9 @@ pfIoTHubTransport_Unsubscribe IoTHubTransport_Unsubscribe; \ pfIoTHubTransport_DoWork IoTHubTransport_DoWork; \ pfIoTHubTransport_SetRetryPolicy IoTHubTransport_SetRetryPolicy; \ -pfIoTHubTransport_GetSendStatus IoTHubTransport_GetSendStatus /*there's an intentional missing ; on this line*/ +pfIoTHubTransport_GetSendStatus IoTHubTransport_GetSendStatus; \ +pfIoTHubTransport_Subscribe_InputQueue IoTHubTransport_Subscribe_InputQueue; \ +pfIoTHubTransport_Unsubscribe_InputQueue IoTHubTransport_Unsubscribe_InputQueue /*there's an intentional missing ; on this line*/ struct TRANSPORT_PROVIDER_TAG {