...
mqtt-c.h/mqtt-c.c
Prototype
Code Block |
---|
void MQTTc_ConnSetParam (MQTTc_CONN *p_conn,
MQTTc_PARAM_TYPE type,
void *p_param,
MQTTc_ERR *p_err); |
Arguments
p_conn
Pointer to the current HTTPc MQTTc Connection.
type
Parameter type:
...
MQTTc_PARAM_TYPE_CALLBACK_ON_DISCONNECT_CMPL On disconnect cmpl callback.
MQTTc_PARAM_TYPE_CALLBACK_ON_ERR_CALLBACK On err callback.
MQTTc_PARAM_TYPE_CALLBACK_ON_PUBLISH_RX On publish rx'd callback.
...