LoraWAN论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 6763|回复: 1
打印 上一主题 下一主题

搭建平台上送数据一次后AT指令就busy,后台报:get gateway er...

[复制链接]

1

主题

1

帖子

15

积分

新手上路

Rank: 1

积分
15
跳转到指定楼层
楼主
发表于 2020-3-25 15:46:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
正常往平台丢数据 平台里面报错 本次数据正常收到,再发数据就收不到
此时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
请大神帮我看下 这个是什么问题
回复

使用道具 举报

109

主题

472

帖子

5647

积分

论坛元老

Rank: 8Rank: 8

积分
5647
沙发
发表于 2020-3-25 17:25:53 | 只看该作者
"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/
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|LoraWAN论坛  

GMT+8, 2024-11-23 20:26 , Processed in 0.080853 second(s), 5 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表