sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.6k stars 621 forks source link

lora packet buffer issue and crc algorithm #679

Open TA2SVS opened 5 months ago

TA2SVS commented 5 months ago

Hello, I have a problem with the lora package limit. I am using LORA e22600t22d. The package limit is 240 bytes. The package sizes I will send are very large compared to the package limit. Packages are approximately 400 bytes. I am using Esp 32 wroom devkit. I will fragment the data and reassemble it at the remote point. But sometimes incorrect data occurs. Could you please share an example CRC verification algorithm and code? Thank you so much for everything.

qiweimao commented 3 weeks ago

I'm interested in crc as well, will experiment this week.

I have an implementation of chucked packets and reassemble scheme here named lora_file_transfer.cpp: link.