BugFix Adapters

PINGREQ and PINGRESP
Add Error message when the Aggregate GW receives PUBLISH from the
broker.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-02-07 18:21:48 +09:00
parent 6e3c53ec83
commit 1715d5d47c
13 changed files with 47 additions and 27 deletions

View File

@@ -51,11 +51,11 @@ void QoSm1Proxy::initialize(void)
{
if (strcasecmp(param, "YES") == 0 )
{
/* Create QoS-1 Clients */
/* Create QoS-1 Clients from clients.conf */
_gateway->getClientList()->setClientList(QOSM1PROXY_TYPE);
/* initialize Adapter */
string name = string(_gateway->getGWParams()->gatewayName) + "QoS-1";
/* Create a client for QoS-1 proxy */
string name = string(_gateway->getGWParams()->gatewayName) + "_QoS-1";
setup(name.c_str(), Atype_QoSm1Proxy);
_isActive = true;
}