Library for MQTT

Committer:
pavleradojkovic
Date:
Mon Jun 20 16:24:43 2022 +0000
Revision:
0:ba7e439238ab
Inital commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pavleradojkovic 0:ba7e439238ab 1 #***********************************************************************
pavleradojkovic 0:ba7e439238ab 2 # Copyright (c) 2016, Tomoaki Yamaguchi
pavleradojkovic 0:ba7e439238ab 3 #
pavleradojkovic 0:ba7e439238ab 4 # All rights reserved. This program and the accompanying materials
pavleradojkovic 0:ba7e439238ab 5 # are made available under the terms of the Eclipse Public License v1.0
pavleradojkovic 0:ba7e439238ab 6 # and Eclipse Distribution License v1.0 which accompany this distribution.
pavleradojkovic 0:ba7e439238ab 7 #
pavleradojkovic 0:ba7e439238ab 8 # The Eclipse Public License is available at
pavleradojkovic 0:ba7e439238ab 9 # http://www.eclipse.org/legal/epl-v10.html
pavleradojkovic 0:ba7e439238ab 10 # and the Eclipse Distribution License is available at
pavleradojkovic 0:ba7e439238ab 11 # http://www.eclipse.org/org/documents/edl-v10.php.
pavleradojkovic 0:ba7e439238ab 12 #***********************************************************************
pavleradojkovic 0:ba7e439238ab 13 #
pavleradojkovic 0:ba7e439238ab 14 # File format is:
pavleradojkovic 0:ba7e439238ab 15 # Lines bigning with # are comment line.
pavleradojkovic 0:ba7e439238ab 16 # ClientId, SensorNetAddress, "unstableLine", "secureConnection"
pavleradojkovic 0:ba7e439238ab 17 # in case of UDP, SensorNetAddress format is portNo@IPAddress.
pavleradojkovic 0:ba7e439238ab 18 # if the SensorNetwork is not stable, write "unstableLine".
pavleradojkovic 0:ba7e439238ab 19 # if Broker's Connection is SSL, write "secureConnection".
pavleradojkovic 0:ba7e439238ab 20 # if the client is a forwarder, "forwarder" is required.
pavleradojkovic 0:ba7e439238ab 21 # if the client send PUBLISH QoS-1, "QoS-1" is required.
pavleradojkovic 0:ba7e439238ab 22 #
pavleradojkovic 0:ba7e439238ab 23 # Ex:
pavleradojkovic 0:ba7e439238ab 24 # #Client List
pavleradojkovic 0:ba7e439238ab 25 # ClientId1,11200@192.168.10.10
pavleradojkovic 0:ba7e439238ab 26 # ClientID2,35000@192.168.50.200,unstableLine
pavleradojkovic 0:ba7e439238ab 27 # ClientID3,40000@192.168.200.50,secureConnection
pavleradojkovic 0:ba7e439238ab 28 # ClientID4,41000@192.168.200.52,unstableLine,secureConnection
pavleradojkovic 0:ba7e439238ab 29 # ClientID5,41000@192.168.200.53,unstableLine,secureConnection,QoS-1
pavleradojkovic 0:ba7e439238ab 30 # ClientID6,41000@192.168.200.54,unstableLine,secureConnection,forwarder
pavleradojkovic 0:ba7e439238ab 31 #
pavleradojkovic 0:ba7e439238ab 32 # SensorNetwork address format is defined by SensorNetAddress::setAddress(string* data) function.
pavleradojkovic 0:ba7e439238ab 33 #
pavleradojkovic 0:ba7e439238ab 34 GatewayTester, 172.16.1.11:20020
pavleradojkovic 0:ba7e439238ab 35 ClientPUB,172.16.1.11:2010
pavleradojkovic 0:ba7e439238ab 36 Client01,172.16.1.11:12001
pavleradojkovic 0:ba7e439238ab 37 Client02,172.16.1.11:12002
pavleradojkovic 0:ba7e439238ab 38 Client03,172.16.1.11:13003
pavleradojkovic 0:ba7e439238ab 39
pavleradojkovic 0:ba7e439238ab 40 QoS-1_Client01,172.16.1.11:20001,QoS-1
pavleradojkovic 0:ba7e439238ab 41 QoS-1_Client02,172.16.1.11:20002,QoS-1
pavleradojkovic 0:ba7e439238ab 42 QoS-1_Client03,172.16.1.11:20003,QoS-1
pavleradojkovic 0:ba7e439238ab 43
pavleradojkovic 0:ba7e439238ab 44 Forwarder01,172.16.1.11:22002,forwarder
pavleradojkovic 0:ba7e439238ab 45 Forwarder02,172.16.1.11:22003,forwarder
pavleradojkovic 0:ba7e439238ab 46 Forwarder03,172.16.1.11:22004,forwarder
pavleradojkovic 0:ba7e439238ab 47