esp_ieee802154_receive_done() function
Below are the events generated by IEEE 802.15.4 subsystem, which are in ISR context * A Frame was received.
Arguments
frame
The point to the received frame, frame format: |-----------------------------------------------------------------------| | Len | MHR | MAC Payload (no FCS) | |-----------------------------------------------------------------------|
frame_info
More information of the received frame, refer to esp_ieee802154_frame_info_t.
Notes
User must call the function `esp_ieee802154_receive_handle_done()` to notify 802.15.4 driver after the received frame is handled. During receiving, the hardware calculates the FCS of the received frame, and may drop it if the FCS doesn't match, only the valid frames will be received and notified by esp_ieee802154_receive_done(). Please note that the FCS field is replaced by RSSI and LQI value of the received frame.
esp_ieee802154_receive_done() calls 4 functions:
![]()
esp_ieee802154_receive_done()
esp_ieee802154_receive_done() reads 1 variable:
![]()
esp_ieee802154_receive_done()