mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
#**************************************************************************
|
|
# Copyright (c) 2016-2019, 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=mqtt.eclipse.org
|
|
BrokerPortNo=1883
|
|
BrokerSecurePortNo=8883
|
|
|
|
#
|
|
# 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=10000
|
|
MulticastIP=225.1.1.1
|
|
MulticastPortNo=1883
|
|
|
|
# UDP6
|
|
GatewayUDP6Bind=FFFF:FFFE::1
|
|
GatewayUDP6Port=10000
|
|
GatewayUDP6Broadcast=FF02::1
|
|
GatewayUDP6If=wpan0
|
|
|
|
# XBee
|
|
Baudrate=38400
|
|
SerialDevice=/dev/ttyUSB0
|
|
ApiMode=2
|
|
|
|
# LOG
|
|
ShearedMemory=NO;
|
|
|