MQTT API Reference
MQTT 3.1.1 client library
IotMqtt_OperationType

Returns a string that describes an IotMqttOperationType_t.

This function returns a string describing an MQTT operation type, operation.

The string returned by this function MUST be treated as read-only: any attempt to modify its contents may result in a crash. Therefore, this function is limited to usage in logging.

Parameters
[in]operationThe operation to describe.
Returns
A read-only string that describes operation.
Warning
The string returned by this function must never be modified.
IotMqtt_OperationType
const char * IotMqtt_OperationType(IotMqttOperationType_t operation)
Returns a string that describes an IotMqttOperationType_t.
Definition: iot_mqtt_api.c:2098
IotMqttOperationType_t
IotMqttOperationType_t
Types of MQTT operations.
Definition: iot_mqtt_types.h:277