fix(ieee802154): set rx_when_idle to false when Rx stop

This commit is contained in:
Tan Yan Quan
2025-07-09 14:56:12 +08:00
parent f01806f2b8
commit e451e5566e

View File

@@ -773,6 +773,7 @@ static int process_rx(int argc, char **argv)
if (rx_args.receive->count == 1) {
if (rx_args.receive->ival[0] == 0) {
esp_ieee802154_sleep();
esp_ieee802154_set_rx_when_idle(false);
ESP_LOGI(TAG, "radio exit receive mode");
} else if (rx_args.receive->ival[0] == 1) { // receive, non-blocking
ESP_LOGI(TAG, "RX Start");