LoraWAN论坛
标题: 搭建平台上送数据一次后AT指令就busy,后台报:get gateway er... [打印本页]
作者: motidd 时间: 2020-3-25 15:46
标题: 搭建平台上送数据一次后AT指令就busy,后台报:get gateway er...
正常往平台丢数据 平台里面报错 本次数据正常收到,再发数据就收不到
此时AT指令AT+RJN返回AT_BUSY_ERROR
applicationID:"3"applicationName:"rimelink_application_01"devEUI:"ff00022066000002"deviceName:"rimelink_demo_01"error:"js vm error: ReferenceError: 'Decode' is not defined"fCnt:6type:"CODEC"
此时loraserver.exe里面有错误 日志如下:
time="2020-03-25T14:23:57+08:00" level=info msg="gateway/mqtt: uplink frame received"
time="2020-03-25T14:23:57+08:00" level=error msg="get gateway error" error="get gateway error: object does not exist" gateway_id=54d0b4fffe11bf7c
time="2020-03-25T14:23:57+08:00" level=info msg="rx info sent to network-controller" dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=info msg="device gateway rx-info meta-data saved" dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=info msg="device-session saved" dev_addr=005642d1 dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=info msg="finished client unary call" grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=26.985 span.kind=client system=grpc
time="2020-03-25T14:23:57+08:00" level=info msg="pending mac-command block set" cid=LinkADRReq commands=6 dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=info msg="gateway/mqtt: publishing gateway command" command=down gateway_id=54d0b4fffe11bf7c qos=0 topic=gateway/54d0b4fffe11bf7c/command/down
time="2020-03-25T14:23:57+08:00" level=info msg="device-session saved" dev_addr=005642d1 dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=info msg="downlink-frames saved" dev_eui=ff00022066000002 token=22787
time="2020-03-25T14:23:57+08:00" level=info msg="backend/gateway: downlink tx acknowledgement received" gateway_id=54d0b4fffe11bf7c
lora-app-server.exe里面
time="2020-03-25T14:23:57+08:00" level=info msg="device updated" dev_eui=ff00022066000002
time="2020-03-25T14:23:57+08:00" level=error msg="decode payload error" application_id=3 codec=CUSTOM_JS dev_eui=ff00022066000002 error="js vm error: ReferenceError: 'Decode' is not defined" f_cnt=6 f_port=21
time="2020-03-25T14:23:57+08:00" level=info msg="integration/mqtt: publishing message" qos=0 topic=application/3/device/ff00022066000002/error
time="2020-03-25T14:23:57+08:00" level=warning msg="requested number of gateways does not match returned" expected=1 returned=0
time="2020-03-25T14:23:57+08:00" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=HandleUplinkData grpc.request.deadline="2020-03-25T14:23:58+08:00" grpc.service=as.ApplicationServerService grpc.start_time="2020-03-25T14:23:57+08:00" grpc.time_ms=21.985 peer.address="[::1]:11151" span.kind=server system=grpc
time="2020-03-25T14:23:57+08:00" level=info msg="integration/mqtt: publishing message" qos=0 topic=application/3/device/ff00022066000002/rx
lora-gateway-brige.exe里面
time="2020-03-25T14:23:57+08:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/54d0b4fffe11bf7c/event/up
time="2020-03-25T14:23:57+08:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/54d0b4fffe11bf7c/command/down
time="2020-03-25T14:23:57+08:00" level=info msg="integration/mqtt: publishing event" event=ack qos=0 topic=gateway/54d0b4fffe11bf7c/event/ack
请大神帮我看下 这个是什么问题
作者: BeyondDream 时间: 2020-3-25 17:25
"decode payload error" application_id=3 codec=CUSTOM_JS dev_eui=ff00022066000002 error="js vm error: ReferenceError: 'Decode' is not defined" f_cnt=6 f_port=21
从上面的语句看,应该是在 AS 添加一个解码功能,没有正确的解释代码。
去除这个功能就可以了,具体操作,可以查询:https://forum.chirpstack.io/
欢迎光临 LoraWAN论坛 (http://lora.timeddd.com/) |
Powered by Discuz! X3.3 |