The pointer to the frame, the frame format: |-----------------------------------------------------------------------| | Len | MHR | MAC Payload | FCS | |-----------------------------------------------------------------------|
cca
Perform CCA before transmission if it's true, otherwise transmit the frame directly.
Return value
- ESP_OK on success. - ESP_ERR_INVALID_ARG on an invalid frame. - ESP_FAIL on failure due to invalid state.
Notes
During transmission, the hardware calculates the FCS, and send it over the air right after the MAC payload, so you just need to prepare the length, mac header and mac payload content.
Examples
esp_ieee802154_transmit() is referenced by 1 libraries and example projects: