go away spammer

Author Topic: Arduino Wifi Shield TCP Connection  (Read 2521 times)

0 Members and 1 Guest are viewing this topic.

Offline vitalik53Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Arduino Wifi Shield TCP Connection
« 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.


 


Get Your Ad Here