However, I'm seeing a strange behavior where the message is sent by the transmitter, received by the receiver, but the library indicates that there was an error in the transmission because only the failure callback is called (esp_ieee802154_transmit_failed). Rarely do I see anything reaching the callback indicating that the transmission was successful (esp_ieee802154_transmit_done). The error message is always the same, indicating that the ACK was not received (ack was set to auto).
The transmitter and receiver code are available in this repository: https://github.com/marcelobarrosufu/dem ... /tree/main
The implementation is in the file https://github.com/marcelobarrosufu/dem ... ee802154.c
The initial radio configuration was as follows (function ieee802154_init):
Code: Select all
esp_ieee802154_set_ack_timeout(12*16);
esp_ieee802154_set_promiscuous(false);
esp_ieee802154_set_rx_when_idle(true);
esp_ieee802154_set_coordinator(false);
esp_ieee802154_receive();
I would like to know if there is anything being handled incorrectly and how to work around this situation.
Thanks,
Marcelo