Skip to content

Commit c97739d

Browse files
committed
Merge branch 'develop'
2 parents e3c1e2a + 2805dde commit c97739d

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/MQTTAsync.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
* @cond MQTTAsync_main
3030
* @mainpage Asynchronous MQTT client library for C (MQTTAsync)
3131
*
32-
* © Copyright 2009, 2025 IBM Corp., Ian Craggs and others
32+
* © Copyright 2009, 2025 IBM Corp., Ian Craggs and others.
3333
*
3434
* @brief An Asynchronous MQTT client library for C.
3535
*
36+
* Version 1.3.14
37+
*
3638
* An MQTT client application connects to MQTT-capable servers.
3739
* A typical client is responsible for collecting information from a telemetry
3840
* device and publishing the information to the server. It can also subscribe

src/MQTTAsyncUtils.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2009, 2024 IBM Corp., Ian Craggs and others
2+
* Copyright (c) 2009, 2025 IBM Corp., Ian Craggs and others
33
*
44
* All rights reserved. This program and the accompanying materials
55
* 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)
23782378
m->c->connected = 0; /* don't send disconnect packet back */
23792379
nextOrClose(m, discrc, "Received disconnect");
23802380
}
2381+
else
2382+
{
2383+
Log(LOG_ERROR, -1, "An unexpected packet type %u has been received", pack->header.bits.type);
2384+
}
23812385
}
23822386
}
23832387
}

src/MQTTClient.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
*
4646
* @brief An MQTT client library in C.
4747
*
48+
* Version 1.3.14
49+
*
4850
* These pages describe the original more synchronous API which might be
4951
* considered easier to use. Some of the calls will block. For the new
5052
* totally asynchronous API where no calls block, which is especially suitable

0 commit comments

Comments
 (0)