Page 1 of 1

What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Tue Aug 17, 2021 9:45 am
by huang.yan
Does WIFI_PROTOCOL_LR capture more data than WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N?

Re: What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Tue Aug 17, 2021 4:16 pm
by WiFive

Re: What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Tue Aug 17, 2021 4:42 pm
by ESP_Minatel
Hi,

Can you make your question a little bit more specific?

For the Wi-Fi LR, please see: https://docs.espressif.com/projects/esp ... g-range-lr
Screenshot from 2021-08-17 17-41-18.png
Screenshot from 2021-08-17 17-41-18.png (61.14 KiB) Viewed 9111 times

Re: What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Wed Aug 18, 2021 4:07 am
by huang.yan
My application scenario is that esp32 works in promiscuous mode. I hope to catch as many packets as possible.Which is the better choice, B|G|N or LR or B|G|N|LR?

Code: Select all

esp_wifi_set_mode(WIFI_MODE_STA);

const uint8_t protocol = WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N;
// const uint8_t protocol = WIFI_PROTOCOL_LR; // long range mode
// const uint8_t protocol = WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N| WIFI_PROTOCOL_LR;
 
esp_wifi_set_protocol(WIFI_IF_STA, protocol);

Re: What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Wed Aug 18, 2021 4:08 am
by huang.yan
My application scenario is that esp32 works in promiscuous mode. I hope to catch as many packets as possible.Which is the better choice, B|G|N or LR or B|G|N|LR?

Code: Select all

esp_wifi_set_mode(WIFI_MODE_STA);

const uint8_t protocol = WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N;
// const uint8_t protocol = WIFI_PROTOCOL_LR; // long range mode
// const uint8_t protocol = WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N| WIFI_PROTOCOL_LR;
 
esp_wifi_set_protocol(WIFI_IF_STA, protocol);
ESP_Minatel wrote:
Tue Aug 17, 2021 4:42 pm
Hi,

Can you make your question a little bit more specific?

For the Wi-Fi LR, please see: https://docs.espressif.com/projects/esp ... g-range-lr

Screenshot from 2021-08-17 17-41-18.png

Re: What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Posted: Wed Aug 18, 2021 9:10 am
by ESP_Minatel
Hi,

I don't think you can use the Long Range for this application, since the LR mode is a proprietary mode any may not affect the reception sensitivity (for sniffer purpose).

In your application, the antenna is the only thing you should try to change in order to increase sensitivity. Antenna diversity is another option, but a little more complex to implement it.