Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By gavspav
#57890 I'm finding it hard to get this working.
I tried this library https://github.com/CNMAT/OSC/tree/master/examples
The board received messages I'm sending but the bundle.despatch feature doesn't seem to work.

I read that this library doesn't work with ESP8266 - confusing as the sketch is called ESP8266receivebundle so I tried this fork https://github.com/sandeepmistry/esp8266-OSC but that doesn't seem to have the receive by wifi sketch.

Has anyone had any wifi OSC action working?

Or is there a better option for wifi communication?
User avatar
By Luke Fold
#69718 Arent both the libraries above the same? the one reported with the issue, and the one reported as working well?

I'm having exactly the same issue with the bundle.dispatch not executing- any help most appreciated!

Cheers

~Fold
User avatar
By gbafamily1
#69723 I have received OSC messages from Processing but have never seen bundles work.

Code: Select allvoid loop() {
  OSCMessage msg;
  int size = Udp.parsePacket();

  if (size > 0) {
    while (size--) {
      msg.fill(Udp.read());
    }
    if (!msg.hasError()) {
      msg.dispatch("/led", led);
    } else {
      error = msg.getError();
      Serial.print("error: ");
      Serial.println(error);
    }
  }
}