This commit is contained in:
Kevin Hester
2021-04-03 16:06:40 +08:00
parent 8890ca759d
commit f3f09f0dcf
8 changed files with 78 additions and 19 deletions

View File

@@ -23,10 +23,10 @@ class MQTT
/**
* Publish a packet on the glboal MQTT server.
*/
void publish(const MeshPacket *mp);
void publish(const MeshPacket &mp);
private:
const char *getTopic(String suffix, const char *direction = "dev");
const char *getCryptTopic(const char *channelId);
};
void mqttInit();