mirror of https://github.com/eclipse/paho.mqtt.c
Merge branch 'develop'
This commit is contained in:
commit
c97739dad1
|
|
@ -29,10 +29,12 @@
|
|||
* @cond MQTTAsync_main
|
||||
* @mainpage Asynchronous MQTT client library for C (MQTTAsync)
|
||||
*
|
||||
* © Copyright 2009, 2025 IBM Corp., Ian Craggs and others
|
||||
* © Copyright 2009, 2025 IBM Corp., Ian Craggs and others.
|
||||
*
|
||||
* @brief An Asynchronous MQTT client library for C.
|
||||
*
|
||||
* Version 1.3.14
|
||||
*
|
||||
* An MQTT client application connects to MQTT-capable servers.
|
||||
* A typical client is responsible for collecting information from a telemetry
|
||||
* device and publishing the information to the server. It can also subscribe
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2024 IBM Corp., Ian Craggs and others
|
||||
* Copyright (c) 2009, 2025 IBM Corp., Ian Craggs and others
|
||||
*
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v2.0
|
||||
|
|
@ -2378,6 +2378,10 @@ thread_return_type WINAPI MQTTAsync_receiveThread(void* n)
|
|||
m->c->connected = 0; /* don't send disconnect packet back */
|
||||
nextOrClose(m, discrc, "Received disconnect");
|
||||
}
|
||||
else
|
||||
{
|
||||
Log(LOG_ERROR, -1, "An unexpected packet type %u has been received", pack->header.bits.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@
|
|||
*
|
||||
* @brief An MQTT client library in C.
|
||||
*
|
||||
* Version 1.3.14
|
||||
*
|
||||
* These pages describe the original more synchronous API which might be
|
||||
* considered easier to use. Some of the calls will block. For the new
|
||||
* totally asynchronous API where no calls block, which is especially suitable
|
||||
|
|
|
|||
Loading…
Reference in New Issue