Knowledge Base
HOME » KNOWLEDGE BASE » FORUM

Time-on-air formula

On page 40 in the SX126x datasheet (V1.2) it is stated in Figure 6-2 and in the text ("The header is transmitted with maximum error correction code (4/8).") that the header uses a fixed coding rate. To my understanding, the payload is transmitted with a user defined coding rate (4/5, 4/6, 4/7, or 4/8). As far as I understand, the coding rate has an influence on the time-on-air of a packet. In the time-on-air formula (p. 41) I don't see where these facts are taken into account. As far as I can see, both N_byte_payload and N_sysmbol_header are multiplied by the same (user-defined) coding rate factor (CR+4). To my understanding, the header (N_byte_payload) should be multiplied by a different (fixed) coding rate factor (4+4).

I also think that the name of the variable "N_symbol_header" is misleading. In my opinion the value has to be provided in number of bits not as a number of symbols. The rest of the numerator in the formula on p. 41 appears to be in bits too (bytes*8 or variables directly provided as number of bits).