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.
any advice out there?
The answer is about ten posts under yours!
Siska Adams has released a beta version of objects for handling raw UDP data that work really well for me and I was getting the same message.
I think the fullpacket mode on udpreceive is still using an OSC format so that won’t supply the data you want.
ha awesome. thanks scatalogic. will report back with success/failure.
C74 RSS Feed | © Copyright Cycling '74