Clarification needed for RADIOLIB_CC1101_MAX_PACKET_LENGTH and RADIOLIB_CC1101_PACKET_LENGTH. #1347
Labels
documentation
Issue related to documentation only
resolved
Issue was resolved (e.g. bug fixed, or feature implemented)
Hi,
I would like some clarification. In modules/CC1101/CC1101.h there is a constant (line 11):
#define RADIOLIB_CC1101_MAX_PACKET_LENGTH 63
(I suspect that it is the maximum size of a packet, I suspect also that this value includes the preamble). However, later in the file, (line 95), there is another definition:
#define RADIOLIB_CC1101_PACKET_LENGTH 0xFF // 7 0 packet length in bytes
So I do not know how to interpret these values:
RADIOLIB_CC1101_PACKET_LENGTH>RADIOLIB_CC1101_MAX_PACKET_LENGTH
(I do not know also, if it is a RadioLib limitation or a physical limit of the c1101 module).In the example (https://github.com/jgromes/RadioLib/blob/master/examples/CC1101/CC1101_Transmit_Interrupt/CC1101_Transmit_Interrupt.ino), it is also confusing. Line 75, it is written:
But later, line 118:
who should I believe? Can I send more than 63 or 64 bytes in a packet?
Thank you
The text was updated successfully, but these errors were encountered: