Open zhapwey opened 4 years ago
hello:
I tested its development with a raspberry pi 3 and a dragino for raspberry shield and I couldn't get it to work.
Following your instructions change the fie global_colnf.json { "SX127x_conf": { "freq": 868100000, "freq_2": 868300000, "spread_factor": 7, "pin_nss": 6, "pin_dio0": 7, "pin_rst": 0 }, "gateway_conf": { "ref_latitude": 0.0, "ref_longitude": 0.0, "ref_altitude": 10,
"name": "your name", "email": "a@b.c", "desc": "Dual channel pkt forwarder", "interface": "wlan0", "servers": [ { "address": "router.eu.staging.thethings.network", "port": 1700, "enabled": true }, { "address": "router.eu.thethings.network", "port": 1700, "enabled": false } ]
} }
But it returns an error
Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Unrecognized transceiver: Success Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: server: .address = router.eu.staging.thethings.network; .port = 1700; .enable = 1 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: server: .address = router.eu.thethings.network; .port = 1700; .enable = 0 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Gateway Configuration Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: your name (a@b.c) Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Dual channel pkt forwarder Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Latitude=0.00000000 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Longitude=0.00000000 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Altitude=10 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Interface: wlan0 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Trying to detect module CE0 with NSS=6 DIO0=7 Reset=0 Led1=unused Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Transceiver version 0x00 Jun 09 01:07:00 lora systemd[1]: dual_chan_pkt_fwd.service: Main process exited, code=exited, status=1/FAILURE Jun 09 01:07:00 lora systemd[1]: dual_chan_pkt_fwd.service: Failed with result 'exit-code'.
hello:
I tested its development with a raspberry pi 3 and a dragino for raspberry shield and I couldn't get it to work.
Following your instructions change the fie global_colnf.json { "SX127x_conf": { "freq": 868100000, "freq_2": 868300000, "spread_factor": 7, "pin_nss": 6, "pin_dio0": 7, "pin_rst": 0 }, "gateway_conf": { "ref_latitude": 0.0, "ref_longitude": 0.0, "ref_altitude": 10,
} }
But it returns an error
Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Unrecognized transceiver: Success Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: server: .address = router.eu.staging.thethings.network; .port = 1700; .enable = 1 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: server: .address = router.eu.thethings.network; .port = 1700; .enable = 0 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Gateway Configuration Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: your name (a@b.c) Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Dual channel pkt forwarder Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Latitude=0.00000000 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Longitude=0.00000000 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Altitude=10 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Interface: wlan0 Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Trying to detect module CE0 with NSS=6 DIO0=7 Reset=0 Led1=unused Jun 09 01:07:00 lora dual_chan_pkt_fwd[867]: Transceiver version 0x00 Jun 09 01:07:00 lora systemd[1]: dual_chan_pkt_fwd.service: Main process exited, code=exited, status=1/FAILURE Jun 09 01:07:00 lora systemd[1]: dual_chan_pkt_fwd.service: Failed with result 'exit-code'.