Azure IoT middleware for FreeRTOS
Typedefs | Enumerations
azure_iot_result.h File Reference

Azure IoT FreeRTOS middleware result values. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef enum AzureIoTResult AzureIoTResult_t
 The results used by the middleware.
 

Enumerations

enum  AzureIoTResult {
  eAzureIoTSuccess = 0 , eAzureIoTErrorFailed , eAzureIoTErrorInvalidArgument , eAzureIoTErrorPending ,
  eAzureIoTErrorOutOfMemory , eAzureIoTErrorInitFailed , eAzureIoTErrorSubackWaitTimeout , eAzureIoTErrorTopicNotSubscribed ,
  eAzureIoTErrorPublishFailed , eAzureIoTErrorSubscribeFailed , eAzureIoTErrorUnsubscribeFailed , eAzureIoTErrorServerError ,
  eAzureIoTErrorItemNotFound , eAzureIoTErrorTopicNoMatch , eAzureIoTErrorTokenGenerationFailed , eAzureIoTErrorEndOfProperties ,
  eAzureIoTErrorInvalidResponse , eAzureIoTErrorUnexpectedChar , eAzureIoTErrorJSONInvalidState , eAzureIoTErrorJSONNestingOverflow ,
  eAzureIoTErrorJSONReaderDone
}
 The results used by the middleware. More...
 

Detailed Description

Azure IoT FreeRTOS middleware result values.

Note
You MUST NOT use any symbols (macros, functions, structures, enums, etc.) prefixed with an underscore ('_') directly in your application code. These symbols are part of Azure SDK's internal implementation; we do not document these symbols and they are subject to change in future versions of the SDK which would break your code.

Enumeration Type Documentation

◆ AzureIoTResult

The results used by the middleware.

Enumerator
eAzureIoTErrorFailed 

There was a failure.

eAzureIoTErrorInvalidArgument 

Input argument does not comply with the expected range of values.

eAzureIoTErrorPending 

The status of the operation is pending.

eAzureIoTErrorOutOfMemory 

The system is out of memory.

eAzureIoTErrorInitFailed 

The initialization failed.

eAzureIoTErrorSubackWaitTimeout 

There was timeout while waiting for SUBACK.

eAzureIoTErrorTopicNotSubscribed 

Topic not subscribed.

eAzureIoTErrorPublishFailed 

Failed to publish.

eAzureIoTErrorSubscribeFailed 

Failed to subscribe.

eAzureIoTErrorUnsubscribeFailed 

Failed to unsubscribe.

eAzureIoTErrorServerError 

There was a server error in registration.

eAzureIoTErrorItemNotFound 

The item was not found.

eAzureIoTErrorTopicNoMatch 

The received message was not for the currently processed feature.

eAzureIoTErrorTokenGenerationFailed 

There was a failure.

eAzureIoTErrorEndOfProperties 

End of properties when iterating with AzureIoTHubClientProperties_GetNextComponentProperty().

eAzureIoTErrorInvalidResponse 

Invalid response from server.

eAzureIoTErrorUnexpectedChar 

Input can't be successfully parsed.

eAzureIoTErrorJSONInvalidState 

The kind of the token being read is not compatible with the expected type of the value.

eAzureIoTErrorJSONNestingOverflow 

The JSON depth is too large.

eAzureIoTErrorJSONReaderDone 

No more JSON text left to process.