Library Defines (Options)

Top  Previous  Next

MQTT_DEBUG_PRINT (default= 0)

0- no debug information.

1- print debug information into the output pane. Debug printing only works when the project is in the debug mode. However, still set this option to 0 for release, as this will save memory and code space. Note that using debug printing severely affects your device's performance.

 

MQTT_RX_BUFF (default= 1)

The number of pages that will be allocated for the socket's RX buffer. Depending on the MQTT topics your device is handling, you may have to allocate more buffer space.

 

MQTT_TX_BUFF (default= 1)

The number of pages that will be allocated for the socket's TX buffer. Depending on the MQTT topics your device is handling, you may have to allocate more buffer space.