CNMAT / OSC

OSC: Arduino and Teensy implementation of OSC encoding
cnmat.berkeley.edu/oscuino
Other
727 stars 135 forks source link

Add OSCMessage::getAddressLength() #128

Closed h4yn0nnym0u5e closed 10 months ago

h4yn0nnym0u5e commented 2 years ago

Having used the library a bit it seems that OSCMessage::getAddressLength() is pretty much vital, otherwise you have no way to use the getAddress() functions safely.

Everything else is a minor tidy-up, really.

OSCMessage.cpp, .h - added function; made other address functions a bit safer SLIPEncodedUSBSerial.cpp, .h - add more Teensy serial-capable options to the conditional compile keywords.txt - add some missing keywords; change some from KEYWORD1 to KEYWORD2

h4yn0nnym0u5e commented 2 years ago

OK, this is now officially URGENT, folks. Reception of booleans has been borked forever, by the looks of it. I've copied the fix szekelyisz put in his PR, for my own use, but a bit of Proper Maintenance is clearly needed here.