| Make your first character in the string a byte number. Then depending on this number, the rest of the packet will contain different meaning of info. 
 
 
pa$ = received packet
if asc(mid$(pa$,1,1)) = 1 then
    ;read data as positional data
elseif asc(mid$(pa$,1,1)) = 2 then
    ;read data as rotational data
end if
 I would send all the rotational and positional data in the one packet. It means that if you receive a positional update packet then you lose a rotational packet update, you might have more trouble, than if you lose it all. Hope that helps a little :)
 
 
 |