ESP32 LR mode default PHY rate for ESP-now packets

romanlh
Posts: 2
Joined: Fri Oct 15, 2021 10:27 pm

ESP32 LR mode default PHY rate for ESP-now packets

Postby romanlh » Sat Nov 06, 2021 8:33 pm

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 ?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 74 guests