/*******************************************************************************
|
* File Name : MQTTClient.h
|
* Description :
|
* Author : ¶Å¼ü
|
*******************************************************************************/
|
|
#ifndef _MQTT_CLIENT_H_
|
#define _MQTT_CLIENT_H_
|
/*******************************************************************************
|
* Include Files *
|
*******************************************************************************/
|
#include "HIDO_TypeDef.h"
|
#include "Module.h"
|
#include "MsgPack.h"
|
|
/*******************************************************************************
|
* Macro *
|
*******************************************************************************/
|
|
/*******************************************************************************
|
* Type Definition *
|
*******************************************************************************/
|
typedef enum
|
{
|
MQTT_CLIENT_EVENT_CONNECT,
|
MQTT_CLIENT_EVENT_DISCONNECT,
|
} E_MQTTClientEvent;
|
|
typedef HIDO_VOID (*FN_MQTTClientEventCallback)(E_MQTTClientEvent _eEvent, HIDO_VOID *_pArg);
|
|
/*******************************************************************************
|
* Global Function *
|
*******************************************************************************/
|
|
HIDO_BOOL MQTTClient_IsReportIdle(HIDO_VOID);
|
HIDO_INT32 MQTTClient_GpsReport(ST_ReportGps *_pstReporGps);
|
HIDO_INT32 MQTTClient_Init(void);
|
void MQTTClient_Poll(void);
|
#endif /* APL_MQTTClient_H_ */
|