Hi Guys,
I am configuring my gateway as a Basic station using US915 and I am getting this:
2021-01-25 18:37:56.634 [AIO:XDEB] [3|WS] < {“msgtype”:“router_config”,“NetID”:null,“JoinEui”:null,“region”:“EU863”,“hwspec”:“sx1301/0”,“freq_range”:[863000000,870000000],“DRs”:[[12,125,0],[11,125,0],[10,125,0],[9,125,0],[8,125,0],[7,125,0],[7,250,0],[0,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0]],“sx1301_conf”:[]}
2021-01-25 18:37:56.635 [RAL:ERRO] Unsupported hwspec=sx1301/0
2021-01-25 18:37:56.635 [any:ERRO] Closing connection to muxs - error in s2e_onMsg
2021-01-25 18:37:56.639 [AIO:DEBU] [3] ws_close reason=1000
2021-01-25 18:37:56.639 [AIO:XDEB] [3] ws_closing_w state=5
2021-01-25 18:37:56.639 [AIO:DEBU] Echoing close - reason=1000
2021-01-25 18:37:56.659 [AIO:DEBU] [3|WS] Server sent close: reason=1000
2021-01-25 18:37:56.659 [AIO:DEBU] [3] WS connection shutdown…
2021-01-25 18:37:56.660 [TCE:VERB] Connection to MUXS closed in state -1
2021-01-25 18:37:56.660 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
2021-01-25 18:38:06.664 [AIO:XDEB] [3] ws_connecting state=1
2021-01-25 18:38:06.664 [AIO:XDEB] [3] ws_connecting state=2
2021-01-25 18:38:06.665 [TCE:INFO] Connecting to INFOS: ws://127.0.0.1:3001
2021-01-25 18:38:06.684 [AIO:XDEB] [3] ws_connecting state=3
2021-01-25 18:38:06.684 [AIO:XDEB] [3|WS] > {“router”:“80:0:a000:946”}
2021-01-25 18:38:06.686 [AIO:XDEB] [3|WS] < {“router”:“0080:0000:a000:0946”,“muxs”:“0080:0000:a000:0946”,“uri”:“ws://127.0.0.1:3001/gateway/00800000a0000946”}
2021-01-25 18:38:06.687 [TCE:INFO] Infos: 0080:0000:a000:0946 0080:0000:a000:0946 ws://127.0.0.1:3001/gateway/00800000a0000946
2021-01-25 18:38:06.687 [AIO:DEBU] [3] ws_close reason=1000
2021-01-25 18:38:06.687 [AIO:XDEB] [3] ws_closing_w state=5
2021-01-25 18:38:06.687 [AIO:DEBU] Echoing close - reason=1000
2021-01-25 18:38:06.691 [AIO:ERRO] Recv failed: NET - Connection was reset by peer
2021-01-25 18:38:06.691 [AIO:DEBU] [3] WS connection shutdown…
2021-01-25 18:38:06.693 [AIO:XDEB] [3] ws_connecting state=1
2021-01-25 18:38:06.693 [AIO:XDEB] [3] ws_connecting state=2
2021-01-25 18:38:06.694 [TCE:VERB] Connecting to MUXS…
2021-01-25 18:38:06.702 [AIO:XDEB] [3] ws_connecting state=3
2021-01-25 18:38:06.702 [TCE:VERB] Connected to MUXS.
2021-01-25 18:38:06.702 [AIO:XDEB] [3|WS] > {“msgtype”:“version”,“station”:“2.0.5(mlinux/std)”,“firmware”:null,“package”:null,“model”:“mlinux”,“protocol”:2,“features”:“rmtsh prod”}
2021-01-25 18:38:06.723 [AIO:XDEB] [3|WS] < {“msgtype”:“router_config”,“NetID”:null,“JoinEui”:null,“region”:“EU863”,“hwspec”:“sx1301/0”,“freq_range”:[863000000,870000000],“DRs”:[[12,125,0],[11,125,0],[10,125,0],[9,125,0],[8,125,0],[7,125,0],[7,250,0],[0,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0],[-1,0,0]],“sx1301_conf”:[]}
2021-01-25 18:38:06.723 [RAL:ERRO] Unsupported hwspec=sx1301/0
2021-01-25 18:38:06.723 [any:ERRO] Closing connection to muxs - error in s2e_onMsg
2021-01-25 18:38:06.723 [AIO:DEBU] [3] ws_close reason=1000
2021-01-25 18:38:06.723 [AIO:XDEB] [3] ws_closing_w state=5
2021-01-25 18:38:06.723 [AIO:DEBU] Echoing close - reason=1000
2021-01-25 18:38:06.738 [AIO:DEBU] [3|WS] Server sent close: reason=1000
2021-01-25 18:38:06.738 [AIO:DEBU] [3] WS connection shutdown…
2021-01-25 18:38:06.739 [TCE:VERB] Connection to MUXS closed in state -1
2021-01-25 18:38:06.739 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
…
-
URI: ws://127.0.0.1:3001
-
chirpstack-gateway-bridge:
# This configuration provides a Semtech UDP packet-forwarder backend and
# integrates with a MQTT broker. Many options and defaults have been omitted
# for simplicity.
#
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
# configuration example and documentation.
[general]
# debug=5, info=4, warning=3, error=2, fatal=1, panic=0
log_level=5
# Log to syslog.
#
# When set to true, log messages are being written to syslog.
log_to_syslog=true
# Gateway backend configuration.
[backend]
# Backend type.
type=“basic_station”
# Semtech UDP packet-forwarder backend.
[backend.semtech_udp]
# ip:port to bind the UDP listener to
#
# Example: 0.0.0.0:1700 to listen on port 1700 for all network interfaces.
# This is the listener to which the packet-forwarder forwards its data
# so make sure the ‘serv_port_up’ and ‘serv_port_down’ from your
# packet-forwarder matches this port.
udp_bind = “0.0.0.0:1700”
# Basic Station backend.
[backend.basic_station]
# ip:port to bind the Websocket listener to.
bind=":3001"
# TLS certificate and key files.
#
# When set, the websocket listener will use TLS to secure the connections
# between the gateways and ChirpStack Gateway Bridge (optional).
#tls_cert="/var/config/chirpstack-gateway-bridge/server.crt"
#tls_key="/var/config/chirpstack-gateway-bridge/server.key"
# TLS CA certificate.
#
# When configured, ChirpStack Gateway Bridge will validate that the client
# certificate of the gateway has been signed by this CA certificate.
#ca_cert="/var/config/chirpstack-gateway-bridge/ca.crt"
# Integration configuration.
[integration]
# Payload marshaler.
#
# This defines how the MQTT payloads are encoded. Valid options are:
# protobuf: Protobuf encoding
# json: JSON encoding (easier for debugging, but less compact than ‘protobuf’)
marshaler=“json”
# MQTT integration configuration.
[integration.mqtt]
# Event topic template.
event_topic_template=“gateway/{{ .GatewayID }}/event/{{ .EventType }}”
# Command topic template.
command_topic_template=“gateway/{{ .GatewayID }}/command/#”
# MQTT authentication.
[integration.mqtt.auth]
# Type defines the MQTT authentication type to use.
#
# Set this to the name of one of the sections below.
type=“generic”
# Generic MQTT authentication.
[integration.mqtt.auth.generic]
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
server="tcp://192.168.2.12:1883"
#server="ws://127.0.0.1:1883"
# Connect with the given username (optional)
username=""
# Connect with the given password (optional)
password=""
# Region.
#
# Please refer to the LoRaWAN Regional Parameters specification
# for the complete list of common region names.
region=“US915”
# Minimal frequency (Hz).
frequency_min=902000000
# Maximum frequency (Hz).
frequency_max=928000000
- Chirpstack-network-server
[network_server.band]
# LoRaWAN band to use.
#
# Valid values are:
# AS923
# AU915
# CN470
# CN779
# EU433
# EU868
# IN865
# KR920
# RU864
# US915
name=“US915”
…
# Max mac-command error count.
#
# When a mac-command is nACKed for more than the configured value, then the
# ChirpStack Network Server will stop sending this mac-command to the device.
# This setting prevents that the Network Server will keep sending mac-commands
# on every downlink in case of a malfunctioning device.
max_mac_command_error_count=3
# Enable only a given sub-set of channels
#
# Use this when ony a sub-set of the by default enabled channels are being
# used. For example when only using the first 8 channels of the US band.
# Note: when left blank, all channels will be enabled.
#
# For the US band, there are 64 125kHz channels (0-63) with 8 500kHz
# channels (65-71) with frequencies in the middle of each
# sub-band of 125kHz channels.
# Most US LoRa gateways recieve on only one sub-band which consists of
# 8 125kHz channels and 1 500 kHz channel
#
# Example: (sub-band 1)
enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7, 64]
# Exmaple: (sub-band 2)
#enabled_uplink_channels=[8, 9, 10, 11, 12, 13, 14, 15, 65]
#enabled_uplink_channels=[]
=======================
Not sure why I am getting: “region”:“EU863” from the chirpstack-gateway-bridge? or chirpstack-network-server instead of configured as: US915?
Thanks,
BT