I have send Device join request to loraserver and received gateway/+/tx message was successfully but still web interface shows device not activated
LoraServer Log
Lora App Server Log
Web interface
Please help me
I have send Device join request to loraserver and received gateway/+/tx message was successfully but still web interface shows device not activated
LoraServer Log
Lora App Server Log
Web interface
Please help me
Please send an uplink frame after the OTAA activation was accepted and check again.
I have send uplink frame but i get error while sending uplink frames
Uplink Frame:
{“phyPayload”:“QOKLkQCAAAABAQIDBAUGOoO6hA==”,“rxInfo”:{“channel”:0,“codeRate”:“4/5”,“crcStatus”:1,“dataRate”:{“bandwidth”:500,“modulation”:“LORA”,“spreadFactor”:8,“bitrate”:0},“frequency”:902300000,“loRaSNR”:7,“mac”:“b827ebfffeb13d1f”,“rfChain”:1,“rssi”:-57,“size”:23,“time”:“2018-07-18T10:36:27+01:00”,“timestamp”:1531906587}}
LoraServer Log
Can you please help?
Thanks
{“phyPayload”:“QOKLkQCAAAABAQIDBAUGOoO6hA==”,“rxInfo”:{“channel”:0,“codeRate”:“4/5”,“crcStatus”:1,“dataRate”:{“bandwidth”:500,“modulation”:“LORA”,“spreadFactor”:8,“bitrate”:0},“frequency”:902300000,“loRaSNR”:7,“mac”:“b827ebfffeb13d1f”,“rfChain”:1,“rssi”:-57,“size”:23,“time”:“2018-07-18T10:36:27+01:00”,“timestamp”:1531906587}}
Are you simulating the uplinks? 2018-07-18
is a long time ago and as the error suggest, it seems the data-rate is invalid.
I change data-rate in uplink message but still i got error while sending uplink message
{‘phyPayload’:‘QHHc2PMgAAABU6qLItShJ9p/’,‘rxInfo’:{‘channel’:0,‘codeRate’:‘4/5’,‘crcStatus’:1,‘dataRate’:{‘bandwidth’:500,‘modulation’:‘LORA’,‘spreadFactor’:8,‘bitrate’:0},‘frequency’:868300000,‘loRaSNR’:7,‘mac’:‘0102030405060708’,‘rfChain’:1,‘rssi’:-57,‘size’:23,‘time’:2018-10-02T10:22:10,‘timestamp’:1531906587}}
LoraServer Error Log
time=“2018-10-02T10:22:10+05:30” level=info msg=“backend/gateway: uplink frame received”
time=“2018-10-02T10:22:10+05:30” level=error msg=“backend/gateway: unmarshal uplink frame error” data_base64=eydwaHlQYXlsb2FkJzonUUhIYzJQTWdBQUFCVTZxTEl0U2hKOXAvJywncnhJbmZvJzp7J2NoYW5uZWwnOjAsJ2NvZGVSYXRlJzonNC81JywnY3JjU3RhdHVzJzoxLCdkYXRhUmF0ZSc6eydiYW5kd2lkdGgnOjUwMCwnbW9kdWxhdGlvbic6J0xPUkEnLCdzcHJlYWRGYWN0b3InOjgsJ2JpdHJhdGUnOjB9LCdmcmVxdWVuY3knOjg2ODMwMDAwMCwnbG9SYVNOUic6NywnbWFjJzonMDEwMjAzMDQwNTA2MDcwOCcsJ3JmQ2hhaW4nOjEsJ3Jzc2knOi01Nywnc2l6ZSc6MjMsJ3RpbWUnOjIwMTgtMTAtMDJUMTA6MjI6MTAsJ3RpbWVzdGFtcCc6MTUzMTkwNjU4N319 error=“unexpected EOF”
Can you please help me?
Thanks
I change data-rate in uplink message still got same error
{“phyPayload”:“QJw6agAgAAABk1XB7Wp5pnrW”,“rxInfo”:{“channel”:0,“codeRate”:“4/5”,“crcStatus”:1,“dataRate”:{“bandwidth”:500,“modulation”:“LORA”,“spreadFactor”:8,“bitrate”:0},“frequency”:868300000,“loRaSNR”:7,“mac”:“0102030405060708”,“rfChain”:1,“rssi”:-57,“size”:23,“time”:“2018-10-02T11:21:00+02:00”,“timestamp”:1531906587}}
TOPIC: gateway/0101010101010101/rx
Error:
time=“2018-10-02T11:21:27+05:30” level=info msg=“backend/gateway: uplink frame received”
time=“2018-10-02T11:21:27+05:30” level=error msg=“processing uplink frame error” data_base64=QJw6agAgAAABk1XB7Wp5pnrW error=“get data-rate index error: lorawan/band: data-rate not found”
My question was, are you trying to simulate uplink frames or are these coming from your packet-forwarder? I expect these are simulated messages. As the error suggests, the data-rate index can’t be found. Please refer to the LoRaWAN specification / LoRaWAN Regional Parameters specification so see what the valid data-rate / dataRate
values are for your region.
Hello @brocaar
While i send uplink message after join request i was getting below error
LoraServer Log
time=“2018-10-03T11:59:33+05:30” level=info msg=“backend/gateway: uplink frame received”
time=“2018-10-03T11:59:33+05:30” level=error msg=“processing uplink frame error” data_base64=QPQf7ACAAQBQkVmz2DSjUeusUWJN error=“get device-session error: device-session does not exist or invalid fcnt or mic”
Please help
I can’t support you in this. Simulating devices adds a lot of extra complexity to the mix. That is why I recommended you earlier in a different topic to start with a real gateway and device. As this topic only has to do with issues introduces by simulation errors, I’m going to close this topic.