1 Star 1 Fork 1

jiangfeng.zhang / MqttClientDemo-libpaho

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mqtt.h 774 Bytes
一键复制 编辑 原始数据 按行查看 历史
/*************************************************************************
> File Name: matt.h
> Author:
> Mail:
> Created Time: 2018年09月05日 星期三 16时40分31秒
************************************************************************/
#ifndef NET_PROC_H
#define NET_PROC_H
#ifdef __cplusplus
extern "C" {
#endif
enum iot_ctrl_status_t
{
IOT_STATUS_LOGIN,
IOT_STATUS_CONNECT,
IOT_STATUS_DROP,
};
typedef void (*pMessageArrived_Fun)(void*,int len);
void mqtt_module_init(void);
int mqtt_data_write(char *pbuf, int len, char retain);
void mqtt_data_rx_cb(void *pbuf, int len);
void *cloud_mqtt_thread(void *arg);
#define mDEBUG(fmt, ...) printf("%s[%s](%d):" fmt,__FILE__,__FUNCTION__,__LINE__,##__VA_ARGS__)
#ifdef __cplusplus
}
#endif
#endif
C
1
https://gitee.com/hostid/MqttClientDemo-libpaho.git
git@gitee.com:hostid/MqttClientDemo-libpaho.git
hostid
MqttClientDemo-libpaho
MqttClientDemo-libpaho
master

搜索帮助