Description
Description
Basically i want to enable the promiscuous mode on the nodeMCU and sometimes send some UDP packets in the network to a remote server. I've tried a simple example in which the module (after having made the connection to the router) sends these UDP packets to the server and on the other side the server receives them correctly. But if i enable the promiscuous mode, by registering the callback through the wifi_set_promiscuous_rx_cb(..) function, then my UDP server no longer receives any packet from the ESP module. Moreover, by monitoring the network traffic with Wireshark no UDP packet actually does not pass any packets.
The callback registered for sniffing the packets simply ignore packets that are not a "Probe Request", but i'm wondering how this is related with the send of an UDP packet, that is connectionless and so it is not expected the reception of any kind of message. I'm a bit confused, someone can help me?
Hardware
Hardware: ESP-12E
Core Version: 2.3.0
Settings in IDE
Module: NodeMCU 1.0 (ESP-12E module)
Flash Size: 4MB
CPU Frequency: 80Mhz
Upload Using: SERIAL