esp32: promisc mode or monitor mode?

mattismyo
Posts: 29
Joined: Sat Jun 10, 2017 6:56 am

esp32: promisc mode or monitor mode?

Postby mattismyo » Sat Jun 10, 2017 7:02 am

Obviously i can use the promisc mode to capture traffic, even when this traffic doesn't 'goes threw' the esp 32 ( = the esp32 is not connected to this network). I was wondering because i learned, that the promiscuous mode is for capturing traffic, but the device has to be connected with this network. For capturing traffic of a network which i'm not connected to, i need the monitor mode.
So in 'my opinion', the esp32 has the monitor mode. Why is there always the speech of promisc mode ( eg https://github.com/espressif/esp-idf/bl ... esp_wifi.h ). Or did i get something wrong with promiscuous- and monitor mode?

mattismyo
Posts: 29
Joined: Sat Jun 10, 2017 6:56 am

Re: esp32: promisc mode or monitor mode?

Postby mattismyo » Tue Jun 13, 2017 10:25 am

Noone?

dsiganos
Posts: 5
Joined: Sat Jun 17, 2017 9:21 pm

Re: esp32: promisc mode or monitor mode?

Postby dsiganos » Tue Jun 20, 2017 8:45 pm

Do you mean that you want to connect to a wifi AP, stay connected, and also get all packets in promiscuous mode?
I am trying to do that and I find that when I call

Code: Select all

esp_wifi_set_promiscuous(1);
the wifi connection is dropped.

It behaves as if, it abandons the managed station mode and goes into monitor mode, losing the wifi connection in the process. Is that what you are trying to say as well?

Who is online

Users browsing this forum: Baidu [Spider] and 63 guests