What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

huang.yan
Posts: 17
Joined: Thu Apr 09, 2020 12:26 pm

What's the diffrence between WIFI_PROTOCOL_LR and WIFI_PROTOCOL_11N?

Postby huang.yan » Tue Aug 17, 2021 9:45 am

Does WIFI_PROTOCOL_LR capture more data than WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N?


ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

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

Postby ESP_Minatel » 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
Screenshot from 2021-08-17 17-41-18.png (61.14 KiB) Viewed 9506 times

huang.yan
Posts: 17
Joined: Thu Apr 09, 2020 12:26 pm

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

Postby huang.yan » Wed Aug 18, 2021 4:07 am

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);
Last edited by huang.yan on Wed Aug 18, 2021 4:09 am, edited 1 time in total.

huang.yan
Posts: 17
Joined: Thu Apr 09, 2020 12:26 pm

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

Postby huang.yan » Wed Aug 18, 2021 4:08 am

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

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

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

Postby ESP_Minatel » Wed Aug 18, 2021 9:10 am

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.

Who is online

Users browsing this forum: No registered users and 107 guests