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:
+1
-1
@@ -11,7 +11,7 @@
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
namespace app::driver::llcc68 {
|
||||
constexpr size_t MAX_BUFFER_PAYLOAD = 128;
|
||||
constexpr size_t MAX_BUFFER_PAYLOAD = CONFIG_LLCC68_MAX_PAYLOAD_LENGTH;
|
||||
constexpr uint32_t TIMEOUT_NONE = 0;
|
||||
constexpr uint32_t TIMEOUT_INF = 0xffffffff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user