Skip to content

Promiscuous mode prevent to send UDP packet #3816

Closed
@fralomb

Description

@fralomb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions