Hello, I’m new to this topic and I’m trying to do some testing with TTN. I made a test gateway with RPI3 + Dragino Lora Shiel v1.3 with the package single_chan_pkt_fwd (https://github.com/tftelkamp/single_chan_pkt_fwd) but I have several different conditions that cause me doubts and cause errors during the tests.
First of all, the Dragino Lora Shield cards work at 915Mhz (this is the frequency authorized and used in my country). Second, I do not know what the TTN server/port I should configure (I understand it is australia: router.au.thethings.network:1700), but I try it and it never appears connected, although apparently it seems to work fine because it is always updating state.
Finally, I do not understand which SF to use (spreading factor), in the example code used they use SF7 but I understand according to what I see that for this frequency must be modified, but I do not know that other portions of the code should also be modified.
These are the messages on the console:
pi@raspberrypi:~/lorawan_gateway/single_chan_pkt_fwd $ sudo ./single_chan_pkt_fwd
SX1276 detected, starting.
Gateway ID: b8:27:eb:ff:ff:53:d6:fd
Listening at SF7 on 915.100000 Mhz.
stat update: {“stat”:{“time”:“2017-03-11 22:06:22 GMT”,“lati”:6.23802,“long”:-75.60986,“alti”:1567,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Test Gateway",“mail”:"dlalvarez@hotmail.com”,“desc”:“Test Gateway”}}
Packet RSSI: -123, RSSI: -121, SNR: -12, Length: 86
rxpk update: {“rxpk”:[{“tmst”:2985016905,“chan”:0,“rfch”:0,“freq”:915.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:-12,“rssi”:-123,“size”:86,“data”:“5E+gX5Kf+Y30hEzF/AueRtBuzC4+CGEueUeZ8JegHzUXs8cBda09hfZ8xI6uc8DN6FEZ/CD3U2+6YHH0PpPe3kuV4R6OBDbeb6dSpeIz0PBKGFPTwI4=”}]}
stat update: {“stat”:{“time”:“2017-03-11 22:06:52 GMT”,“lati”:6.23802,“long”:-75.60986,“alti”:1567,“rxnb”:1,“rxok”:1,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Test Gateway",“mail”:"dlalvarez@hotmail.com”,“desc”:“Test Gateway”}}
stat update: {“stat”:{“time”:“2017-03-11 22:07:22 GMT”,“lati”:6.23802,“long”:-75.60986,“alti”:1567,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Test Gateway",“mail”:"dlalvarez@hotmail.com”,“desc”:“Test Gateway”}}
stat update: {“stat”:{“time”:“2017-03-11 22:07:52 GMT”,“lati”:6.23802,“long”:-75.60986,“alti”:1567,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Test Gateway",“mail”:"dlalvarez@hotmail.com”,“desc”:“Test Gateway”}}
Thank you very much if you can help me to clear all these doubts and could be solved so that the gateway can work without problems to finish my tests successfully.