feat(llcc68): make payload limit configurable
Add CONFIG_LLCC68_MAX_PAYLOAD_LENGTH with a default of 128 bytes and a hardware-bounded range of 1..255. Wire both the C++ and raw C LLCC68 payload buffer constants to the Kconfig value so application builds can tune radio buffer RAM without editing headers. Rename the fixed-length 100k preset from GMSK to GFSK and expose rx_bandwidth_hz() next to the GfskRxBandwidth enum so applications can report configured bandwidth without carrying driver-specific lookup tables.
This commit is contained in:
@@ -14,6 +14,17 @@ config LLCC68_INIT_PRIORITY
|
||||
The priority of the LLCC68 initialization. Lower numbers indicate
|
||||
higher priority.
|
||||
|
||||
config LLCC68_MAX_PAYLOAD_LENGTH
|
||||
int "LLCC68 maximum payload length"
|
||||
default 128
|
||||
range 1 255
|
||||
help
|
||||
Maximum radio payload length accepted by the LLCC68 driver.
|
||||
|
||||
The LLCC68 packet length fields support up to 255 bytes. Keep this
|
||||
lower when the application has a known payload ceiling to reduce RAM
|
||||
used by the driver's SPI staging buffers.
|
||||
|
||||
config LLCC68_ALWAYS_USE_SX1262_HIGH_PA
|
||||
bool "LLCC68 Always Use SX1262 High Power Amplifier"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user