SystemAgent/src/impl/user_mqtt_impl.c

13 lines
364 B
C
Raw Normal View History

2021-07-18 17:26:17 +00:00
#include <stdio.h>
#include <string.h>
#include "impl/user_mqtt_impl.h"
mqtt_influx_ret_t user_mqtt_get_nsec_timestamp_cb(user_mqtt_impl_t *handle, char *timestamp_string) {
sprintf(timestamp_string, "00000000");
return MQTT_INFLUX_OK;
}
mqtt_influx_ret_t user_mqtt_publish_message_cb(user_mqtt_impl_t *handle, char *data) {
fprintf(stderr, data);
}