List of Arduino MQTT commands/functions

Is there a concise list of commands/functions for the arduino MQTT library?
ie looking for equivalent of CAYENNE_CONNECTED() etc

It’s pretty simple, all the heavy work is done in the background by the library. They are kind of scattered around, but there are some here and here and also in the examples @jburhenn is there a complete list anywhere?

There’s no definitive list outside of the code itself but the Arduino MQTT library was designed to have most of the same functionality as the old library so it supports the same CAYENNE functions:

CAYENNE_IN_DEFAULT()
CAYENNE_OUT_DEFAULT()
CAYENNE_IN(channel number)
CAYENNE_OUT(channel number)
CAYENNE_LOG(message)
CAYENNE_CONNECTED()
CAYENNE_DISCONNECTED()

The write calls, e.g. virtualWrite(), should be the same as well.

1 Like