Page 1 of 1

ESP32 LR mode default PHY rate for ESP-now packets

Posted: Sat Nov 06, 2021 8:33 pm
by romanlh
I am sending ESP-NOW packets between two ESP32 boards.
I also setup promiscuous callback to see RSSI. In wifi_promiscuous_pkt_t ppkt->rx_ctrl.rate I can see PHY rate of each packet.

I am not calling esp_wifi_internal_set_fix_rate().
In normal mode, I see ppkt->rx_ctrl.rate = 0 which I suppose is WIFI_PHY_RATE_1M_L default rate for ESP-NOW packets.

But in LR mode I see ppkt->rx_ctrl.rate = 25 (0x19) which is WIFI_PHY_RATE_MCS1_SGI. Why?
Shouldn't it be WIFI_PHY_RATE_LORA_250K = 0x29 ?