M5Unit-RF433 0.1.0 git rev:5415b86
Loading...
Searching...
No Matches
m5::unit::UnitSYN531R::config_t Struct Reference

Settings for begin. More...

#include <unit_SYN531R.hpp>

Public Attributes

uint8_t max_payload_size
 

Detailed Description

Settings for begin.

Member Data Documentation

◆ max_payload_size

uint8_t m5::unit::UnitSYN531R::config_t::max_payload_size
Initial value:
{
23
}

Maximum receivable payload size in bytes

Note
Default is a conservative value safe for most environments. Theoretical max is rf433::MaxPayloadSize per platform, but AGC noise from the SYN531R receiver consumes RMT memory, reducing the practical limit. Exceeding the hardware capacity may cause data loss (ESP32) or crash (ESP32-S3). Increase at your own risk after testing in your environment.
Practical safe defaults (tested): ESP32/ESP32-S3=23, RMT v2(ESP-IDF 5.x)=255
Warning
When communicating between RMT v1 and v2 devices, the transmitter's payload must not exceed the receiver's limit. The v1 RX capacity varies with AGC noise conditions. Test in your actual environment to determine the reliable maximum for your setup.