1#**************************************************************************
2# Copyright (c) 2016-2021, Tomoaki Yamaguchi
3#
4# All rights reserved. This program and the accompanying materials
5# are made available under the terms of the Eclipse Public License v1.0
6# and Eclipse Distribution License v1.0 which accompany this distribution.
7#
8# The Eclipse Public License is available at
9#    http://www.eclipse.org/legal/epl-v10.html
10# and the Eclipse Distribution License is available at
11#   http://www.eclipse.org/org/documents/edl-v10.php.
12#***************************************************************************
13#
14# config file of MQTT-SN Gateway
15#
16
17GatewayID=1
18GatewayName=PahoGateway-01
19MaxNumberOfClients=30
20KeepAlive=60
21#LoginID=your_ID
22#Password=your_Password
23
24BrokerName=mosquitto
25BrokerPortNo=1883
26BrokerSecurePortNo=8883
27
28#
29# CertsKey for TLS connections to a broker
30#
31
32#RootCAfile=/etc/ssl/certs/ca-certificates.crt
33#RootCApath=/etc/ssl/certs/
34#CertKey=/path/to/certKey.pem
35#PrivateKey=/path/to/privateKey.pem
36
37#
38# When AggregatingGateway=YES or ClientAuthentication=YES,
39# All clients must be specified by the ClientList File
40#
41
42AggregatingGateway=NO
43QoS-1=NO
44Forwarder=NO
45PredefinedTopic=NO
46ClientAuthentication=NO
47
48ClientsList=/path/to/your_clients.conf
49PredefinedTopicList=/path/to/your_predefinedTopic.conf
50
51
52#==============================
53#  SensorNetworks parameters
54#==============================
55#
56# UDP | DTLS
57#
58
59GatewayPortNo=10000
60MulticastPortNo=1883
61MulticastIP=225.1.1.1
62MulticastTTL=1
63
64#
65# UDP6 | DTLS6
66#
67
68GatewayIPv6PortNo=10000
69MulticastIPv6PortNo=1883
70MulticastIPv6=ff1e:feed:caca:dead::1
71MulticastIPv6If=wlp4s0
72MulticastHops=1
73
74#
75# DTLS | DTLS6
76#
77
78DtlsCertsKey=/etc/ssl/certs/gateway.pem
79DtlsPrivKey=/etc/ssl/private/privkey.pem
80
81#
82# XBee
83#
84
85Baudrate=38400
86SerialDevice=/dev/ttyUSB0
87ApiMode=2
88
89#
90# LoRaLink
91#
92
93BaudrateLoRaLink=115200
94DeviceRxLoRaLink=/dev/loralinkRx
95DeviceTxLoRaLink=/dev/loralinkTx
96
97#
98# Bluetooth RFCOMM
99#
100
101RFCOMMAddress=60:57:18:06:8B:72.*
102
103#
104# LOG
105#
106
107ShearedMemory=NO
108