I’m cooking up a project (on a tight deadline, of course) and here is what is up. We are using an Arduino Mega + Async_Labs WiShield to transmit analog sensor data wirelessly to a variety of sources. I’m using Max to implement whatever noise control and data scaling in real time so we are not constantly booting new code to the Arduino.
However (of course), Max isn’t happy with the UDP info coming from the WiShield, mostly b/c [udpreceive]+[udpsend] so strongly prefer OSC-style strings. SO, what I’m looking for is if anyone has experience with the WiShield and/or getting unfriendly formats of UDP data to cooperate with Max (or vice versa).
Here are the errors I’m getting:
udpreceive: OSC packet size (3) not a multiple of 4 bytes: dropping
and here’s the raw print of what’s actually coming in:
FullPacket 3 475154480
and the 1st int after "FullPacket" shuffles b/w 1, 2, and 3 unrelated to our sensor articulation.