Society of Robots - Robot Forum

Software => Software => Topic started by: vitalik53 on January 26, 2013, 03:35:06 AM

Title: Arduino Wifi Shield TCP Connection
Post by: vitalik53 on January 26, 2013, 03:35:06 AM
I'm using the CuHead Wifi Shield on an Arduino Uno and sending data from a client to the shield server, however my tcp packet strings are being cut off, is there a way i can increase the packet size?, i'm using the wishield.h library. The client is a processing sketch that receives data from touchOSC app on my phone and send via TCP to the Wifi Shield. I'm Using the OscP5 and processing.net libraries on the processing sketch, here's some code below for the fader:

    if(addr.equals("/1/fader/1")==true || addr.equals("/1/fader/2")==true)
    {
      float val=theMessage.get(0).floatValue();
      final_val=(val+"<");
     
      myClient.write(addr+"-"+final_val);
     
    }

thank you in advance for any help.