I got it working perfectly now. It is actually really easy. this is how to split the data[4096] (function Handler):
just fill this fill this in under the bytesRead = .....
int count = 0;
while (count != (4096-32)/bytes) {
buffer[count] = data[count*bytes+32];
count++;
}
replace 'buffer' with your receiving buffer and replace bytes with the storage in bytes from the type of buffer you sent.
so if you send a char *, bytes = 1. if you send a unsigned short, bytes = 2.
I do not want to only send a char at a time, but like padnoter does it in his game.
(I used the example code to see, how he does it

)
He always sends something like this:
*S*104*456*342*543*0*1
In this line he says first, what has to be done (if I remember right, S was for moving) then the coordinates and at least, the animation of the sprite (this has not to be exactly right).
So I need to split this sting at the *s...
My code at this moment is to go to all the chars and look.
If it's a * go to the next variable to fill, else read this char into a temp variable.
(I believe there has to be sth. better)
when i go into debug mode and press y then my ds goes off

That's the sence of the y-button
