#ifndef __CA_MQTT_H__ #define __CA_MQTT_H__ #ifdef CFG_DEV_TYPE_LAND_CA /* Includes ------------------------------------------------------------------*/ #include "ca_main.h" /* Define --------------------------------------------------------------------*/ /* Device connection info */ //char* g_server_addr = "106.13.28.133"; // Need to obtain the server_addr of the device from the platform side //int g_port = 1883; // Need to obtain the port of the device from the platform side //char* g_device_id = "LD40110058"; // Need to obtain the device_id of the device from the platform side //char* g_user_name = "60E2CEEF393B45ADA76F3030B9FE5590"; // Need to obtain the device_id of the device from the platform side //char* g_passwd = "D40110058aaaaaaaaaaa"; // Need to obtain the password of the device from the platform side //char* g_client_id = "D73873598291bInxP"; // Need to obtain the device_id of the device from the platform side //char* g_service_id = "currentData"; //char* g_ManufacturerId = "caith1"; //char* g_ManufacturerName = "caith1"; //char* g_Model = "caith1"; //char* g_prefix = "SN-SDKtest-4c-"; #if 0 typedef struct { char server_addr[64]; unsigned short server_port; char client_id[64]; char user_name[64]; char password[64]; char device_id[64]; char service_id[64]; unsigned int keep_live_time; } mqtt_param_t; #endif typedef struct { mqtt_param_t param; } mqtt_ctrl_t; //extern mqtt_ctrl_t mqtt_ctrl; extern int mqtt_handle_init(void); #endif #endif