problem receiving OSC (Oscuino + UIP ethernet )


hi everybody

i'am working on project using arduino , osc.
i bought shield enc28j60 , installed library uip ethernet, on arduino mega.
i used library oscuino, , changed header file in order work uip library, , "simple send example" works !

i want receive osc message send max, , ... doesn't work.

using serial debbuging code, packet received,  sizeb = 20, bundle has no error, bundlein.size()=0.    and unable read bundle. means osc message not interpreted should ? there probleme of compatibility between oscuino , uip )
code: [select]

void loop(){
   oscbundle bundlein;
  int sizeb;
 
  if( (sizeb = udp.parsepacket())>0)
  {    
     
     while(sizeb--)
      bundlein.fill(udp.read());

     if(!bundlein.haserror() ){
       serial.println("size of bundle: ");
       serial.print(bundlein.size());
       
    ...


thanks

no problem have done it.
however code bad. first off have 1 equals sign in if statement.
then create new variable , use in if statement without assigning value.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > problem receiving OSC (Oscuino + UIP ethernet )


arduino

Comments

Popular posts from this blog

Authentication error while password reset - Raspberry Pi Forums

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums