
#ifndef MQTT_CONF_H_
#define MQTT_CONF_H_

#define ADDRESS     "tcp://172.25.240.31:1983"//"tcp://172.25.240.199:1883"//
#define CLIENTID    "CCU.%s.%s"

#define PAYLOAD     "Hello World!"
#define QOS         0
#define TIMEOUT     10000L
#define USRNAME     "hangzhou_gateway "
#define PASSWORD    "2ca1442865ff4cb99870f60f2c646190"
#define AUTO_CONN   1
#define CONNECT_TIMEOUT   3
#define IPSTR "172.25.240.194"
#define PORT 8092

typedef enum {
	RETURN_FAIL = -1,
	RETURN_SUCCESS = 0,
} kk_kcloud_error_code_t;
#define  KK_DEVICESECRET_PATH   "/data/kk/kk_deviceSecret.txt"
#define  KK_TOKEN_PATH   "/data/kk/kk_token.txt"
#define  HOST_NAME       "dev.nj-ikonke.site"
int KK_Get_ccuid( char *device_code);
#endif

