mirror of
https://github.com/grillbaer/esp32-geiger-counter.git
synced 2025-12-24 06:28:44 +01:00
added MQTT publishing support
This commit is contained in:
@@ -5,4 +5,10 @@ extern const char *wifiSsid;
|
||||
extern const char *wifiPassword;
|
||||
extern const char *thingspeakApiKey;
|
||||
|
||||
extern const char *mqttHost;
|
||||
extern int mqttPort;
|
||||
extern const char *mqttUser;
|
||||
extern const char *mqttPassword;
|
||||
extern const char *mqttTopic;
|
||||
|
||||
#endif /* CREDENTIALS_H_ */
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
void initIngest();
|
||||
void deinitIngest();
|
||||
void ingest(GeigerData &geigerData, uint16_t intervalSamples);
|
||||
void ingestToThingspeak(GeigerData &geigerData, uint16_t intervalSamples);
|
||||
void ingestToMqtt(GeigerData &geigerData, uint16_t intervalSamples);
|
||||
|
||||
#endif /* INGEST_H_ */
|
||||
|
||||
Reference in New Issue
Block a user