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-2018, 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 # config file of MQTT-SN Gateway
pavleradojkovic 0:ba7e439238ab 15 #
pavleradojkovic 0:ba7e439238ab 16
pavleradojkovic 0:ba7e439238ab 17 BrokerName=iot.eclipse.org
pavleradojkovic 0:ba7e439238ab 18 BrokerPortNo=1883
pavleradojkovic 0:ba7e439238ab 19 BrokerSecurePortNo=8883
pavleradojkovic 0:ba7e439238ab 20
pavleradojkovic 0:ba7e439238ab 21 #
pavleradojkovic 0:ba7e439238ab 22 # When AggregatingGateway=YES or ClientAuthentication=YES,
pavleradojkovic 0:ba7e439238ab 23 # All clients must be specified by the ClientList File
pavleradojkovic 0:ba7e439238ab 24 #
pavleradojkovic 0:ba7e439238ab 25
pavleradojkovic 0:ba7e439238ab 26 ClientAuthentication=NO
pavleradojkovic 0:ba7e439238ab 27 AggregatingGateway=NO
pavleradojkovic 0:ba7e439238ab 28 QoS-1=NO
pavleradojkovic 0:ba7e439238ab 29 Forwarder=NO
pavleradojkovic 0:ba7e439238ab 30
pavleradojkovic 0:ba7e439238ab 31 #ClientsList=/path/to/your_clients.conf
pavleradojkovic 0:ba7e439238ab 32
pavleradojkovic 0:ba7e439238ab 33 PredefinedTopic=NO
pavleradojkovic 0:ba7e439238ab 34 #PredefinedTopicList=/path/to/your_predefinedTopic.conf
pavleradojkovic 0:ba7e439238ab 35
pavleradojkovic 0:ba7e439238ab 36 #RootCAfile=/etc/ssl/certs/ca-certificates.crt
pavleradojkovic 0:ba7e439238ab 37 #RootCApath=/etc/ssl/certs/
pavleradojkovic 0:ba7e439238ab 38 #CertsFile=/path/to/certKey.pem
pavleradojkovic 0:ba7e439238ab 39 #PrivateKey=/path/to/privateKey.pem
pavleradojkovic 0:ba7e439238ab 40
pavleradojkovic 0:ba7e439238ab 41 GatewayID=1
pavleradojkovic 0:ba7e439238ab 42 GatewayName=PahoGateway-01
pavleradojkovic 0:ba7e439238ab 43 KeepAlive=900
pavleradojkovic 0:ba7e439238ab 44 #LoginID=your_ID
pavleradojkovic 0:ba7e439238ab 45 #Password=your_Password
pavleradojkovic 0:ba7e439238ab 46
pavleradojkovic 0:ba7e439238ab 47
pavleradojkovic 0:ba7e439238ab 48 # UDP
pavleradojkovic 0:ba7e439238ab 49 GatewayPortNo=10000
pavleradojkovic 0:ba7e439238ab 50 MulticastIP=225.1.1.1
pavleradojkovic 0:ba7e439238ab 51 MulticastPortNo=1883
pavleradojkovic 0:ba7e439238ab 52
pavleradojkovic 0:ba7e439238ab 53 # XBee
pavleradojkovic 0:ba7e439238ab 54 Baudrate=38400
pavleradojkovic 0:ba7e439238ab 55 SerialDevice=/dev/ttyUSB0
pavleradojkovic 0:ba7e439238ab 56 ApiMode=2
pavleradojkovic 0:ba7e439238ab 57
pavleradojkovic 0:ba7e439238ab 58 # LOG
pavleradojkovic 0:ba7e439238ab 59 ShearedMemory=NO;
pavleradojkovic 0:ba7e439238ab 60