Hello, @Clement @shuangcai_huang @lcer93 @Bnjroos
Anyone can help me for simulation message of device join
Join Request Payload
gateway/48b4866ad7b06b20/rx: {"phyPayload":"AAAAAAAAAAAA4J3O73Hi6w0CEie8sdw=","rxInfo":{"board":0,"antenna":0,"channel":2,"codeRate":"4/5","crcStatus":1,"dataRate":{"bandwidth":125,"modulation":"LORA","spreadFactor":12},"frequency":869525000,"loRaSNR":7,"mac":"48b4866ad7b06b20","rfChain":1,"rssi": -57,"size":23,"time":"2018-10-16T16:24:00.222434Z","timestamp":3036224484}}
gateway/48b4866ad7b06b20/tx : {"token":45812,"txInfo":{"mac":"48b4866ad7b06b20","immediately":false,"timestamp":3041224484,"frequency":869525000,"power":14,"dataRate":{"modulation":"LORA","spreadFactor":12,"bandwidth":125},"codeRate":"4/5","iPol":true,"board":0,"antenna":0},"phyPayload":"ICkFg+QuoPiouhpFcihHK6s="}
LoraServer Logs
time="2018-10-17T11:19:11+05:30" level=info msg="gateway/mqtt: uplink frame received"
time="2018-10-17T11:19:11+05:30" level=info msg="packet(s) collected" dev_eui=0debe271efce9de0 gw_count=1 gw_ids=48b4866ad7b06b20 mtype=JoinRequest
time="2018-10-17T11:19:11+05:30" level=info msg="device-queue flushed" dev_eui=0debe271efce9de0
time="2018-10-17T11:19:11+05:30" level=info msg="device-session saved" dev_addr=0157e777 dev_eui=0debe271efce9de0
time="2018-10-17T11:19:11+05:30" level=info msg="device-activation created" dev_eui=0debe271efce9de0 id=32
time="2018-10-17T11:19:11+05:30" level=info msg="gateway/mqtt: publishing downlink frame" qos=0 topic=gateway/48b4866ad7b06b20/tx
time="2018-10-17T11:19:11+05:30" level=info msg="downlink-frames saved" dev_eui=0debe271efce9de0 token=45812
Lora App Server Log
time="2018-10-17T11:19:11+05:30" level=info msg="js: request received" message_type=JoinReq receiver_id=0000000000000000 sender_id=000000 transaction_id=4044979917
time="2018-10-17T11:19:11+05:30" level=info msg="device-keys updated" dev_eui=0debe271efce9de0
time="2018-10-17T11:19:11+05:30" level=info msg="js: sending response" message_type=JoinAns receiver_id=000000 result_code=Success sender_id=0000000000000000 transaction_id=4044979917
First payload
gateway/48b4866ad7b06b20/rx : {"phyPayload":"QNLjGAEgAwEBdGVzdO7u7u4=","rxInfo":{"board":0,"antenna":0,"channel":1,"codeRate":"4/5", "crcStatus": 1,"dataRate":{"bandwidth":125,"modulation":"LORA","spreadFactor":12,"bitrate":0},"frequency":868300000,"loRaSnr":7,"mac":"48b4866ad7b06b20","rfChain":1,"rssi":-57,"size":23,"time":"2018-10-17T10:42:13+05:30","timestamp":1539772933}}
LoraServer logs shows invalid fcnt or mic
time="2018-10-17T11:22:51+05:30" level=info msg="gateway/mqtt: uplink frame received"
time="2018-10-17T11:22:52+05:30" level=error msg="processing uplink frame error" data_base64="QNLjGAEgAwEBdGVzdO7u7u4=" error="get device-session error: device-session does not exist or invalid fcnt or mic"
I am trying to Join Device.
Anyone can help me please for simulation message…
Thanks