Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lora hat dragino problems #31

Open
zhapwey opened this issue Jun 9, 2020 · 0 comments
Open

lora hat dragino problems #31

zhapwey opened this issue Jun 9, 2020 · 0 comments

Comments

@zhapwey
Copy link

zhapwey commented Jun 9, 2020

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": "[email protected]",
"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 ([email protected])
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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant