From 60fcab2504cf60242b829080b4480d5c25f41d90 Mon Sep 17 00:00:00 2001 From: tomoaki Date: Tue, 27 Apr 2021 21:31:22 +0900 Subject: [PATCH] Change Client Type Signed-off-by: tomoaki --- MQTTSNGateway/src/MQTTSNGWClient.cpp | 2 +- MQTTSNGateway/src/MQTTSNGWClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MQTTSNGateway/src/MQTTSNGWClient.cpp b/MQTTSNGateway/src/MQTTSNGWClient.cpp index a971bc2..03244bc 100644 --- a/MQTTSNGateway/src/MQTTSNGWClient.cpp +++ b/MQTTSNGateway/src/MQTTSNGWClient.cpp @@ -59,7 +59,7 @@ Client::Client(bool secure) _hasPredefTopic = false; _holdPingRequest = false; _forwarder = nullptr; - _clientType = Ctype_Regular; + _clientType = Ctype_Normal; } Client::~Client() diff --git a/MQTTSNGateway/src/MQTTSNGWClient.h b/MQTTSNGateway/src/MQTTSNGWClient.h index 1774ad9..55685f0 100644 --- a/MQTTSNGateway/src/MQTTSNGWClient.h +++ b/MQTTSNGateway/src/MQTTSNGWClient.h @@ -163,7 +163,7 @@ typedef enum typedef enum { - Ctype_Regular = 0, + Ctype_Normal = 0, Ctype_Forwarded, Ctype_QoS_1, Ctype_Aggregated,