LoRa Arduino Library Code

Hello,

I am using Dragino gateway (LG01-P). I tried to read sensor data to serial monitor using Arduino library example LoRa_Receive and was successful.
Then I uploaded single_pkt_fwd code from same library, but now it has some problem in parsing packets. packetsize in “int packetSize = LoRa.parsePacket();” is always zero.
But interestingly, in LoRa_Receive example, I get proper packet size and data.

And as this packet forwarder is not working, I am not able to see any data on TTN-application/device/data. (Gateway status is connected in TTN Console.)

Did anyone had same or similar issue? What can be done to address this issue?

Thanks in advance.

Please see https://forum.loraserver.io/search?q=LG01-P.

Also, when using TTN, you might want to post your question on the TTN forum: https://www.thethingsnetwork.org/forum.