Macros | Functions | Variables
MQTTReasonCodes.c File Reference
#include "MQTTReasonCodes.h"
#include "MQTTPacket.h"
#include "Heap.h"
#include "StackTrace.h"
#include <memory.h>
Include dependency graph for MQTTReasonCodes.c:

Go to the source code of this file.

Macros

#define ARRAY_SIZE(a)   (sizeof(a) / sizeof(a[0]))
 

Functions

const char * MQTTReasonCode_toString (enum MQTTReasonCodes value)
 

Variables

struct {
   const char *   name
 
   enum MQTTReasonCodes   value
 
nameToString []
 

Macro Definition Documentation

#define ARRAY_SIZE (   a)    (sizeof(a) / sizeof(a[0]))

Definition at line 25 of file MQTTReasonCodes.c.

Function Documentation

const char* MQTTReasonCode_toString ( enum MQTTReasonCodes  value)

Returns a printable string description of an MQTT V5 reason code.

Parameters
valuean MQTT V5 reason code.
Returns
the printable string description of the input reason code. NULL if the code was not found.

Definition at line 79 of file MQTTReasonCodes.c.

Variable Documentation

const char* name

Definition at line 29 of file MQTTReasonCodes.c.

struct { ... } nameToString[]
enum MQTTReasonCodes value

Definition at line 28 of file MQTTReasonCodes.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49