support OSC-string

Dependents:   OSCtoCVConverter

Fork of OSC by Toby Harris

Revision:
5:5d585d5107da
Parent:
4:601f6a1141fb
Child:
6:a47004fb44f5
--- a/mbedOSC.h	Sat Jan 09 10:54:31 2016 +0000
+++ b/mbedOSC.h	Tue Feb 16 11:30:55 2016 +0000
@@ -59,12 +59,23 @@
         uint8_t     addressNum; // current number of addresses in the message (ex: "/ard/test" --> the number of the addresses is 2)
     
         char        typeTag[MAX_ARG];
-    
         void        *arg[MAX_ARG];
+        
+        typedef union
+        {
+            char * s;
+            int    i;
+            float  f;
+           double  d;
+           
+        } OSCArg;
+        
+        OSCArg args[MAX_ARG];
+        
         uint8_t     argNum;
     
         // Information about the connection:    
-        //uint8_t         ip[4];            
+        //uint8_t      ip[4];            
         //uint16_t     port;
         Host host;