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.