go_away

Author Topic: Arduino Wifi Shield TCP Connection  (Read 429 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.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
16851 Views
Last post May 13, 2009, 10:24:31 PM
by Ro-Bot-X
6 Replies
1355 Views
Last post June 26, 2009, 06:31:20 AM
by Metal Slug 2
1 Replies
1609 Views
Last post June 24, 2012, 06:28:34 AM
by omkar
0 Replies
319 Views
Last post January 26, 2013, 03:25:22 PM
by vitalik53


Get Your Ad Here