16 #ifndef AZURE_IOT_MESSAGE_H
17 #define AZURE_IOT_MESSAGE_H
23 #include "azure/iot/az_iot_hub_client_properties.h"
24 #include "azure/core/_az_cfg_prefix.h"
34 az_iot_message_properties xProperties;
58 uint32_t ulAlreadyWrittenLength,
59 uint32_t ulBufferLength );
81 const uint8_t * pucName,
82 uint32_t ulNameLength,
83 const uint8_t * pucValue,
84 uint32_t ulValueLength );
97 const uint8_t * pucName,
98 uint32_t ulNameLength,
99 const uint8_t ** ppucOutValue,
100 uint32_t * pulOutValueLength );
102 #include "azure/core/_az_cfg_suffix.h"
Azure IoT FreeRTOS middleware common APIs and structs.
AzureIoTResult_t AzureIoTMessage_PropertiesInit(AzureIoTMessageProperties_t *pxMessageProperties, uint8_t *pucBuffer, uint32_t ulAlreadyWrittenLength, uint32_t ulBufferLength)
Initialize the message properties.
struct AzureIoTMessageProperties AzureIoTMessageProperties_t
The bag of properties associated with a message.
AzureIoTResult_t AzureIoTMessage_PropertiesFind(AzureIoTMessageProperties_t *pxMessageProperties, const uint8_t *pucName, uint32_t ulNameLength, const uint8_t **ppucOutValue, uint32_t *pulOutValueLength)
Find a property in the message property bag.
AzureIoTResult_t AzureIoTMessage_PropertiesAppend(AzureIoTMessageProperties_t *pxMessageProperties, const uint8_t *pucName, uint32_t ulNameLength, const uint8_t *pucValue, uint32_t ulValueLength)
Append a property name and value to a message.
Azure IoT FreeRTOS middleware result values.
enum AzureIoTResult AzureIoTResult_t
The results used by the middleware.
The bag of properties associated with a message.
Definition: azure_iot_message.h:31
struct AzureIoTMessageProperties::@7 _internal
Internal to the SDK.