Run the board and i will see the message 'UPLINK FRAME #XX' in SX1276MB1LAS.
It then sends data from the packet_forwarder on Linux to the TTN.
Data is well received through TTN's Gateway and Applications consoles.
NUCLEO-L152RE
###### ===== ClassA demo application v1.0.RC1 ==== ######
DevEui : 33-35-33-34-5B-37-69-07
AppEui : 00-00-00-00-00-00-00-00
AppKey : 2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C
###### ===== JOINED ==== ######
ABP
DevAddr : XXXXXXXX
NwkSKey : XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
AppSKey : XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
###### ===== MCPS-Request ==== ######
STATUS : OK
###### ===== MCPS-Confirm ==== ######
STATUS : OK
###### ===== UPLINK FRAME 1 ==== ######
CLASS : A
TX PORT : 2
TX DATA : UNCONFIRMED
00
DATA RATE : DR_0
U/L FREQ : 922500000
TX POWER : 0
CHANNEL MASK: 0007
lora_pkt_fwd
Note: LoRa packet
INFO: Received pkt from mote: 26041625 (fcnt=1)
INFO: Received pkt from mote: 26041625 (fcnt=1)
JSON up: {"rxpk":[{"tmst":928880900,"chan":5,"rfch":1,"freq":923.100000,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","lsnr":1.8,"rssi":-83,"size":14,"data":"QCUWBCaAAQACeANRl+g="},{"tmst":928880908,"chan":2,"rfch":0,"freq":922.500000,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","lsnr":8.0,"rssi":-5,"size":14,"data":"QCUWBCaAAQACeANRl+g="}]}
INFO: [down] PULL_RESP received - token[56:102] :)
TTN Gateway console
TTN Applications console
UPLINK works well.
However, DOWNLINK data sent from TTN's Applications console is not received through LoRaMac-node.
Data is checked up to lora_pkt_fwd.
However, there is no log related to DOWNLINK in the logs of LoRaMac-node.
DOWNLINK Test
TTN Applications console
TTN Gateway console
packey_forward
INFO: [up] PUSH_ACK received in 78 ms
INFO: [down] PULL_RESP received - token[6:231] :)
JSON down: {"txpk":{"imme":false,"tmst":1563262276,"freq":921.9,"rfch":0,"powe":23,"modu":"LORA","datr":"SF12BW125","codr":"4/5","ipol":true,"size":33,"ncrc":true,"data":"YCUWBCaFVgADQX8AAQEZP8Ndsdm0VGqCrevZHuhY23Us"}}
INFO: Disabling GPS mode for concentrator's counter...
INFO: host/sx1301 time offset=(948723110s:627998μs) - drift=624μs
INFO: Enabling GPS mode for concentrator's counter.
NUCLEO-L152RE
There is no log related to DOWNLINK anywhere.
Version used
LoRaMac-node: v4.4.2
lora_gateway: v5.0.1
packey_forwarder: v4.0.1
Is there anything else I need to do to receive DOWNLINK data?
Or is it a bug in the current release?
I'm sorry I do not have enough English. :)
Thank you.
I have a NUCLEO-L152RE and SX1276MB1LAS. And I am running
lora_pkt_fwd
in Linux environment.I am testing ClassA with LoRaMac-node, but data of DOWNLINK is not received. The current version is
v4.4.2
.Build
cmake is shown below.
UPLINK Test
Run the board and i will see the message 'UPLINK FRAME #XX' in SX1276MB1LAS. It then sends data from the packet_forwarder on Linux to the TTN. Data is well received through TTN's Gateway and Applications consoles.
NUCLEO-L152RE
lora_pkt_fwd
TTN Gateway console
TTN Applications console
UPLINK works well. However, DOWNLINK data sent from TTN's Applications console is not received through LoRaMac-node. Data is checked up to lora_pkt_fwd. However, there is no log related to DOWNLINK in the logs of LoRaMac-node.
DOWNLINK Test
TTN Applications console
TTN Gateway console
packey_forward
NUCLEO-L152RE
Version used LoRaMac-node:
v4.4.2
lora_gateway:v5.0.1
packey_forwarder:v4.0.1
Is there anything else I need to do to receive DOWNLINK data? Or is it a bug in the current release?
I'm sorry I do not have enough English. :) Thank you.