kopia lustrzana https://github.com/PiInTheSky/lora-gateway
V1.10.6 - Use receiver callsign for MQTT client ID because that needs to be unique
rodzic
c40159c254
commit
3cb466b095
4
mqtt.c
4
mqtt.c
|
@ -117,8 +117,8 @@ bool UploadMQTTPacket(mqtt_connect_t * mqttConnection, received_t * t )
|
|||
conn_opts.password = mqttConnection->pass;
|
||||
MQTTClient_setCallbacks(client, NULL, connlost, msgarrvd, delivered);
|
||||
|
||||
LogMessage("Attempting publication on host: %s\n", address);
|
||||
LogMessage("on topic %s for client with ClientID: %s\n", topic, mqttConnection->clientId);
|
||||
// LogMessage("Attempting publication on host: %s\n", address);
|
||||
// LogMessage("on topic %s for client with ClientID: %s\n", topic, mqttConnection->clientId);
|
||||
|
||||
if ((rc = MQTTClient_connect(client, &conn_opts)) != MQTTCLIENT_SUCCESS)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue