11 #if GEO_MQTT == GEO_TRUE
13 #if GEO_NET_NDK == GEO_TRUE
23 #include <GmStorage.hpp>
30 extern "C" int StartupMQTT (
void);
32 #define GEO_MAX_TOPICS 20
33 #define GEO_MAX_TOPIC_NAME_LENGTH 20
43 int CheckInitialized (
char *szServerName,
44 char *szPortNumberAsString,
47 int ConnectToBroker (
const char *brokerAddress);
48 int Subscribe (
const char *szTopicName);
50 int PrepTopic (
char *szTopicName,
53 int Close (
int iFileIndex) {
return 0;};
54 int WriteData (
const char* pcData,
55 unsigned int iDataSize,
57 int SetTopicString (UInt32 iTopicId,
59 int PushData (
const char *pData,
63 int PublishSelf (
const char *szTopic,
66 static bool sDaemonsHaveBeenSetUp;
76 char m_aacTopicIdToStringMap[GEO_MAX_TOPICS][GEO_MAX_TOPIC_NAME_LENGTH+1];
Definition: GmMQTT.hpp:36
Definition: GmStorage.hpp:81
GmApp/GmLoggingApp.hpp>
Definition: Analogs.hpp:47