Struct wfm_frame_t¶
A frame's bit layout: [preamble × reps | sync | payload | crc] .More...
#include <wfm_frame.h>
Public Attributes¶
| Type | Name |
|---|---|
| int | crc |
| wfm_seq_t | payload |
| wfm_seq_t | preamble |
| size_t | preamble_reps |
| wfm_seq_t | sync |
Detailed Description¶
The preamble sits OUTSIDE the sync/payload/CRC group, matching the DSSS contract this generalises: it is unmodulated, it is not covered by the CRC, and in the spread case it is not spread. It is the coherent-integration target.
This is a configuration of wfm_frame_desc_t — four fields and one stage — not a second descriptor. wfm_frame_layout builds it through wfm_frame_describe and reads the general layout back, so there is one implementation of the arithmetic and the two cannot drift.
Public Attributes Documentation¶
variable crc¶
non-zero: CRC-16-CCITT over the payload, MSB-first
variable payload¶
variable preamble¶
len 0 = none
variable preamble_reps¶
repetitions of preamble; 0 = none
variable sync¶
len 0 = unsynced — BER then needs an external alignment
The documentation for this class was generated from the following file native/inc/wfm/wfm_frame.h