SurferTim tnks for the replay
i think i found the problem,
first of all this is the code that im using
#include <SPI.h> // needed for Arduino versions later than 0018
#include <Ethernet.h>
#include <EthernetUdp.h> // UDP library from: bjoern@cs.stanford.edu 12/30/2008
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192, 168, 1, 250); // local ip
unsigned int localPort = 6002; // local port to listen on, not used on this sketc
IPAddress remote_ip(192, 168, 1, 255); // remote ip
unsigned int remote_port = 6002;
char ReplyBuffer[] = { 0x2F, 0x31, 0x2F, 0x66, 0x61, 0x64, 0x65, 0x72, 0x33, 0x00, 0x00, 0x00, 0x2C, 0x66, 0x00, 0x00, 0x3F, 0x20, 0x3E, 0x89 };
EthernetUDP Udp;
void setup() {
Ethernet.begin(mac,ip);
Udp.begin(localPort);
}
void loop() {
Udp.beginPacket(remote_ip, remote_port);
Udp.write(ReplyBuffer);
Udp.endPacket();
delay(1000);
}
That code its from the same image that i posted with VVVV, basicaly im sending a package from touch osc from an iphone, im capturing the data with wireshark, until here everything its fine,,,
then im converting that data to hex, and putting that into the arduino,
but here is the thing... check how the data came from the arduino back to the computer
im getting only 9 bytes of data, but im sending 20 bytes, so i get the firts 9 and why no the 10th ?
well if i look at the string, the 10th character its 00(in hex) , and acording to the ascci table thats null
http://www.columbia.edu/kermit/ascii.html
so i guess that the arduino enviroment its finishing my sentence there,,,, is there any other format to be able to send those ascci characters from arduino ?
