HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
344 stars 108 forks source link

Maximum message length #64

Open sut2 opened 3 years ago

sut2 commented 3 years ago

I'm trying to send large LORA-messages (directly from node to node) for testing reasons (not operational) with

#define RF_FREQUENCY 868000000 // Hz #define TX_OUTPUT_POWER 15 // dBm #define LORA_BANDWIDTH 1 // [0: 250kHz, #define LORA_SPREADING_FACTOR 7 // [SF7..SF12] #define LORA_CODINGRATE 1 // [1: 4/5, #define LORA_PREAMBLE_LENGTH 0 // Same for Tx and Rx #define LORA_SYMBOL_TIMEOUT 0 // Symbols #define LORA_FIX_LENGTH_PAYLOAD_ON false #define LORA_IQ_INVERSION_ON false #define RX_TIMEOUT_VALUE 1000 #define BUFFER_SIZE 300 // Define the payload size here

However the ESP stops receiving packets bigger than 64 chars and starts receiving again the first letters, after the packet size is greater than 256.

Is there a bufferlimit or something else, which cause an receiving stop at bigger packets than 64 chars?

Thanks