Software > Software

Arduino Wifi Shield TCP Connection

(1/1)

vitalik53:
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.

Navigation

[0] Message Index

Go to full version