My ESP32 code calls esp_ieee802154_receive() and esp_ieee802154_set_rx_when_idle() prior to while(1) in main. In the while loop, esp_ieee802154_transmit() is called when a message needs to be sent to another device. That other device sends a response 802.15.4 message about 1 millisecond later and the ESP32 is not receiving the message. If the other device sends the response 802.15.4 message about 4 milliseconds later, the ESP32 does receive the message. The esp_ieee802154_receive_done() function is what I am using for verifying that a message was received.
Is there a way for the ESP32 to switch from tx mode to rx mode quickly enough to receive messages that arrive less than 1ms after a message is transmitted? If so what steps are needed to do this?
IEEE 802.15.4 Transceiver TX/RX
Re: IEEE 802.15.4 Transceiver TX/RX
Im Having problems with MY H2 receiving any packets. how are you pulling the *Frame parameter from ESP_ieee802154_Receive_done()?
when i look on my sniffer it sees an ACK is sent but if I look at the Frame [0] or make a for loop to dump alll that data i either get junk or all 00s and the "API" is dog poo with no explanation on how these functions are set up.
The transmit works fine i was able to make a sending program that is valid and other recivers will see the packets. for instance my Micro chip brand transceiver will get transmissions from the H2, but I am stuck with receive. very frustrating.
when i look on my sniffer it sees an ACK is sent but if I look at the Frame [0] or make a for loop to dump alll that data i either get junk or all 00s and the "API" is dog poo with no explanation on how these functions are set up.
The transmit works fine i was able to make a sending program that is valid and other recivers will see the packets. for instance my Micro chip brand transceiver will get transmissions from the H2, but I am stuck with receive. very frustrating.
Who is online
Users browsing this forum: ChatGPT-User and 2 guests