atiny_mqtt callback function must be null
@@ -289,7 +289,10 @@ static void __deal_dmp_msg(void *arg,mqtt_al_msgrcv_t *msg)
return;
}
+ if(NULL != s_oc_agent_mqtt_cb->config.msgdealer)
+ {
s_oc_agent_mqtt_cb->config.msgdealer(s_oc_agent_mqtt_cb,msg);
+ }
return;
}
