forked from AikM2M/dtls-mqttsn-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway.conf1
87 lines (73 loc) · 1.86 KB
/
gateway.conf1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#**************************************************************************
# Copyright (c) 2016-2018, Tomoaki Yamaguchi
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# and Eclipse Distribution License v1.0 which accompany this distribution.
#
# The Eclipse Public License is available at
# http://www.eclipse.org/legal/epl-v10.html
# and the Eclipse Distribution License is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#***************************************************************************
#
# config file of MQTT-SN Gateway
#
BrokerName=127.0.0.1
BrokerPortNo=8883
BrokerSecurePortNo=8883
#
# configuration for Gateway GBA
#
GBAEnable=NO
GBAServerName=127.0.0.1
GBAPortNo=6666
GBADebug=NO
#
# configuration for Gateway DTLS
#
DTLSServerName=127.0.0.1
DTLSPortNo=6667
DtlsPskEnable=YES
DtlsCertEnable=NO
DtlsDebug=NO
DtlsCACertFile=/home/pi/Desktop/Trusted_CA.crt
DtlsCACertPath=/home/pi/Desktop/
DtlsServerCert=/home/pi/Desktop/mncse_srv.crt
DtlsPrivateKey=/home/pi/Desktop/mncse_srv.key
#
# configuration for Gateway TLS
#
TlsPskEnable=YES
TlsCertEnable=NO
TlsDebug=NO
#
# When AggregatingGateway=YES or ClientAuthentication=YES,
# All clients must be specified by the ClientList File
#
ClientAuthentication=NO
AggregatingGateway=NO
QoS-1=NO
Forwarder=NO
#ClientsList=/path/to/your_clients.conf
PredefinedTopic=NO
#PredefinedTopicList=/path/to/your_predefinedTopic.conf
#RootCAfile=/etc/ssl/certs/ca-certificates.crt
#RootCApath=/etc/ssl/certs/
#CertsFile=/path/to/certKey.pem
#PrivateKey=/path/to/privateKey.pem
GatewayID=1
GatewayName=PahoGateway-01
KeepAlive=900
#LoginID=your_ID
#Password=your_Password
# UDP
GatewayPortNo=6666
MulticastIP=225.1.1.1
MulticastPortNo=1883
# XBee
Baudrate=38400
SerialDevice=/dev/ttyUSB0
ApiMode=2
# LOG
ShearedMemory=NO;