Skip to content

No multicast UDP packets are received when I2S is active #6876

@JPMJPM

Description

@JPMJPM

Hi,

I am using board "NodeMCU 1.0 (ESP-12E Module)" 2.6.2

Without i2s_begin(); there is not multicast UDP packet loss.
With i2s_begin(); no multicast UDP packets are received.

Any clue ?. Thanks.

Code :

WiFiUDP Udp;
IPAddress multicastIPaddress(224,1,1,3);
unsigned int localUdpPort = 6000;
char incomingPacket[1500];
int packetSize;

void setup() {
Udp.beginMulticast(WiFi.localIP(), multicastIPaddress, localUdpPort);
i2s_begin();
}

void loop() {
packetSize = Udp.parsePacket();
if (packetSize) {
int len = Udp.read(incomingPacket, packetSize);
Serial.printf("len = %d\n", len);
}
}

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