This commit is contained in:
Wolfgang Hottgenroth 2020-11-13 14:55:49 +01:00
parent f27e286e57
commit 3d52c14d53
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -47,6 +47,11 @@ Implement this callback function for incoming messages with this footprint:
bool willRetain, const char *willMessage,
bool cleanSession);
In the original C++ implementation multiple variants of the ``connect``method are available
with less and lesser arguments. Unfortunately, in C this is no option. If you don't care
about authentication and the whole will stuff you can call it
mqttConnect(&mqttClient, brokerAddress, brokerPort, clientId, NULL, NULL, NULL, 0, false, NULL, false);
### Disconnect