一个节点设备,用RAK831+loraserver.io,可以Join成功。 但用RAK833,就是一直Join失败。


(duwenyong) #1

如题
淘宝上买的一个节点设备,服务器ubuntu+loraserver.io
OTAA入网,用RAK831可以Join成功,但用RAK833,就是一直Join失败。
RAK833和RAK831的配置文件global_conf.json是一样的,频段486.3~487.7MHz,local_conf.json除了gateway_ID不同,其他参数也一样的。
下面是通过AT指令发给是节点设备的回复
+FDEFAULT: OK
+ID: AppEui, 70:B3:D5:7E:D0:01:82:F2
+DR: CN470
+RXWIN2: 505300000,DR0
+CH: NUM, 0-7
+CH: 0,487100000,DR0:DR5
+CH: 1,487300000,DR0:DR5
+CH: 2,487500000,DR0:DR5
+CH: 3,487700000,DR0:DR5
+CH: 4,486300000,DR0:DR5
+CH: 5,486500000,DR0:DR5
+CH: 6,486700000,DR0:DR5
+CH: 7,486900000,DR0:DR5
+POWER: 14
+ADR: ON
+KEY: APPKEY CD05DF79ED8C14D1CC6EEF3B5E09CD39
+CLASS: A
+MODE: LWOTAA
+JOIN: Start
+JOIN: NORMAL
+JOIN: Join failed
+JOIN: Done

下面ARM上跑RAK833输出 log

INFO: Received pkt from mote: D00182F2 (fcnt=46037)

INFO: Received pkt from mote: D00182F2 (fcnt=46037)

JSON up: {“rxpk”:[{“tmst”:10547460,“chan”:1,“rfch”:1,“freq”:487.300000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-9.5,“rssi”:-93,“size”:23,“data”:“APKCAdB+1bNwJAAmAEi9+kfAMOjZemQ=”},{“tmst”:10547460,“chan”:0,“rfch”:1,“freq”:487.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:12.0,“rssi”:-35,“size”:23,“data”:“APKCAdB+1bNwJAAmAEi9+kfAMOjZemQ=”}]}
INFO: [up] PUSH_ACK received in 0 ms
INFO: [down] PULL_RESP received - token[198:52] :slight_smile:

JSON down: {“txpk”:{“imme”:false,“tmst”:15547460,“freq”:507.5,“rfch”:0,“powe”:14,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“ipol”:true,“size”:17,“data”:“IDD6FWKUeeBjge/vlzkEmbA=”,“brd”:0,“ant”:0}}
INFO: [down] PULL_ACK received in 0 ms
INFO: tx_start_delay=1495 (1495.500000) - (1497, bw_delay=1.500000, notch_delay=0.000000)
INFO: [down] PULL_ACK received in 0 ms
INFO: [down] PULL_ACK received in 0 ms
INFO: [down] PULL_ACK received in 0 ms
INFO: [down] PULL_ACK received in 0 ms

下面是lora-gateway-bridge输出的
INFO[0006] backend: subscribing to topic qos=0 topic=gateway/a84312fffec13d4f/tx
INFO[0006] backend: subscribing to topic qos=0 topic=gateway/a84312fffec13d4f/config
mac=a84312fffec13d4frxpk packet received addr=“127.0.0.1:55971” data=“APKCAdB+1bNwJAAmAEi9+kfAMOjZemQ=”
mac=a84312fffec13d4frxpk packet received addr=“127.0.0.1:55971” data=“APKCAdB+1bNwJAAmAEi9+kfAMOjZemQ=”
INFO[0013] backend: publishing packet qos=0 topic=gateway/a84312fffec13d4f/rx
INFO[0013] backend: publishing packet qos=0 topic=gateway/a84312fffec13d4f/rx
INFO[0013] backend: downlink packet received topic=gateway/a84312fffec13d4f/tx
INFO[0013] backend: publishing packet qos=0 topic=gateway/a84312fffec13d4f/ack


(duwenyong) #2

下面是通过AT指令发给是节点一个节点设备
image
下面是ARM上跑RAK833输出 log
image


(Steven Tang) #3

你好 ,你的那个购买的套餐以及模组上的标签需要首先确认的是否是CN470 的硬件,请确认下。


(duwenyong) #4

这个肯定是啦,再次确认了,HF: 470MHz


(Steven Tang) #5

配套833 测试的主控是什么的? ARM? 什么操作系统?


(duwenyong) #6

ARM v7的,跑linux-3.18!!!!!!!!!!!!


(Fei) #7

Rxpk 接收到了两个频点的数据包,487.3和487.1, 这个是信号旁瓣造成的,真正的信号应该是487.1,信号在-30 左右, 同一个数据包, 服务器收到了两次,有时候判断下行就行出错, 所以建议把距离拉远,或者拿到天线测试