Handling EU868 and US915 same time

Hi!
I have loraserver that works fine with EU868 devices.
Trying to handle US915 devices via separate gateway gives me following packet-forwarder log:

JSON up: {"rxpk":[{"tmst":47965148,"chan":2,"rfch":0,"freq":904.300000,"stat":1,"modu":"LORA","datr":"SF10                                                                                                   BW125","codr":"4/5","lsnr":-14.8,"rssi":-96,"size":23,"data":"AAEBAQEBAQEBDXk2bTgxNDYu9oHplJ8="}]}
INFO: [up] PUSH_ACK received in 41 ms
INFO: [down] PULL_ACK received in 36 ms
INFO: [down] PULL_RESP received  - token[47:24] :)

JSON down: {"txpk":{"imme":false,"tmst":52965148,"freq":904.3,"rfch":0,"powe":14,"modu":"LORA","datr":"SF1                                                                                                   0BW125","codr":"4/5","ipol":true,"size":17,"data":"IOhiZmRP/nBfJBXlJhDb2LE=","brd":0,"ant":0}}
ERROR: Packet REJECTED, unsupported frequency - 904300000 (min:923000000,max:928000000)
INFO: [down] PULL_RESP received  - token[47:24] :)

JSON down: {"txpk":{"imme":false,"tmst":53965148,"freq":869.525,"rfch":0,"powe":14,"modu":"LORA","datr":"S                                                                                                   F12BW125","codr":"4/5","ipol":true,"size":17,"data":"IOhiZmRP/nBfJBXlJhDb2LE=","brd":0,"ant":0}}
ERROR: Packet REJECTED, unsupported frequency - 869525000 (min:923000000,max:928000000)

So I checked global_conf.json (it was taken from TTN’s github) and saw following:

"tx_freq_min": 923000000,
"tx_freq_max": 928000000

After changing tx_freq_min to 902000000 the error is gone but JOIN procedure doesn’t occure. I think there is because loraserver tries to TX on 904300000.

Joining with TTN works fine with following logs:

JSON up: {"rxpk":[{"tmst":416639844,"chan":1,"rfch":0,"freq":904.100000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":11.5,"rssi":-33,"size":23,"data":"AAb3ANB+1bNwDXk2bTgxNDZo0Ozv/Ug="}]}
INFO: [down] PULL_ACK received in 189 ms
INFO: [down] PULL_RESP received  - token[9:156] :)

JSON down: {"txpk":{"imme":false,"tmst":421639844,"freq":923.9,"rfch":0,"powe":20,"modu":"LORA","datr":"SF10BW500","codr":"4/5","ipol":true,"size":17,"ncrc":true,"data":"INXcOfsp90FA7WFSy0ut/9U="}}
INFO: tx_start_delay=1497 (1497.000000) - (1497, bw_delay=0.000000, notch_delay=0.000000)
Info: packet will be sent without CRC

Searching on forum found this topic:


Changing [network_server.band] to US_902_928 and restarting loraserver service maid successful JOIN procedure.
Now I want to handle EU868 and US915 end nodes same time using loraserver.
I have loraserver, lora-app-server and other services running in docker containers. Does it possible to run two loraserver services (one for EU868 and second for US915) both communicating with same lora-app-server with pointing EU868 gateways to port 1700 and US915 to port 1701 for example?

You cannot. You must set up one loraserver per region/band.

Yes, one lora-app-server to two loraservers would work fine. You would want to run two gateway bridges on different ports (or different IPs), as you’ve noted.

1 Like