I can’t use Gateway Bridge + basic station now, because basic station disconnecting from bridge and restarting after receiving router-config message from bridge (I’m test latest 3.4.1 version and old 3.1.0 without JoinEUI filters).
Can anybody help me?
Related info:
Hi,
I’ve been having a play to see if I can get basics station working with the lora gateway bridge, but have run into some issues.
I’m currently running the station and gateway bridge on a rpi as a test, the station examples/live-s2.sm.tc works and connects and using package forwarder the gateway bridge work with my lora server setup.
But when using station, it exits with a invalid pointer when started like station --home /opt/semtech/basicatation:
station --version
Station: 2.0.3(rpi/std) …
cmr
November 18, 2019, 2:52pm
#2
I also get the same problem. Is there a way to run the gateway bridge so it doesn’t define the JoinEui field as described in the Basic Station issue ? I’ve tried not to set filters.join_euis and set it to an empty array but in both case the Basic Station reports a 10 entries JoinEui list (in the startup log) and crashes.
I’m running ChirpStack from the offical docker repository (CSGB 3.4.1) (with compose) and Basic Station 2.0.3.
Empty join_euis config:
/etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
join_euis=[
]
./chirpstack-gateway-bridge configfile
join_euis=[
[“0000000000000000”, "ffffffffffffffff
]
Basic station report :
JoinEui list: 10 entries
Not set join_euis config:
/etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
join_euis not set
./chirpstack-gateway-bridge configfile
join_euis=[
[“0000000000000000”, “ffffffffffffffff”],
]
Basic station report :
JoinEui list: 10 entries
Basic station log
2019-11-18 14:43:04.709 [SYS:INFO] Logging : stderr (maxsize=10000000, rotate=3)
2019-11-18 14:43:04.710 [SYS:INFO] Station Ver : 2.0.3(lorix/std) 2019-11-17 23:13:35
2019-11-18 14:43:04.711 [SYS:INFO] Package Ver : (null)
2019-11-18 14:43:04.711 [SYS:INFO] proto EUI : my-proto-eui (/sys/class/net/eth0/address)
2019-11-18 14:43:04.711 [SYS:INFO] prefix EUI : ::1 (builtin)
2019-11-18 14:43:04.711 [SYS:INFO] Station EUI : my-gw-eui
2019-11-18 14:43:04.711 [SYS:INFO] Station home: ./ (builtin)
2019-11-18 14:43:04.711 [SYS:INFO] Station temp: /var/tmp/ (builtin)
2019-11-18 14:43:04.711 [SYS:WARN] Station in NO-CUPS mode
2019-11-18 14:43:04.913 [TCE:INFO] Starting TC engine
2019-11-18 14:43:04.919 [TCE:INFO] Connecting to INFOS: ws://my-ip-address:3001
2019-11-18 14:43:04.927 [TCE:INFO] Infos: my-gw-eui my-gw-eui ws://my-ip-address:3001/gateway/my-gw-eui
2019-11-18 14:43:04.927 [AIO:DEBU] [3] ws_close reason=1000
2019-11-18 14:43:04.927 [AIO:DEBU] [3] Connection closed unexpectedly
2019-11-18 14:43:04.927 [AIO:DEBU] [3] WS connection shutdown...
2019-11-18 14:43:04.932 [TCE:VERB] Connecting to MUXS...
2019-11-18 14:43:04.936 [TCE:VERB] Connected to MUXS.
2019-11-18 14:43:04.995 [RAL:INFO] Lora gateway library version: Version: 5.0.1;
2019-11-18 14:43:04.995 [RAL:DEBU] SX1301 txlut table (0 entries)
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 rxrfchain 0: enable=1 freq=868500000 rssi_offset=-166.000000 type=2 tx_enable=1 tx_notch_freq=0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 rxrfchain 1: enable=0 freq=0 rssi_offset=-166.000000 type=2 tx_enable=0 tx_notch_freq=0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 0: enable=1 rf_chain=0 freq=-400000 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 1: enable=1 rf_chain=0 freq=-200000 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 2: enable=1 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 3: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 4: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 5: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 6: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 7: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 8: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 ifchain 9: enable=0 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
2019-11-18 14:43:04.995 [RAL:VERB] SX1301 LBT not enabled
2019-11-18 14:43:04.995 [RAL:INFO] Station device: /dev/spidev0.0 (PPS capture disabled)
2019-11-18 14:43:07.903 [S2E:INFO] Configuring for region: EU863 -- 863.0MHz..870.0MHz
2019-11-18 14:43:07.903 [S2E:VERB] DR0 SF12/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR1 SF11/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR2 SF10/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR3 SF9/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR4 SF8/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR5 SF7/BW125
2019-11-18 14:43:07.903 [S2E:VERB] DR6 SF7/BW250
2019-11-18 14:43:07.903 [S2E:VERB] DR7 FSK
2019-11-18 14:43:07.903 [S2E:VERB] DR8 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR9 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR10 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR11 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR12 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR13 undefined
2019-11-18 14:43:07.903 [S2E:VERB] DR14 undefined
2019-11-18 14:43:07.904 [S2E:VERB] DR15 undefined
2019-11-18 14:43:07.904 [S2E:VERB] TX power: 16.0 dBm EIRP
2019-11-18 14:43:07.904 [S2E:VERB] 27.0 dBm EIRP for 869.4MHz..869.65MHz
2019-11-18 14:43:07.904 [S2E:VERB] JoinEui list: 10 entries
2019-11-18 14:43:07.904 [S2E:VERB] NetID filter: 00000001-00000001-00000001-00000001
2019-11-18 14:43:07.904 [S2E:VERB] Dev/test settings: nocca=0 nodc=0 nodwell=0
2019-11-18 14:43:49.911 [SYN:INFO] MCU/SX1301 drift stats: min: -0.5ppm q50: 1.4ppm q80: 3.3ppm max: -6.7ppm - threshold q90: 6.7ppm
2019-11-18 14:43:49.912 [SYN:INFO] Avg MCU drift vs SX1301#0: 1.0ppm
2019-11-18 14:44:04.936 [AIO:WARN] [3] Ignoring WS ping/pong message
2019-11-18 14:44:08.814 [SYN:INFO] Time sync qualities: min=108 q90=137 max=151 (previous q90=2147483647)
2019-11-18 14:44:09.940 [AIO:DEBU] [3] Connection closed unexpectedly
2019-11-18 14:44:09.940 [AIO:DEBU] [3] WS connection shutdown...
2019-11-18 14:44:09.941 [TCE:VERB] Connection to MUXS closed in state 4
2019-11-18 14:44:09.941 [TCE:INFO] MUXS reconnect backoff 1s (retry 0)
free(): invalid pointer
Aborted